]>
Commit | Line | Data |
---|---|---|
2193517f VS |
1 | // MainFrame.h: interface for the wxMainFrame class. |
2 | // | |
3 | ////////////////////////////////////////////////////////////////////// | |
4 | ||
5 | #if !defined(MAINFRAME_H) | |
6 | #define MAINFRAME_H | |
7 | ||
8 | #include "wx/wxprec.h" | |
9 | ||
10 | ||
11 | #define ID_QUIT 1002 | |
12 | #define ID_ABOUT 1003 | |
13 | #define ID_RC2WXR 1005 | |
14 | #define ID_WXR2XML 1006 | |
15 | #define ID_RC2XML 1007 | |
16 | ||
17 | class wxMainFrame:public wxFrame | |
18 | { | |
19 | public: | |
19d0f58d JS |
20 | void OnRC2XML(wxCommandEvent& event); |
21 | void OnWXR2XML(wxCommandEvent& event); | |
22 | void OnRc2Wxr(wxCommandEvent& event); | |
23 | void OnQuit(wxCommandEvent& event); | |
f80ea77b | 24 | wxMainFrame(wxWindow* parent, wxWindowID id, |
2193517f VS |
25 | const wxString& title, const wxPoint& pos = wxDefaultPosition, |
26 | const wxSize& size = wxDefaultSize, long style = wxDEFAULT_FRAME_STYLE, | |
19d0f58d | 27 | const wxString& name = _T("frame")); |
2193517f | 28 | virtual ~wxMainFrame(); |
f80ea77b | 29 | |
2193517f VS |
30 | protected: |
31 | DECLARE_EVENT_TABLE() | |
32 | }; | |
33 | ||
f80ea77b | 34 | class wxConvertApp : public wxApp |
2193517f VS |
35 | { |
36 | public: | |
37 | bool HandleCommandLine(); | |
38 | void InitMenu(); | |
39 | bool OnInit(void); | |
40 | wxConvertApp(); | |
41 | virtual ~wxConvertApp(); | |
42 | ||
43 | protected: | |
44 | wxMenuBar * m_pMenuBar; | |
45 | wxMainFrame *m_pFrame; | |
46 | }; | |
47 | ||
48 | ||
49 | ||
50 | #endif // !defined(MAINFRAME_H) |