Mercurial > mercurial > hgweb_rsearcher.cgi
view include/main.h @ 2:7fe3417cefc8
GUI.
author | pyon@macmini |
---|---|
date | Tue, 02 Oct 2018 21:20:05 +0900 |
parents | eaa27e4ed5be |
children | db4813125eb8 |
line wrap: on
line source
// Filename : main.h // Last Change: 2018-10-02 Tue 21:17:28. // #include <wx/wx.h> #include <wx/config.h> #include <wx/fileconf.h> enum { ID_MAIN = wxID_HIGHEST + 1, }; // 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; wxString m_server; bool develop; public: wxRect rect; MyApp(); ~MyApp(); virtual bool OnInit(); virtual int OnExit(); void InitSetting(); void SaveSetting(); void GetData(); }; DECLARE_APP( MyApp )