0
|
1 // Filename : main.h
|
4
|
2 // Last Change: 2018-10-12 ‹à 16:16:45.
|
0
|
3 //
|
|
4 #include <wx/wx.h>
|
|
5 #include <wx/config.h>
|
|
6 #include <wx/fileconf.h>
|
3
|
7 #include <wx/splash.h>
|
0
|
8
|
|
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 private:
|
|
15 wxFileConfig *config;
|
|
16 wxString conf_file;
|
2
|
17 wxString m_server;
|
1
|
18 bool develop;
|
0
|
19
|
|
20 public:
|
|
21 wxRect rect;
|
|
22
|
|
23 MyApp();
|
|
24 ~MyApp();
|
|
25
|
|
26 virtual bool OnInit();
|
|
27 virtual int OnExit();
|
|
28
|
|
29 void InitSetting();
|
|
30 void SaveSetting();
|
|
31 };
|
|
32
|
2
|
33 DECLARE_APP( MyApp )
|
0
|
34
|