-private:
- wxDocManager* m_docManager;
- MainFrame* m_pFrame;
-
- void usage (const char* program);
-
- static struct option ctsimOptions[];
-
- enum { O_HELP, O_VERSION };
+ wxDocTemplate* getDocTemplImage() { return m_pDocTemplImage; }
+ wxDocTemplate* getDocTemplProjection() { return m_pDocTemplProjection; }
+ wxDocTemplate* getDocTemplPhantom() { return m_pDocTemplPhantom; }
+ wxDocTemplate* getDocTemplPlot() { return m_pDocTemplPlot; }
+ wxDocTemplate* getDocTemplText() { return m_pDocTemplText; }
+#if wxUSE_GLCANVAS
+ wxDocTemplate* getDocTemplGraph3d() { return m_pDocTemplGraph3d; }
+#endif
+ TextFileDocument* getLogDoc() { return m_pLogDoc; }
+
+ ProjectionFileDocument* newProjectionDoc();
+ ImageFileDocument* newImageDoc();
+ PhantomFileDocument* newPhantomDoc();
+ PlotFileDocument* newPlotDoc();
+ TextFileDocument* newTextDoc();
+#if wxUSE_GLCANVAS
+ Graph3dFileDocument* newGraph3dDoc();
+#endif