Mercurial > mercurial > hgweb_mover2.cgi
comparison include/main.h @ 0:7bf900d47e9e
start mover2
| author | pyon@macmini |
|---|---|
| date | Sat, 15 Oct 2011 13:24:27 +0900 |
| parents | |
| children | 52697c869ce8 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:7bf900d47e9e |
|---|---|
| 1 // Filename : main.h | |
| 2 // Last Change: 15-Oct-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 workdir; | |
| 26 wxString lmin; | |
| 27 wxString lmax; | |
| 28 wxString bmin; | |
| 29 wxString bmax; | |
| 30 }; | |
| 31 | |
| 32 DECLARE_APP(MyApp) | |
| 33 |
