Develop and Download Open Source Software

Browse CVS Repository

Contents of /malonnote/mnFrameController.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download) (as text)
Wed Oct 5 07:20:56 2005 UTC (18 years, 5 months ago) by maloninc
Branch: MAIN
CVS Tags: dev_1_5-0002
Changes since 1.2: +1 -0 lines
File MIME type: text/x-chdr
implement add/remove memo dir

1 // -*- C++ -*- generated by wxGlade 0.3.5.1 on Wed Jun 29 12:57:38 2005
2 #ifndef MNFRAME_CONTROLLER_H
3 #define MNFRAME_CONTROLLER_H
4
5 #include <wx/wx.h>
6 #include <wx/treectrl.h>
7 #include "mnModel.h"
8 #include "mnFrame.h"
9
10 #define CONF_APP_NAME "MalonNote"
11 #define CONF_WIKI_DIR "WikiDir"
12 #define CONF_WIKI_ENT 5 // WikiDir, WikiDir1, ..., WikiDir5
13
14
15 class mnFrameController: public wxEvtHandler{
16 public:
17 mnFrameController(mnFrame* inframe);
18 void handleSearch(wxCommandEvent& event);
19 void handleConfig(wxCommandEvent& event);
20 void handleExit(wxCommandEvent& event);
21 void handleClose(wxCloseEvent& event);
22 void handleAbout(wxCommandEvent& event);
23 void handleNew(wxCommandEvent& event);
24 void handleRemove(wxCommandEvent& event);
25 void handleEdit(wxCommandEvent& event);
26 void handleHighlight(wxCommandEvent& event);
27 void handleTreeExpand(wxCommandEvent& event);
28 void handleTreeCollapse(wxCommandEvent& event);
29 void handleTreeClear(wxCommandEvent& event);
30 void handleGroup(wxCommandEvent& event);
31 void handleOpenDocsDir(wxCommandEvent& event);
32 void handleAddDir(wxCommandEvent& event);
33 void handleRemoveDir(wxCommandEvent& event);
34 void updateConfig();
35
36 private:
37 mnFrame* frame;
38 DECLARE_EVENT_TABLE()
39 };
40
41
42 #endif // MNFRAME_CONTROLLER_H

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26