|
NCL Library
|
#include <DDEClient.hpp>
Public Member Functions | |
| CDDEClient (DWORD dwFlags=CBF_FAIL_ALLSVRXACTIONS|CBF_SKIP_REGISTRATIONS|CBF_SKIP_UNREGISTRATIONS) | |
| Constructor. | |
| virtual | ~CDDEClient () |
| Destructor. | |
| CDDECltConv * | CreateConversation (const tchar *pszService, const tchar *pszTopic) |
| void | DestroyConversation (CDDECltConv *pConv) |
| CDDECltConv * | FindConversation (const tchar *pszService, const tchar *pszTopic) const |
| CDDECltConv * | FindConversation (HCONV hConv) const |
| size_t | GetNumConversations () const |
| size_t | GetAllConversations (CDDECltConvs &aoConvs) const |
| void | AddListener (IDDEClientListener *pListener) |
| void | RemoveListener (IDDEClientListener *pListener) |
| void | QueryServers (CStrArray &astrServers) const |
| void | QueryServerTopics (const tchar *pszServer, CStrArray &astrTopics) const |
| void | QueryAll (CStrArray &astrServers, CStrArray &astrTopics) const |
| Query for all running servers and topics. | |
Protected Types | |
| typedef std::vector < IDDEClientListener * > | CListeners |
Protected Member Functions | |
| void | Initialise (DWORD dwFlags) |
| void | Uninitialise () |
| void | OnRegister (const tchar *pszBaseName, const tchar *pszInstName) |
| void | OnUnregister (const tchar *pszBaseName, const tchar *pszInstName) |
| void | OnDisconnect (HCONV hConv) |
| void | OnAdvise (HCONV hConv, const tchar *pszTopic, const tchar *pszItem, uint nFormat, const CDDEData *pData) |
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 | |
| CDDECltConvs | m_aoConvs |
| CListeners | m_aoListeners |
Static Protected Attributes | |
| static CDDEClient * | g_pDDEClient = NULL |
typedef std::vector<IDDEClientListener*> CDDEClient::CListeners [protected] |
| CDDEClient::CDDEClient | ( | DWORD | dwFlags = CBF_FAIL_ALLSVRXACTIONS | CBF_SKIP_REGISTRATIONS | CBF_SKIP_UNREGISTRATIONS | ) |
Constructor.
| CDDEClient::~CDDEClient | ( | ) | [virtual] |
Destructor.
| CDDECltConv * CDDEClient::CreateConversation | ( | const tchar * | pszService, |
| const tchar * | pszTopic | ||
| ) |
| void CDDEClient::DestroyConversation | ( | CDDECltConv * | pConv | ) |
| CDDECltConv * CDDEClient::FindConversation | ( | const tchar * | pszService, |
| const tchar * | pszTopic | ||
| ) | const |
| CDDECltConv * CDDEClient::FindConversation | ( | HCONV | hConv | ) | const |
| size_t CDDEClient::GetNumConversations | ( | ) | const [inline] |
| size_t CDDEClient::GetAllConversations | ( | CDDECltConvs & | aoConvs | ) | const [inline] |
| void CDDEClient::AddListener | ( | IDDEClientListener * | pListener | ) |
| void CDDEClient::RemoveListener | ( | IDDEClientListener * | pListener | ) |
| void CDDEClient::QueryServers | ( | CStrArray & | astrServers | ) | const |
| void CDDEClient::QueryServerTopics | ( | const tchar * | pszServer, |
| CStrArray & | astrTopics | ||
| ) | const |
| void CDDEClient::QueryAll | ( | CStrArray & | astrServers, |
| CStrArray & | astrTopics | ||
| ) | const |
Query for all running servers and topics.
| void CDDEClient::Initialise | ( | DWORD | dwFlags | ) | [protected] |
| void CDDEClient::Uninitialise | ( | ) | [protected] |
| void CDDEClient::OnRegister | ( | const tchar * | pszBaseName, |
| const tchar * | pszInstName | ||
| ) | [protected] |
| void CDDEClient::OnUnregister | ( | const tchar * | pszBaseName, |
| const tchar * | pszInstName | ||
| ) | [protected] |
| void CDDEClient::OnDisconnect | ( | HCONV | hConv | ) | [protected] |
| void CDDEClient::OnAdvise | ( | HCONV | hConv, |
| const tchar * | pszTopic, | ||
| const tchar * | pszItem, | ||
| uint | nFormat, | ||
| const CDDEData * | pData | ||
| ) | [protected] |
| HDDEDATA CALLBACK CDDEClient::DDECallbackProc | ( | UINT | uType, |
| UINT | uFormat, | ||
| HCONV | hConv, | ||
| HSZ | hsz1, | ||
| HSZ | hsz2, | ||
| HDDEDATA | hData, | ||
| ULONG_PTR | dwData1, | ||
| ULONG_PTR | dwData2 | ||
| ) | [static, protected] |
CDDECltConvs CDDEClient::m_aoConvs [protected] |
CListeners CDDEClient::m_aoListeners [protected] |
CDDEClient * CDDEClient::g_pDDEClient = NULL [static, protected] |
1.7.6.1