Mercurial > mercurial > hgweb_searcher03.cgi
view include/main.h @ 21:a2ad87cad48b
Enhanced the convenience of Cache dialog.
author | pyon@macmini |
---|---|
date | Wed, 17 Dec 2014 00:52:43 +0900 |
parents | 3bb803d8c1d7 |
children |
line wrap: on
line source
// Filename : main.h // Last Change: 03-Dec-2014. // #include "wx/wx.h" #include "wx/config.h" #include "wx/fileconf.h" // private classes // Define a new application type, each program should derive a class from wxApp class MyApp : public wxApp { DECLARE_CLASS( MyApp ) public: MyApp(); ~MyApp(); virtual bool OnInit(); virtual int OnExit(); void InitSetting(); void SaveSetting(); void InitLog(); void WriteLog( wxString msg ); wxFileConfig *config; wxString conf_file; wxString log_file; wxRect rect; long mode; }; enum { ID_MAIN = wxID_HIGHEST + 1, }; DECLARE_APP(MyApp)