]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/helpview/src/helpview.h
Changes needed for scanning the aui header files with SWIG for
[wxWidgets.git] / utils / helpview / src / helpview.h
index ded9b29dbe47ff27dd4c363d1b7c0aec615f1dd7..2dbf1cdadb489fd13408d11a4a769610b33e373f 100644 (file)
 #ifndef _WX_HELPVIEW_H_
 #define _WX_HELPVIEW_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
-#pragma interface "help.cpp"
-#endif
-
-#define hvVERSION 1.03
+#define hvVERSION 1.04
 
-// If 1, start a server to allow this to be used
-// as an external help viewer.
-#if ( defined(__WXMAC__) || defined(__WXMGL__) ) && !defined(__UNIX__)
-#define hvUSE_IPC 0
-#else
-#define hvUSE_IPC 1
-#endif
-
-#if hvUSE_IPC
+#if wxUSE_IPC
 #include <wx/ipc.h>
-
-class hvConnection;
 class hvServer;
 #endif
 
@@ -59,7 +45,7 @@ public:
     /// 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
@@ -67,14 +53,14 @@ public:
 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: