]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/helpview/src/helpview.h
Defaults in wxWinCE documented.
[wxWidgets.git] / utils / helpview / src / helpview.h
index 0395f58dd5e1a200c901059f6df766cc4212ce23..436f802a2cab35ada1c28ea5eb1473cc3c200f38 100644 (file)
 #pragma interface "help.cpp"
 #endif
 
-#define hvVERSION 1.02
+#define hvVERSION 1.04
 
-// If 1, start a server to allow this to be used
-// as an external help viewer.
-#define hvUSE_IPC 1
-
-#if hvUSE_IPC
+#if wxUSE_IPC
 #include <wx/ipc.h>
-
-class hvConnection;
 class hvServer;
 #endif
 
@@ -43,29 +37,34 @@ 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);
 
     /// Returns the help controller.
     wxHtmlHelpController* GetHelpController() { return m_helpController; }
 
-#if hvUSE_IPC
+#if wxUSE_IPC
     /// Returns the list of connections.
     wxList& GetConnections() { return m_connections; }
 #endif
 
 private:
     wxHtmlHelpController*   m_helpController;
-    
-#if hvUSE_IPC
+
+#if wxUSE_IPC
     wxList                  m_connections;
     hvServer*               m_server;
 #endif
-    
+
 };
 
-#if hvUSE_IPC
+#if wxUSE_IPC
 class hvConnection : public wxConnection
 {
 public: