Browse CVS Repository
Annotation of /malonnote/mnFrameController.h
Parent Directory
| Revision Log
| Revision Graph
Revision 1.5 -
( hide annotations)
( download)
( as text)
Fri Oct 7 10:19:46 2005 UTC
(18 years, 5 months ago)
by maloninc
Branch: MAIN
CVS Tags: dev_1_5-0004
Changes since 1.4: +1 -0 lines
File MIME type: text/x-chdr
fixed some bugs.
| 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 |
|
|
|
| 11 |
|
|
class mnFrameController: public wxEvtHandler{ |
| 12 |
|
|
public: |
| 13 |
|
|
mnFrameController(mnFrame* inframe); |
| 14 |
|
|
void handleSearch(wxCommandEvent& event); |
| 15 |
|
|
void handleConfig(wxCommandEvent& event); |
| 16 |
|
|
void handleExit(wxCommandEvent& event); |
| 17 |
|
|
void handleClose(wxCloseEvent& event); |
| 18 |
|
|
void handleAbout(wxCommandEvent& event); |
| 19 |
maloninc |
1.2 |
void handleNew(wxCommandEvent& event); |
| 20 |
|
|
void handleRemove(wxCommandEvent& event); |
| 21 |
|
|
void handleEdit(wxCommandEvent& event); |
| 22 |
|
|
void handleHighlight(wxCommandEvent& event); |
| 23 |
|
|
void handleTreeExpand(wxCommandEvent& event); |
| 24 |
|
|
void handleTreeCollapse(wxCommandEvent& event); |
| 25 |
|
|
void handleTreeClear(wxCommandEvent& event); |
| 26 |
|
|
void handleGroup(wxCommandEvent& event); |
| 27 |
|
|
void handleOpenDocsDir(wxCommandEvent& event); |
| 28 |
|
|
void handleAddDir(wxCommandEvent& event); |
| 29 |
|
|
void handleRemoveDir(wxCommandEvent& event); |
| 30 |
maloninc |
1.3 |
void updateConfig(); |
| 31 |
maloninc |
1.5 |
bool isExistConfig(wxString* dir); |
| 32 |
maloninc |
1.1 |
|
| 33 |
|
|
private: |
| 34 |
|
|
mnFrame* frame; |
| 35 |
|
|
DECLARE_EVENT_TABLE() |
| 36 |
|
|
}; |
| 37 |
|
|
|
| 38 |
|
|
|
| 39 |
|
|
#endif // MNFRAME_CONTROLLER_H |
|