Browse CVS Repository
Annotation of /malonnote/mnFrameController.h
Parent Directory
| Revision Log
| Revision Graph
Revision 1.1 -
( hide annotations)
( download)
( as text)
Tue Oct 4 12:45:02 2005 UTC
(18 years, 5 months ago)
by maloninc
Branch: MAIN
File MIME type: text/x-chdr
implement TAB function. But not complete.
| 1 |
maloninc |
1.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 |
|
|
|
| 24 |
|
|
private: |
| 25 |
|
|
mnFrame* frame; |
| 26 |
|
|
DECLARE_EVENT_TABLE() |
| 27 |
|
|
}; |
| 28 |
|
|
|
| 29 |
|
|
|
| 30 |
|
|
#endif // MNFRAME_CONTROLLER_H |
|