X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=include%2Fezplot.h;h=67c6e31306272acf0753bbd4cd22bf9d6d175db0;hp=31291bd617872d2b6c7c77313515fdb08306ff6c;hb=739e435359d44546dd812fff8c86b815a214d587;hpb=89997e727ff5d4d8828f6fdaee435d809b623ffe diff --git a/include/ezplot.h b/include/ezplot.h index 31291bd..67c6e31 100644 --- a/include/ezplot.h +++ b/include/ezplot.h @@ -7,7 +7,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: ezplot.h,v 1.18 2000/12/16 06:12:47 kevin Exp $ +** $Id: ezplot.h,v 1.19 2000/12/20 14:39:09 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -206,7 +206,7 @@ class EZPlot { void clearCurves (); - bool ezcmd (char *comm); + bool ezcmd (const char const *comm); bool do_cmd(int lx); void bad_option(char *opt); void initPlotSettings(); @@ -225,7 +225,8 @@ class EZPlot { EZPlot (SGP& sgp); ~EZPlot (); - int ezset (char *command); + bool ezset (const std::string& command); + bool ezset (const char const *command); void addCurve (const float* x, const double* y, int num); void addCurve (const double* x, const float* y, int num);