]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dde.h
Revert r62598 which removed "unnecessary wxOSX_USE_COCOA checks."
[wxWidgets.git] / include / wx / dde.h
index e103c7882eda853e849a7aa6ecf7d10cd1c8a795..cf5af6743eb160bc9823ca5a04e62f9e5cb260a9 100644 (file)
@@ -1,13 +1,32 @@
-#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"
+/////////////////////////////////////////////////////////////////////////////
+// Name:        wx/dde.h
+// Purpose:     DDE base header
+// Author:      Julian Smart
+// Modified by:
+// Created:
+// Copyright:   (c) Julian Smart
+// RCS-ID:      $Id$
+// Licence:     wxWindows Licence
+/////////////////////////////////////////////////////////////////////////////
+
+#ifndef _WX_DDE_H_BASE_
+#define _WX_DDE_H_BASE_
+
+#include "wx/list.h"
+
+class WXDLLIMPEXP_FWD_BASE wxDDEClient;
+class WXDLLIMPEXP_FWD_BASE wxDDEServer;
+class WXDLLIMPEXP_FWD_BASE 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"
+#else
+    #error DDE is only supported on MSW
 #endif
 
 #endif
 #endif
 
 #endif
-    // __DDEH_BASE__
+    // _WX_DDE_H_BASE_