0
|
1 // Filename : main.h
|
5
|
2 // Last Change: 2018-10-19 ‹à 16:02:35.
|
0
|
3 //
|
|
4 #include <wx/wx.h>
|
|
5 #include <wx/config.h>
|
|
6 #include <wx/fileconf.h>
|
3
|
7 #include <wx/splash.h>
|
5
|
8 #include <wx/fs_zip.h>
|
|
9 #include <wx/filesys.h>
|
|
10 #include <wx/wfstream.h>
|
0
|
11
|
|
12 // private classes
|
|
13 // Define a new application type, each program should derive a class from wxApp
|
|
14 class MyApp : public wxApp
|
|
15 {
|
|
16 DECLARE_CLASS( MyApp )
|
|
17 private:
|
|
18 wxFileConfig *config;
|
|
19 wxString conf_file;
|
2
|
20 wxString m_server;
|
1
|
21 bool develop;
|
0
|
22
|
|
23 public:
|
|
24 wxRect rect;
|
|
25
|
|
26 MyApp();
|
|
27 ~MyApp();
|
|
28
|
|
29 virtual bool OnInit();
|
|
30 virtual int OnExit();
|
|
31
|
|
32 void InitSetting();
|
|
33 void SaveSetting();
|
|
34 };
|
|
35
|
2
|
36 DECLARE_APP( MyApp )
|
0
|
37
|