r471: Fixed shutdown crash, added Revert
[ctsim.git] / src / ctsim.h
index 99b94b86ae6b8019fe0a111fdb940101c2efdf3b..a2b0b7fd87e2b4782db99d9e13bd157dd68c28af 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (c) 1983-2001 Kevin Rosenberg
 **
-**  $Id: ctsim.h,v 1.35 2001/01/29 23:11:32 kevin Exp $
+**  $Id: ctsim.h,v 1.36 2001/01/30 05:05:41 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
@@ -102,6 +102,8 @@ private:
   double m_dDefaultFilterInputScale;
   double m_dDefaultFilterOutputScale;
 
+  bool m_bShuttingDown;
+
 #if CTSIM_WINHELP
   wxWinHelpController      m_winHelp;
 #endif
@@ -161,6 +163,8 @@ public:
   void OnWindowMenu19 (wxCommandEvent& event);
   
   void DoWindowMenu (int iMenuPosition, wxCommandEvent& event);
+
+  bool getShuttingDown() const { return m_bShuttingDown; }
 };