|
NCL Library
|
#include <DDEServer.hpp>
Public Member Functions | |
| CDDEServer (DWORD dwFlags=CBF_SKIP_REGISTRATIONS|CBF_SKIP_UNREGISTRATIONS) | |
| Constructor. | |
| virtual | ~CDDEServer () |
| Destructor. | |
| void | Register (const tchar *pszService) |
| void | Unregister (const tchar *pszService) |
| void | DestroyConversation (CDDESvrConv *pConv) |
| CDDESvrConv * | FindConversation (const tchar *pszService, const tchar *pszTopic) const |
| CDDESvrConv * | FindConversation (HCONV hConv) const |
| size_t | GetNumConversations () const |
| size_t | GetAllConversations (CDDESvrConvs &aoConvs) const |
| void | AddListener (IDDEServerListener *pListener) |
| void | RemoveListener (IDDEServerListener *pListener) |
Protected Types | |
| typedef std::vector < IDDEServerListener * > | CListeners |
Protected Member Functions | |
| void | Initialise (DWORD dwFlags) |
| void | Uninitialise () |
| bool | OnWildConnect (CStrArray &astrServices, CStrArray &astrTopics) |
| bool | OnWildConnectService (const tchar *pszService, CStrArray &astrTopics) |
| bool | OnWildConnectTopic (const tchar *pszTopic, CStrArray &astrServices) |
| bool | OnConnect (const tchar *pszService, const tchar *pszTopic) |
| void | OnConnectConfirm (HCONV hConv, const tchar *pszService, const tchar *pszTopic) |
| void | OnDisconnect (HCONV hConv) |
| bool | OnRequest (HCONV hConv, const tchar *pszItem, uint nFormat, CDDEData &oData) |
| bool | OnAdviseStart (HCONV hConv, const tchar *pszItem, uint nFormat) |
| bool | OnAdviseRequest (HCONV hConv, const tchar *pszItem, uint nFormat, CDDEData &oData) |
| void | OnAdviseStop (HCONV hConv, const tchar *pszItem, uint nFormat) |
| bool | OnExecute (HCONV hConv, const CDDEData &oData) |
| bool | OnPoke (HCONV hConv, const tchar *pszItem, uint nFormat, const CDDEData &oData) |
Static Protected Member Functions | |
| static HDDEDATA CALLBACK | DDECallbackProc (UINT uType, UINT uFormat, HCONV hConv, HSZ hsz1, HSZ hsz2, HDDEDATA hData, ULONG_PTR dwData1, ULONG_PTR dwData2) |
Protected Attributes | |
| CDDESvrConvs | m_aoConvs |
| CListeners | m_aoListeners |
Static Protected Attributes | |
| static CDDEServer * | g_pDDEServer = NULL |
typedef std::vector<IDDEServerListener*> CDDEServer::CListeners [protected] |
| CDDEServer::CDDEServer | ( | DWORD | dwFlags = CBF_SKIP_REGISTRATIONS | CBF_SKIP_UNREGISTRATIONS | ) |
Constructor.
| CDDEServer::~CDDEServer | ( | ) | [virtual] |
Destructor.
| void CDDEServer::Register | ( | const tchar * | pszService | ) |
| void CDDEServer::Unregister | ( | const tchar * | pszService | ) |
| void CDDEServer::DestroyConversation | ( | CDDESvrConv * | pConv | ) |
| CDDESvrConv * CDDEServer::FindConversation | ( | const tchar * | pszService, |
| const tchar * | pszTopic | ||
| ) | const |
| CDDESvrConv * CDDEServer::FindConversation | ( | HCONV | hConv | ) | const |
| size_t CDDEServer::GetNumConversations | ( | ) | const [inline] |
| size_t CDDEServer::GetAllConversations | ( | CDDESvrConvs & | aoConvs | ) | const [inline] |
| void CDDEServer::AddListener | ( | IDDEServerListener * | pListener | ) |
| void CDDEServer::RemoveListener | ( | IDDEServerListener * | pListener | ) |
| void CDDEServer::Initialise | ( | DWORD | dwFlags | ) | [protected] |
| void CDDEServer::Uninitialise | ( | ) | [protected] |
| bool CDDEServer::OnWildConnect | ( | CStrArray & | astrServices, |
| CStrArray & | astrTopics | ||
| ) | [protected] |
| bool CDDEServer::OnWildConnectService | ( | const tchar * | pszService, |
| CStrArray & | astrTopics | ||
| ) | [protected] |
| bool CDDEServer::OnWildConnectTopic | ( | const tchar * | pszTopic, |
| CStrArray & | astrServices | ||
| ) | [protected] |
| bool CDDEServer::OnConnect | ( | const tchar * | pszService, |
| const tchar * | pszTopic | ||
| ) | [protected] |
| void CDDEServer::OnConnectConfirm | ( | HCONV | hConv, |
| const tchar * | pszService, | ||
| const tchar * | pszTopic | ||
| ) | [protected] |
| void CDDEServer::OnDisconnect | ( | HCONV | hConv | ) | [protected] |
| bool CDDEServer::OnRequest | ( | HCONV | hConv, |
| const tchar * | pszItem, | ||
| uint | nFormat, | ||
| CDDEData & | oData | ||
| ) | [protected] |
| bool CDDEServer::OnAdviseStart | ( | HCONV | hConv, |
| const tchar * | pszItem, | ||
| uint | nFormat | ||
| ) | [protected] |
| bool CDDEServer::OnAdviseRequest | ( | HCONV | hConv, |
| const tchar * | pszItem, | ||
| uint | nFormat, | ||
| CDDEData & | oData | ||
| ) | [protected] |
| void CDDEServer::OnAdviseStop | ( | HCONV | hConv, |
| const tchar * | pszItem, | ||
| uint | nFormat | ||
| ) | [protected] |
| bool CDDEServer::OnExecute | ( | HCONV | hConv, |
| const CDDEData & | oData | ||
| ) | [protected] |
| bool CDDEServer::OnPoke | ( | HCONV | hConv, |
| const tchar * | pszItem, | ||
| uint | nFormat, | ||
| const CDDEData & | oData | ||
| ) | [protected] |
| HDDEDATA CALLBACK CDDEServer::DDECallbackProc | ( | UINT | uType, |
| UINT | uFormat, | ||
| HCONV | hConv, | ||
| HSZ | hsz1, | ||
| HSZ | hsz2, | ||
| HDDEDATA | hData, | ||
| ULONG_PTR | dwData1, | ||
| ULONG_PTR | dwData2 | ||
| ) | [static, protected] |
CDDESvrConvs CDDEServer::m_aoConvs [protected] |
CListeners CDDEServer::m_aoListeners [protected] |
CDDEServer * CDDEServer::g_pDDEServer = NULL [static, protected] |
1.7.6.1