Mercurial > mercurial > hgweb_rsearcher.cgi
view include/main.h @ 15:c262e17de9b1
db download skip-mode.
author | pyon@macmini |
---|---|
date | Sat, 08 Jun 2019 15:50:59 +0900 |
parents | f5ffc34f045a |
children | b651aa41b9d4 |
line wrap: on
line source
// Filename : main.h // Last Change: 2019-05-28 ‰Î 10:08:07. // #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> // 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 m_splash = 150; wxString m_unlock_key; wxString m_serveraddr; int m_serverport; wxString m_dbdir; bool m_qdlhhs; bool develop; public: wxRect rect; int pzoom; MyApp(); ~MyApp(); virtual bool OnInit(); virtual int OnExit(); void InitSetting(); void SaveSetting(); wxString GetVersion(); void SplashScreen( int ms ); void RemoveFile( wxString pattern ); }; DECLARE_APP( MyApp )