Browse CVS Repository
Annotation of /malonnote/mnController.h
Parent Directory
| Revision Log
| Revision Graph
Revision 1.6 -
( hide annotations)
( download)
( as text)
Thu Aug 4 05:10:02 2005 UTC
(18 years, 7 months ago)
by maloninc
Branch: MAIN
CVS Tags: dev-1_0-0012, dev-1_0-0013, dev-1_0-0014, dev-1_0-0015, dev-1_0-0016, dev-1_0-0017, rel-1_1, rel-1_0, dev-1_1-0005, dev-1_1-0006, dev-1_1-0007, dev-1_1-0001, dev-1_1-0002, dev-1_1-0003, dev-1_1-0009, dev-1_1-0008
Changes since 1.5: +1 -1 lines
File MIME type: text/x-chdr
implemented clickable item.
And, v1.0 buggy version has complete
| 1 |
maloninc |
1.1 |
// -*- C++ -*- generated by wxGlade 0.3.5.1 on Wed Jun 29 12:57:38 2005 |
| 2 |
|
|
#ifndef MNCONTROLLER_H |
| 3 |
|
|
#define MNCONTROLLER_H |
| 4 |
|
|
|
| 5 |
|
|
#include <wx/wx.h> |
| 6 |
|
|
#include <wx/treectrl.h> |
| 7 |
|
|
#include "mnModel.h" |
| 8 |
|
|
#include "mnFrame.h" |
| 9 |
|
|
|
| 10 |
|
|
#define CONF_APP_NAME "MalonNote" |
| 11 |
|
|
#define CONF_WIKI_DIR "WikiDir" |
| 12 |
|
|
|
| 13 |
|
|
class mnController: public wxEvtHandler{ |
| 14 |
|
|
public: |
| 15 |
|
|
mnController(mnFrame* inframe); |
| 16 |
|
|
void handleSearch(wxCommandEvent& event); |
| 17 |
|
|
void handleNewButton(wxCommandEvent& event); |
| 18 |
|
|
void handleRemoveButton(wxCommandEvent& event); |
| 19 |
maloninc |
1.2 |
void handleEditButton(wxCommandEvent& event); |
| 20 |
maloninc |
1.1 |
void handleTreeItemSelect(wxTreeEvent& event); |
| 21 |
|
|
void handleTreeItemSelecting(wxTreeEvent& event); |
| 22 |
|
|
void handleBeginLabelEdit(wxTreeEvent& event); |
| 23 |
|
|
void handleEndLabelEdit(wxTreeEvent& event); |
| 24 |
|
|
void handleConfig(wxCommandEvent& event); |
| 25 |
|
|
void handleExit(wxCommandEvent& event); |
| 26 |
|
|
void handleClose(wxCloseEvent& event); |
| 27 |
|
|
void handleAbout(wxCommandEvent& event); |
| 28 |
maloninc |
1.4 |
void handleLinkClick(wxCommandEvent &event); |
| 29 |
maloninc |
1.5 |
void openUrl(wxString& url); |
| 30 |
maloninc |
1.6 |
void openDoc(wxString& doc); |
| 31 |
maloninc |
1.1 |
|
| 32 |
|
|
private: |
| 33 |
|
|
mnFrame* frame; |
| 34 |
|
|
mnModel* wiki; |
| 35 |
|
|
protected: |
| 36 |
|
|
|
| 37 |
|
|
DECLARE_EVENT_TABLE() |
| 38 |
|
|
}; |
| 39 |
|
|
|
| 40 |
|
|
|
| 41 |
|
|
#endif // MNCONTROLLER_H |
| |