Develop and Download Open Source Software

Browse CVS Repository

Annotation of /malonnote/mnNotePanelController.h

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


Revision 1.7 - (hide 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 maloninc 1.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 maloninc 1.7 #ifdef __WXMSW__
11     #define DOCS_DIR "\\docs\\"
12     #else
13     #define DOCS_DIR "/docs/"
14     #endif
15    
16 maloninc 1.1 class mnNotePanelController: public wxEvtHandler{
17     public:
18     mnNotePanelController(mnNotePanel* inPanel, wxString* inWikiDir);
19 maloninc 1.4 ~mnNotePanelController();
20 maloninc 1.1 void notifyUpdate(WikiData* data);
21     void handleSearch(wxCommandEvent& event);
22 maloninc 1.2 void handleNew(wxCommandEvent& event);
23     void handleRemove(wxCommandEvent& event);
24     void handleHighlight(wxCommandEvent& event);
25     void handleEdit(wxCommandEvent& event);
26 maloninc 1.1 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 maloninc 1.5 #ifdef __WXMAC__
39     void handleLinkClick(wxWebKitStateChangedEvent& myEvent);
40     #else
41 maloninc 1.1 void handleLinkClick(wxCommandEvent &event);
42 maloninc 1.5 #endif
43 maloninc 1.1 void handleOpenDocsDir(wxCommandEvent &event);
44     void openUrl(wxString& url);
45     void openDoc(wxString& doc);
46 maloninc 1.3 const wxString* getWikiDataDir();
47 maloninc 1.6 wxString delPercent(const wxString& str);
48 maloninc 1.1
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