X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..3a7d5f7cc3892d15ee8de373b8ab52d4bc1eabf8:/utils/helpview/src/helpview.h diff --git a/utils/helpview/src/helpview.h b/utils/helpview/src/helpview.h index 0395f58dd5..d4fc4cde2e 100644 --- a/utils/helpview/src/helpview.h +++ b/utils/helpview/src/helpview.h @@ -16,11 +16,15 @@ #pragma interface "help.cpp" #endif -#define hvVERSION 1.02 +#define hvVERSION 1.03 // If 1, start a server to allow this to be used // as an external help viewer. +#if defined(__WXMAC__) && !defined(__UNIX__) +#define hvUSE_IPC 0 +#else #define hvUSE_IPC 1 +#endif #if hvUSE_IPC #include @@ -43,7 +47,12 @@ public: /// Clean up the application's data. virtual int OnExit(); - + +#ifdef __WXMAC__ + /// Respond to Apple Event for opening a document + virtual void MacOpenFile(const wxString& filename); +#endif + /// Prompt the user for a book to open bool OpenBook(wxHtmlHelpController* controller);