0
|
1 // Filename : common.h
|
27
|
2 // Last Change: 05-Nov-2011.
|
0
|
3 //
|
|
4 #ifndef __COMMON__
|
|
5 #define __COMMON__
|
|
6
|
|
7 #include "wx/wxprec.h"
|
|
8
|
|
9 #ifndef WX_PRECOMP
|
2
|
10 #include <wx/wx.h>
|
0
|
11 #include <wx/icon.h>
|
2
|
12 #include <wx/splash.h>
|
1
|
13 #include <wx/imaglist.h>
|
0
|
14 #include <wx/dir.h>
|
|
15 #include <wx/menu.h>
|
|
16 #include <wx/string.h>
|
|
17 #include <wx/statusbr.h>
|
6
|
18 #include <wx/dnd.h>
|
0
|
19 #include <wx/stattext.h>
|
|
20 #include <wx/button.h>
|
|
21 #include <wx/datectrl.h>
|
|
22 #include <wx/dateevt.h>
|
|
23 #include <wx/textctrl.h>
|
|
24 #include <wx/filepicker.h>
|
|
25 #include <wx/filename.h>
|
|
26 #include <wx/listctrl.h>
|
|
27 #include <wx/dir.h>
|
|
28 #include <wx/file.h>
|
|
29 #include <wx/tokenzr.h>
|
|
30 #include <wx/stdpaths.h>
|
|
31 #include <wx/sizer.h>
|
|
32 #include <wx/combobox.h>
|
|
33 #include <wx/progdlg.h>
|
|
34 #include <wx/frame.h>
|
11
|
35 #include <wx/textfile.h>
|
24
|
36 #include <wx/stopwatch.h>
|
29
|
37 #include <wx/regex.h>
|
0
|
38 #endif
|
|
39
|
|
40 enum {
|
|
41 // mainframe
|
29
|
42 ID_MAIN = wxID_HIGHEST + 1,
|
0
|
43 ID_TEST,
|
|
44
|
|
45 ID_MENUBARFILE,
|
29
|
46 ID_MENUITEMDETECT,
|
|
47 ID_MENUITEMMOVE,
|
0
|
48 ID_MENUITEMPARAM,
|
|
49 ID_MENUITEMAPPDIR,
|
|
50
|
8
|
51 ID_BUTTONNEXTTHU,
|
0
|
52 ID_BUTTONMKDIR,
|
|
53 ID_TEXTCTRLDIST,
|
|
54 ID_TEXTCTRLGUESS,
|
27
|
55 ID_TEXTCTRLNAME,
|
0
|
56 ID_LISTCTRLVIEW,
|
|
57
|
1
|
58 ID_BUTTONDETECT,
|
0
|
59 ID_BUTTONMOVE,
|
|
60 ID_BUTTONDEL,
|
|
61 ID_BUTTONUNDO,
|
21
|
62 ID_LISTCTRLDIR,
|
0
|
63
|
11
|
64 ID_TIMER,
|
|
65
|
0
|
66 // param
|
11
|
67
|
19
|
68 // dirview
|
0
|
69 };
|
12
|
70
|
|
71 #if defined(__WXMSW__)
|
|
72 #define MOVECMD wxT("move")
|
|
73 #else
|
|
74 #define MOVECMD wxT("mv")
|
|
75 #endif
|
|
76
|
0
|
77 #endif // __COMMON__
|
|
78
|