X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fctsim.h;h=99b94b86ae6b8019fe0a111fdb940101c2efdf3b;hb=cbcb02ba9b76a82c9a09ce1c7712431bb215575a;hp=57ac4ad121df42a97e3b7cda1c9e59277672feed;hpb=a18f7b9629e21da7c33abc59718b5ab150f3e3d1;p=ctsim.git diff --git a/src/ctsim.h b/src/ctsim.h index 57ac4ad..99b94b8 100644 --- a/src/ctsim.h +++ b/src/ctsim.h @@ -7,9 +7,9 @@ ** Date Started: July 2000 ** ** This is part of the CTSim program -** Copyright (C) 1983-2000 Kevin Rosenberg +** Copyright (c) 1983-2001 Kevin Rosenberg ** -** $Id: ctsim.h,v 1.32 2001/01/26 23:23:00 kevin Exp $ +** $Id: ctsim.h,v 1.35 2001/01/29 23:11:32 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 @@ -84,8 +84,10 @@ private: DECLARE_CLASS(MainFrame) DECLARE_EVENT_TABLE() +#ifndef CTSIM_MDI wxMenu* m_pWindowMenu; - +#endif + enum { MAX_WINDOW_MENUITEMS = 20 }; wxMenuItem* m_apWindowMenuItems[MAX_WINDOW_MENUITEMS]; wxDocument* m_apWindowMenuData[MAX_WINDOW_MENUITEMS]; @@ -178,6 +180,7 @@ private: wxDocTemplate* m_pDocTemplPhantom; wxDocTemplate* m_pDocTemplPlot; wxDocTemplate* m_pDocTemplText; + TextFileDocument* m_pLogDoc; void usage (const char* program); @@ -201,9 +204,6 @@ public: void getCompatibleImages (const ImageFileDocument* pIFDoc, std::vector& vecIF); - bool getSetModifyNewDocs() const - { return true; } - void setIconForFrame (wxFrame* pFrame); wxConfig* getConfig() { return m_pConfig; } @@ -213,6 +213,7 @@ public: wxDocTemplate* getDocTemplPhantom() { return m_pDocTemplPhantom; } wxDocTemplate* getDocTemplPlot() { return m_pDocTemplPlot; } wxDocTemplate* getDocTemplText() { return m_pDocTemplText; } + TextFileDocument* getLogDoc() { return m_pLogDoc; } ProjectionFileDocument* newProjectionDoc(); ImageFileDocument* newImageDoc();