X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=src%2Fdocs.h;h=116347ccdd2fe3198d5072d654b7eb68c1c2af9f;hb=c551b53b39a7571cf52831f5e117be1cca95c420;hp=5afcf63e469f23700677bb722c018c6427d280bc;hpb=89997e727ff5d4d8828f6fdaee435d809b623ffe;p=ctsim.git diff --git a/src/docs.h b/src/docs.h index 5afcf63..116347c 100644 --- a/src/docs.h +++ b/src/docs.h @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: docs.h,v 1.6 2000/12/19 21:37:51 kevin Exp $ +** $Id: docs.h,v 1.8 2000/12/22 04:18:00 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 @@ -37,7 +37,7 @@ #include "imagefile.h" #include "phantom.h" #include "projections.h" - +#include "plotfile.h" class ImageFileDocument: public wxDocument { @@ -121,7 +121,8 @@ public: virtual bool IsModified () const; virtual void Modify (bool mod); }; - + + class PlotFileDocument: public wxDocument { DECLARE_DYNAMIC_CLASS(PlotFileDocument) @@ -143,9 +144,9 @@ public: const PlotFile& getPlotFile () const { return m_plot; } - PlotFile& getPlot () - { return m_plot; } - + PlotFile& getPlotFile () + { return m_plot; } + virtual bool OnOpenDocument (const wxString& filename); virtual bool OnCloseDocument (); virtual bool IsModified () const;