Mercurial > mercurial > hgweb_rsearcher.cgi
comparison include/main.h @ 9:ae89ce4793d8
add satellite-view.
author | pyon@macmini |
---|---|
date | Wed, 31 Oct 2018 20:10:29 +0900 |
parents | 29829e98d510 |
children | 36811fd22bd2 |
comparison
equal
deleted
inserted
replaced
8:82f9af6aa7e4 | 9:ae89ce4793d8 |
---|---|
1 // Filename : main.h | 1 // Filename : main.h |
2 // Last Change: 2018-10-25 17:24:41. | 2 // Last Change: 2018-10-31 13:21:30. |
3 // | 3 // |
4 #include <wx/wx.h> | 4 #include <wx/wx.h> |
5 #include <wx/config.h> | 5 #include <wx/config.h> |
6 #include <wx/fileconf.h> | 6 #include <wx/fileconf.h> |
7 #include <wx/splash.h> | 7 #include <wx/splash.h> |
15 { | 15 { |
16 DECLARE_CLASS( MyApp ) | 16 DECLARE_CLASS( MyApp ) |
17 private: | 17 private: |
18 wxFileConfig *config; | 18 wxFileConfig *config; |
19 wxString conf_file; | 19 wxString conf_file; |
20 int splash = 150; | |
20 wxString m_serveraddr; | 21 wxString m_serveraddr; |
21 int m_serverport; | 22 int m_serverport; |
22 bool develop; | 23 bool develop; |
23 | 24 |
24 public: | 25 public: |
30 virtual bool OnInit(); | 31 virtual bool OnInit(); |
31 virtual int OnExit(); | 32 virtual int OnExit(); |
32 | 33 |
33 void InitSetting(); | 34 void InitSetting(); |
34 void SaveSetting(); | 35 void SaveSetting(); |
36 void SplashScreen( int ms ); | |
35 void RemoveFile( wxString pattern ); | 37 void RemoveFile( wxString pattern ); |
36 }; | 38 }; |
37 | 39 |
38 DECLARE_APP( MyApp ) | 40 DECLARE_APP( MyApp ) |
39 | 41 |