X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fdocs.h;h=3729ce4b7211809888fc4332bf760426338bdd77;hb=7ae47cb0ff0a16d1c36797576155263434cc73ff;hp=7b337bb891d5c049fcc3b0623ed17f4f9b5d9219;hpb=739e435359d44546dd812fff8c86b815a214d587;p=ctsim.git diff --git a/src/docs.h b/src/docs.h index 7b337bb..3729ce4 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.7 2000/12/20 14:39:09 kevin Exp $ +** $Id: docs.h,v 1.9 2000/12/27 03:16:02 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) @@ -146,7 +147,8 @@ public: PlotFile& getPlotFile () { return m_plot; } - virtual bool OnOpenDocument (const wxString& filename); + virtual bool OnOpenDocument (const wxString& filename); + virtual bool OnSaveDocument (const wxString& filename); virtual bool OnCloseDocument (); virtual bool IsModified () const; virtual void Modify (bool mod);