projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r327: Added textfile output
[ctsim.git]
/
src
/
docs.h
diff --git
a/src/docs.h
b/src/docs.h
index 5afcf63e469f23700677bb722c018c6427d280bc..3729ce4b7211809888fc4332bf760426338bdd77 100644
(file)
--- 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
**
** 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.
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
**
** 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 "imagefile.h"
#include "phantom.h"
#include "projections.h"
-
+#include "plotfile.h"
class ImageFileDocument: public wxDocument
{
class ImageFileDocument: public wxDocument
{
@@
-121,7
+121,8
@@
public:
virtual bool IsModified () const;
virtual void Modify (bool mod);
};
virtual bool IsModified () const;
virtual void Modify (bool mod);
};
-
+
\r
+
\r
class PlotFileDocument: public wxDocument
{
DECLARE_DYNAMIC_CLASS(PlotFileDocument)
class PlotFileDocument: public wxDocument
{
DECLARE_DYNAMIC_CLASS(PlotFileDocument)
@@
-143,10
+144,11
@@
public:
const PlotFile& getPlotFile () const
{ return m_plot; }
const PlotFile& getPlotFile () const
{ return m_plot; }
- PlotFile& getPlot ()
- { return m_plot; }
-
- virtual bool OnOpenDocument (const wxString& filename);
+ PlotFile& getPlotFile ()
\r
+ { return m_plot; }
\r
+
\r
+ 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);
virtual bool OnCloseDocument ();
virtual bool IsModified () const;
virtual void Modify (bool mod);