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.9 - (hide 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 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 maloninc 1.8 #define MKDIR "cmd /c mkdir %s"
13 maloninc 1.7 #else
14     #define DOCS_DIR "/docs/"
15 maloninc 1.8 #define MKDIR "mkdir %s"
16 maloninc 1.7 #endif
17    
18 maloninc 1.1 class mnNotePanelController: public wxEvtHandler{
19     public:
20     mnNotePanelController(mnNotePanel* inPanel, wxString* inWikiDir);
21 maloninc 1.4 ~mnNotePanelController();
22 maloninc 1.1 void notifyUpdate(WikiData* data);
23     void handleSearch(wxCommandEvent& event);
24 maloninc 1.2 void handleNew(wxCommandEvent& event);
25     void handleRemove(wxCommandEvent& event);
26     void handleHighlight(wxCommandEvent& event);
27     void handleEdit(wxCommandEvent& event);
28 maloninc 1.1 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 maloninc 1.5 #ifdef __WXMAC__
41     void handleLinkClick(wxWebKitStateChangedEvent& myEvent);
42     #else
43 maloninc 1.1 void handleLinkClick(wxCommandEvent &event);
44 maloninc 1.5 #endif
45 maloninc 1.1 void handleOpenDocsDir(wxCommandEvent &event);
46     void openUrl(wxString& url);
47     void openDoc(wxString& doc);
48 maloninc 1.9 void openDir(wxString& dir);
49 maloninc 1.3 const wxString* getWikiDataDir();
50 maloninc 1.6 wxString delPercent(const wxString& str);
51 maloninc 1.1
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