Mercurial > mercurial > hgweb_searcher2.cgi
comparison include/main.h @ 0:c174ac668e9f
First commit ! (ver2.8)
| author | pyon@macmini |
|---|---|
| date | Tue, 05 Apr 2011 18:44:57 +0900 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:c174ac668e9f |
|---|---|
| 1 // Filename : main.h | |
| 2 // Last Change: 08-Mar-2011. | |
| 3 // | |
| 4 #include "wx/wx.h" | |
| 5 #include "wx/config.h" | |
| 6 #include "wx/fileconf.h" | |
| 7 | |
| 8 #include "symbol.h" | |
| 9 // private classes | |
| 10 // Define a new application type, each program should derive a class from wxApp | |
| 11 class MyApp : public wxApp | |
| 12 { | |
| 13 DECLARE_CLASS( MyApp ) | |
| 14 public: | |
| 15 MyApp(); | |
| 16 ~MyApp(); | |
| 17 | |
| 18 virtual bool OnInit(); | |
| 19 virtual int OnExit(); | |
| 20 void ConfInit(); | |
| 21 | |
| 22 wxFileConfig *config; | |
| 23 wxString conf_file; | |
| 24 wxRect rect; | |
| 25 wxString rootdir; | |
| 26 wxArrayString searchhist; | |
| 27 }; | |
| 28 | |
| 29 DECLARE_APP(MyApp) | |
| 30 |
