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.13 - (hide annotations) (download) (as text)
Tue Oct 24 06:46:32 2006 UTC (17 years, 5 months ago) by maloninc
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +1 -1 lines
File MIME type: text/x-chdr
add fast search option menu, modify readme

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.10 #define MKDIR "cmd /c mkdir \"%s\""
13 maloninc 1.7 #else
14     #define DOCS_DIR "/docs/"
15 maloninc 1.10 #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.13 void readAll(bool flag);
52 maloninc 1.1
53     private:
54     mnModel* wiki;
55     mnNotePanel* panel;
56    
57     protected:
58    
59     DECLARE_EVENT_TABLE()
60     };
61    
62    
63     #endif // MNNOTEPANEL_CONTROLLER_H

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