Browse CVS Repository
Contents of /malonnote/mnFrameController.h
Parent Directory
| Revision Log
| Revision Graph
Revision 1.2 -
( show annotations)
( download)
( as text)
Wed Oct 5 04:55:48 2005 UTC
(18 years, 5 months ago)
by maloninc
Branch: MAIN
CVS Tags: dev_1_5-0001
Changes since 1.1: +11 -0 lines
File MIME type: text/x-chdr
implement TAB function, except AddDir, RemoveDir
| 1 |
// -*- C++ -*- generated by wxGlade 0.3.5.1 on Wed Jun 29 12:57:38 2005 |
| 2 |
#ifndef MNFRAME_CONTROLLER_H |
| 3 |
#define MNFRAME_CONTROLLER_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 |
#define CONF_WIKI_ENT 5 // WikiDir, WikiDir1, ..., WikiDir5 |
| 13 |
|
| 14 |
|
| 15 |
class mnFrameController: public wxEvtHandler{ |
| 16 |
public: |
| 17 |
mnFrameController(mnFrame* inframe); |
| 18 |
void handleSearch(wxCommandEvent& event); |
| 19 |
void handleConfig(wxCommandEvent& event); |
| 20 |
void handleExit(wxCommandEvent& event); |
| 21 |
void handleClose(wxCloseEvent& event); |
| 22 |
void handleAbout(wxCommandEvent& event); |
| 23 |
void handleNew(wxCommandEvent& event); |
| 24 |
void handleRemove(wxCommandEvent& event); |
| 25 |
void handleEdit(wxCommandEvent& event); |
| 26 |
void handleHighlight(wxCommandEvent& event); |
| 27 |
void handleTreeExpand(wxCommandEvent& event); |
| 28 |
void handleTreeCollapse(wxCommandEvent& event); |
| 29 |
void handleTreeClear(wxCommandEvent& event); |
| 30 |
void handleGroup(wxCommandEvent& event); |
| 31 |
void handleOpenDocsDir(wxCommandEvent& event); |
| 32 |
void handleAddDir(wxCommandEvent& event); |
| 33 |
void handleRemoveDir(wxCommandEvent& event); |
| 34 |
|
| 35 |
private: |
| 36 |
mnFrame* frame; |
| 37 |
DECLARE_EVENT_TABLE() |
| 38 |
}; |
| 39 |
|
| 40 |
|
| 41 |
#endif // MNFRAME_CONTROLLER_H |
|