Develop and Download Open Source Software

Browse CVS Repository

Contents of /malonnote/mnController.h

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


Revision 1.1 - (show annotations) (download) (as text)
Thu Jul 28 03:25:05 2005 UTC (18 years, 7 months ago) by maloninc
Branch: MAIN
Branch point for: vendor
File MIME type: text/x-chdr
Initial revision

1 // -*- C++ -*- generated by wxGlade 0.3.5.1 on Wed Jun 29 12:57:38 2005
2 #ifndef MNCONTROLLER_H
3 #define MNCONTROLLER_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
13 class mnController: public wxEvtHandler{
14 public:
15 mnController(mnFrame* inframe);
16 void handleSearch(wxCommandEvent& event);
17 void handleNewButton(wxCommandEvent& event);
18 void handleRemoveButton(wxCommandEvent& event);
19 void handleTreeItemSelect(wxTreeEvent& event);
20 void handleTreeItemSelecting(wxTreeEvent& event);
21 void handleBeginLabelEdit(wxTreeEvent& event);
22 void handleEndLabelEdit(wxTreeEvent& event);
23 void handleConfig(wxCommandEvent& event);
24 void handleExit(wxCommandEvent& event);
25 void handleClose(wxCloseEvent& event);
26 void handleAbout(wxCommandEvent& event);
27 void saveData();
28
29 private:
30 mnFrame* frame;
31 mnModel* wiki;
32 bool isEditing;
33 protected:
34
35 DECLARE_EVENT_TABLE()
36 };
37
38
39 #endif // MNCONTROLLER_H

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