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.7 - (show annotations) (download) (as text)
Fri Dec 30 00:54:06 2005 UTC (18 years, 2 months ago) by maloninc
Branch: MAIN
CVS Tags: dev_1_6-0004, dev_1_6-0005
Changes since 1.6: +6 -0 lines
File MIME type: text/x-chdr
strip mnote when make app, and resolve "docs" directory problem.

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 #else
13 #define DOCS_DIR "/docs/"
14 #endif
15
16 class mnNotePanelController: public wxEvtHandler{
17 public:
18 mnNotePanelController(mnNotePanel* inPanel, wxString* inWikiDir);
19 ~mnNotePanelController();
20 void notifyUpdate(WikiData* data);
21 void handleSearch(wxCommandEvent& event);
22 void handleNew(wxCommandEvent& event);
23 void handleRemove(wxCommandEvent& event);
24 void handleHighlight(wxCommandEvent& event);
25 void handleEdit(wxCommandEvent& event);
26 void handleTreeItemSelect(wxTreeEvent& event);
27 void handleTreeItemSelecting(wxTreeEvent& event);
28 void handleBeginLabelEdit(wxTreeEvent& event);
29 void handleEndLabelEdit(wxTreeEvent& event);
30 void handleConfig(wxCommandEvent& event);
31 void handleGroup(wxCommandEvent& event);
32 void handleTreeExpand(wxCommandEvent& event);
33 void handleTreeCollapse(wxCommandEvent& event);
34 void handleTreeClear(wxCommandEvent& event);
35 void handleExit(wxCommandEvent& event);
36 void handleClose(wxCloseEvent& event);
37 void handleAbout(wxCommandEvent& event);
38 #ifdef __WXMAC__
39 void handleLinkClick(wxWebKitStateChangedEvent& myEvent);
40 #else
41 void handleLinkClick(wxCommandEvent &event);
42 #endif
43 void handleOpenDocsDir(wxCommandEvent &event);
44 void openUrl(wxString& url);
45 void openDoc(wxString& doc);
46 const wxString* getWikiDataDir();
47 wxString delPercent(const wxString& str);
48
49 private:
50 mnModel* wiki;
51 mnNotePanel* panel;
52
53 protected:
54
55 DECLARE_EVENT_TABLE()
56 };
57
58
59 #endif // MNNOTEPANEL_CONTROLLER_H

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