Mercurial > mercurial > hgweb_rsearcher.cgi
view include/main.h @ 10:36811fd22bd2
v1.4
author | pyon@macmini |
---|---|
date | Thu, 08 Nov 2018 19:15:43 +0900 |
parents | ae89ce4793d8 |
children | 799b6008db8e |
line wrap: on
line source
// Filename : main.h // Last Change: 2018-11-01 –Ø 11:13:19. // #include <wx/wx.h> #include <wx/config.h> #include <wx/fileconf.h> #include <wx/splash.h> #include <wx/fs_zip.h> #include <wx/filesys.h> #include <wx/wfstream.h> // private classes // Define a new application type, each program should derive a class from wxApp class MyApp : public wxApp { DECLARE_CLASS( MyApp ) private: wxFileConfig *config; wxString conf_file; int splash = 150; wxString unlock_key; wxString m_serveraddr; int m_serverport; bool develop; public: wxRect rect; MyApp(); ~MyApp(); virtual bool OnInit(); virtual int OnExit(); void InitSetting(); void SaveSetting(); void SplashScreen( int ms ); void RemoveFile( wxString pattern ); }; DECLARE_APP( MyApp )