** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: docs.h,v 1.9 2000/12/27 03:16:02 kevin Exp $
+** $Id: docs.h,v 1.11 2001/01/03 22:01:50 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
{ return m_phantom; }
virtual bool OnOpenDocument (const wxString& filename);
+ virtual bool OnSaveDocument (const wxString& filename);
virtual bool OnCloseDocument ();
virtual bool IsModified () const;
virtual void Modify (bool mod);
};
-\r
-\r
+
+
class PlotFileDocument: public wxDocument
{
DECLARE_DYNAMIC_CLASS(PlotFileDocument)
const PlotFile& getPlotFile () const
{ return m_plot; }
- PlotFile& getPlotFile ()\r
- { return m_plot; }\r
-\r
- virtual bool OnOpenDocument (const wxString& filename);\r
- virtual bool OnSaveDocument (const wxString& filename);\r
+ PlotFile& getPlotFile ()
+ { return m_plot; }
+
+ virtual bool OnOpenDocument (const wxString& filename);
+ virtual bool OnSaveDocument (const wxString& filename);
virtual bool OnCloseDocument ();
virtual bool IsModified () const;
virtual void Modify (bool mod);