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.10 - (show annotations) (download) (as text)
Fri Sep 16 04:12:58 2005 UTC (18 years, 6 months ago) by maloninc
Branch: MAIN
CVS Tags: rel_1_3, dev_1_3-0008, dev_1_3-0006, dev_1_3-0007, dev_1_4-0001
Changes since 1.9: +1 -0 lines
File MIME type: text/x-chdr
implement group by TYPE, but it may be bugy? (9/16)

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 notifyUpdate(WikiData* data);
17 void handleSearch(wxCommandEvent& event);
18 void handleNewButton(wxCommandEvent& event);
19 void handleRemoveButton(wxCommandEvent& event);
20 void handleHighlightButton(wxCommandEvent& event);
21 void handleEditButton(wxCommandEvent& event);
22 void handleTreeItemSelect(wxTreeEvent& event);
23 void handleTreeItemSelecting(wxTreeEvent& event);
24 void handleBeginLabelEdit(wxTreeEvent& event);
25 void handleEndLabelEdit(wxTreeEvent& event);
26 void handleConfig(wxCommandEvent& event);
27 void handleGroup(wxCommandEvent& event);
28 void handleTreeExpand(wxCommandEvent& event);
29 void handleTreeCollapse(wxCommandEvent& event);
30 void handleTreeClear(wxCommandEvent& event);
31 void handleTreeDisableUpdate(wxCommandEvent& event);
32 void handleExit(wxCommandEvent& event);
33 void handleClose(wxCloseEvent& event);
34 void handleAbout(wxCommandEvent& event);
35 void handleLinkClick(wxCommandEvent &event);
36 void openUrl(wxString& url);
37 void openDoc(wxString& doc);
38
39 private:
40 mnFrame* frame;
41 mnModel* wiki;
42 bool autoUpdateMode;
43 protected:
44
45 DECLARE_EVENT_TABLE()
46 };
47
48
49 #endif // MNCONTROLLER_H

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