0
|
1 // Filename : appconf.h
|
1
|
2 // Last Change: 2019-06-09 Sun 16:54:00.
|
0
|
3 //
|
|
4 #pragma once
|
|
5
|
|
6 #include <wx/wx.h>
|
|
7 #include <wx/config.h>
|
|
8 #include <wx/fileconf.h>
|
|
9 #include <wx/filesys.h>
|
|
10
|
|
11 class AppConf {
|
|
12 private:
|
|
13 wxFileConfig *config;
|
|
14 wxString conf_file;
|
|
15
|
|
16 public:
|
|
17 AppConf();
|
|
18 ~AppConf();
|
|
19
|
|
20 wxRect LoadRect( void );
|
|
21 wxRect LoadMask( int i );
|
1
|
22 wxString LoadWork( void );
|
|
23 wxString LoadScanner( void );
|
0
|
24 void LoadCcn( wxComboBox ccn, wxComboBox sss );
|
|
25
|
|
26 void SaveRect( wxRect rect );
|
1
|
27 void SaveWork( wxString dir );
|
0
|
28 };
|
|
29
|