Browse CVS Repository
Diff of /malonnote/mnNotePanelController.h
Parent Directory
| Revision Log
| Revision Graph
| Patch
| 7 |
#include "mnModel.h" |
#include "mnModel.h" |
| 8 |
#include "mnNotePanel.h" |
#include "mnNotePanel.h" |
| 9 |
|
|
| 10 |
|
#ifdef __WXMSW__ |
| 11 |
|
#define DOCS_DIR "\\docs\\" |
| 12 |
|
#else |
| 13 |
|
#define DOCS_DIR "/docs/" |
| 14 |
|
#endif |
| 15 |
|
|
| 16 |
class mnNotePanelController: public wxEvtHandler{ |
class mnNotePanelController: public wxEvtHandler{ |
| 17 |
public: |
public: |
| 18 |
mnNotePanelController(mnNotePanel* inPanel, wxString* inWikiDir); |
mnNotePanelController(mnNotePanel* inPanel, wxString* inWikiDir); |
| 36 |
void handleClose(wxCloseEvent& event); |
void handleClose(wxCloseEvent& event); |
| 37 |
void handleAbout(wxCommandEvent& event); |
void handleAbout(wxCommandEvent& event); |
| 38 |
#ifdef __WXMAC__ |
#ifdef __WXMAC__ |
|
wxString delPercent(const wxString& str); |
|
| 39 |
void handleLinkClick(wxWebKitStateChangedEvent& myEvent); |
void handleLinkClick(wxWebKitStateChangedEvent& myEvent); |
| 40 |
#else |
#else |
| 41 |
void handleLinkClick(wxCommandEvent &event); |
void handleLinkClick(wxCommandEvent &event); |
| 44 |
void openUrl(wxString& url); |
void openUrl(wxString& url); |
| 45 |
void openDoc(wxString& doc); |
void openDoc(wxString& doc); |
| 46 |
const wxString* getWikiDataDir(); |
const wxString* getWikiDataDir(); |
| 47 |
|
wxString delPercent(const wxString& str); |
| 48 |
|
|
| 49 |
private: |
private: |
| 50 |
mnModel* wiki; |
mnModel* wiki; |
|
|
Legend:
| Removed from v.1.5 |
|
| changed lines |
| |
Added in v.1.7 |
|
|
|