-// Generic
- virtual bool OnInit() { return FALSE; };
-
- // Create an application context
- virtual bool OnInitGui();
-
- // Called to set off the main loop
- virtual int OnRun() { return MainLoop(); };
- virtual int OnExit() { return 0; }
-
- inline void SetPrintMode(int mode) { m_printMode = mode; }
- inline int GetPrintMode() const { return m_printMode; }
-
- inline void SetExitOnFrameDelete(bool flag) { m_exitOnFrameDelete = flag; }
- inline bool GetExitOnFrameDelete() const { return m_exitOnFrameDelete; }