]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dde.h
fixed gcc warnings and reformatted some pieces of code to be a bit readable
[wxWidgets.git] / include / wx / dde.h
index e103c7882eda853e849a7aa6ecf7d10cd1c8a795..e7373533112bad88590d860bccf63a7a96bd2783 100644 (file)
@@ -1,13 +1,27 @@
-#ifndef __DDEH_BASE__
-#define __DDEH_BASE__
-
-#if defined(__WINDOWS__)
-#include "wx/msw/dde.h"
-#elif defined(__MOTIF__)
-#include "wx/xt/dde.h"
-#elif defined(__GTK__)
-#include "wx/gtk/dde.h"
+#ifndef _WX_DDE_H_BASE_
+#define _WX_DDE_H_BASE_
+
+#include "wx/list.h"
+
+class wxDDEClient;
+class wxDDEServer;
+class wxDDEConnection;
+
+WX_DECLARE_USER_EXPORTED_LIST(wxDDEClient, wxDDEClientList, WXDLLIMPEXP_BASE);
+WX_DECLARE_USER_EXPORTED_LIST(wxDDEServer, wxDDEServerList, WXDLLIMPEXP_BASE);
+WX_DECLARE_USER_EXPORTED_LIST(wxDDEConnection, wxDDEConnectionList, WXDLLIMPEXP_BASE);
+
+#if defined(__WXMSW__)
+    #include "wx/msw/dde.h"
+#elif defined(__WXMOTIF__)
+    #include "wx/motif/dde.h"
+#elif defined(__WXGTK__)
+    #include "wx/gtk/dde.h"
+#elif defined(__WXMAC__)
+    #include "wx/mac/dde.h"
+#elif defined(__WXPM__)
+    #include "wx/os2/dde.h"
 #endif
 
 #endif
-    // __DDEH_BASE__
+    // _WX_DDE_H_BASE_