X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..f29fe16932ede752589ef9ed34a757342387932f:/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_