X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b4e76e0d7e4c1be878e125df31dc9370bb0fa99e..63e1921d0be4956ab729735189ccf637773a7e27:/include/wx/dde.h?ds=sidebyside

diff --git a/include/wx/dde.h b/include/wx/dde.h
index 38848db1b3..0f74768f2e 100644
--- a/include/wx/dde.h
+++ b/include/wx/dde.h
@@ -1,15 +1,32 @@
-#ifndef __DDEH_BASE__
-#define __DDEH_BASE__
-
-#if defined(__WXMSW__)
-#include "wx/msw/dde.h"
-#elif defined(__WXMOTIF__)
-#include "wx/xt/dde.h"
-#elif defined(__WXGTK__)
-#include "wx/gtk/dde.h"
-#elif defined(__WXQT__)
-#include "wx/qt/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(__WINDOWS__)
+    #include "wx/msw/dde.h"
+#else
+    #error DDE is only supported under Windows
 #endif
 
 #endif
-    // __DDEH_BASE__
+    // _WX_DDE_H_BASE_