r328: *** empty log message ***
[ctsim.git] / src / docs.h
index 7b337bb891d5c049fcc3b0623ed17f4f9b5d9219..c1da82a23de7b0bd5acf39d48f7698c0a3e37183 100644 (file)
@@ -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.10 2001/01/02 05:34:57 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
 {
@@ -117,11 +117,13 @@ public:
        { return m_phantom; }
 
     virtual bool OnOpenDocument (const wxString& filename);
+    virtual bool OnSaveDocument (const wxString& filename);\r
     virtual bool OnCloseDocument ();
     virtual bool IsModified () const;
     virtual void Modify (bool mod);
 };
-
+\r
+\r
 class PlotFileDocument: public wxDocument
 {
     DECLARE_DYNAMIC_CLASS(PlotFileDocument)
@@ -146,7 +148,8 @@ public:
     PlotFile& getPlotFile ()\r
        { return m_plot; }\r
 \r
-    virtual bool OnOpenDocument (const wxString& filename);
+    virtual bool OnOpenDocument (const wxString& filename);\r
+    virtual bool OnSaveDocument (const wxString& filename);\r
     virtual bool OnCloseDocument ();
     virtual bool IsModified () const;
     virtual void Modify (bool mod);