X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..553c5bcc3ab65e8b8a002dc6d5f51cba4f39292c:/include/wx/dde.h diff --git a/include/wx/dde.h b/include/wx/dde.h index e103c7882e..0fb35acc07 100644 --- a/include/wx/dde.h +++ b/include/wx/dde.h @@ -1,13 +1,21 @@ -#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" +#else + #error DDE is only supported on MSW #endif #endif - // __DDEH_BASE__ + // _WX_DDE_H_BASE_