![]() |
TAPs 0.7.7.3
|
00001 /****************************************************************************** 00002 TAPsWXAppMain.hpp 00003 00004 WXAppMain (a subclass of class wxApp) is 00005 an Application Object ( equivalent to main() ) 00006 for a wxWidgets application. 00007 00008 SUKITTI PUNAK (05/05/2006) 00009 UPDATE (05/05/2006) 00010 ******************************************************************************/ 00011 #ifndef TAPs_WX_APP_MAIN_HPP 00012 #define TAPs_WX_APP_MAIN_HPP 00013 00014 //============================================================================= 00015 // ----------------------------------------------------------------------------- 00016 // resources 00017 // ----------------------------------------------------------------------------- 00018 // the application icon (under Windows and OS/2 it is in resources) 00019 #include <TAPs/wxWidgets/sample.xpm> 00020 // ----------------------------------------------------------------------------- 00021 //============================================================================= 00022 00023 //============================================================================= 00024 // for all others, include the necessary headers (this file is usually all you 00025 // need because it includes almost all "standard" wxWidgets headers) 00026 //#ifndef WX_PRECOMP 00027 // #include "wx/wx.h" 00028 //#endif 00029 #include <TAPs/Core/TAPsLib.hpp> 00030 #include <TAPs/wxWidgets/TApsWXEnumList.hpp> 00031 #include "wx/wx.h" 00032 #include "TAPsWXFrame.hpp" 00033 00034 BEGIN_NAMESPACE_TAPs 00035 //============================================================================= 00036 // Global Attributes 00037 //----------------------------------------------------------------------------- 00038 //MainGLFrame * g_wxOpenGLMainWindow = NULL; 00039 //----------------------------------------------------------------------------- 00040 //============================================================================= 00041 00042 //============================================================================= 00043 // Class TAPsApp : subclass of class wxApp 00044 //----------------------------------------------------------------------------- 00045 class WXAppMain : public wxApp { 00046 public: 00047 bool OnInit(); 00048 }; // End Class WXAppMain 00049 //----------------------------------------------------------------------------- 00050 //============================================================================= 00051 END_NAMESPACE_TAPs 00052 //----------------------------------------------------------------------------- 00053 // Include definition if TAPs_USE_EXPORT is not defined 00054 #if !defined( TAPs_USE_EXPORT ) 00055 #include "TAPsWXAppMain.cpp" 00056 #endif 00057 //----------------------------------------------------------------------------- 00058 #endif 00059 //345678901234567890123456789012345678901234567890123456789012345678901234567890 00060 //--+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8