Develop and Download Open Source Software

Browse CVS Repository

Contents of /malonnote/mnNotePanelController.h

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


Revision 1.9 - (show annotations) (download) (as text)
Fri Jan 20 12:49:54 2006 UTC (18 years, 2 months ago) by maloninc
Branch: MAIN
Changes since 1.8: +1 -0 lines
File MIME type: text/x-chdr
fixing opendoc

1 // -*- C++ -*- generated by wxGlade 0.3.5.1 on Wed Jun 29 12:57:38 2005
2 #ifndef MNNOTEPANEL_CONTROLLER_H
3 #define MNNOTEPANEL_CONTROLLER_H
4
5 #include <wx/wx.h>
6 #include <wx/treectrl.h>
7 #include "mnModel.h"
8 #include "mnNotePanel.h"
9
10 #ifdef __WXMSW__
11 #define DOCS_DIR "\\docs\\"
12 #define MKDIR "cmd /c mkdir %s"
13 #else
14 #define DOCS_DIR "/docs/"
15 #define MKDIR "mkdir %s"
16 #endif
17
18 class mnNotePanelController: public wxEvtHandler{
19 public:
20 mnNotePanelController(mnNotePanel* inPanel, wxString* inWikiDir);
21 ~mnNotePanelController();
22 void notifyUpdate(WikiData* data);
23 void handleSearch(wxCommandEvent& event);
24 void handleNew(wxCommandEvent& event);
25 void handleRemove(wxCommandEvent& event);
26 void handleHighlight(wxCommandEvent& event);
27 void handleEdit(wxCommandEvent& event);
28 void handleTreeItemSelect(wxTreeEvent& event);
29 void handleTreeItemSelecting(wxTreeEvent& event);
30 void handleBeginLabelEdit(wxTreeEvent& event);
31 void handleEndLabelEdit(wxTreeEvent& event);
32 void handleConfig(wxCommandEvent& event);
33 void handleGroup(wxCommandEvent& event);
34 void handleTreeExpand(wxCommandEvent& event);
35 void handleTreeCollapse(wxCommandEvent& event);
36 void handleTreeClear(wxCommandEvent& event);
37 void handleExit(wxCommandEvent& event);
38 void handleClose(wxCloseEvent& event);
39 void handleAbout(wxCommandEvent& event);
40 #ifdef __WXMAC__
41 void handleLinkClick(wxWebKitStateChangedEvent& myEvent);
42 #else
43 void handleLinkClick(wxCommandEvent &event);
44 #endif
45 void handleOpenDocsDir(wxCommandEvent &event);
46 void openUrl(wxString& url);
47 void openDoc(wxString& doc);
48 void openDir(wxString& dir);
49 const wxString* getWikiDataDir();
50 wxString delPercent(const wxString& str);
51
52 private:
53 mnModel* wiki;
54 mnNotePanel* panel;
55
56 protected:
57
58 DECLARE_EVENT_TABLE()
59 };
60
61
62 #endif // MNNOTEPANEL_CONTROLLER_H

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