NCL Library
Public Member Functions | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Static Protected Attributes
CDDEServer Class Reference

#include <DDEServer.hpp>

Inheritance diagram for CDDEServer:
CDDEInst

List of all members.

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)
CDDESvrConvFindConversation (const tchar *pszService, const tchar *pszTopic) const
CDDESvrConvFindConversation (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 CDDEServerg_pDDEServer = NULL

Member Typedef Documentation

typedef std::vector<IDDEServerListener*> CDDEServer::CListeners [protected]

Constructor & Destructor Documentation

CDDEServer::CDDEServer ( DWORD  dwFlags = CBF_SKIP_REGISTRATIONS | CBF_SKIP_UNREGISTRATIONS)

Constructor.

CDDEServer::~CDDEServer ( ) [virtual]

Destructor.


Member Function Documentation

void CDDEServer::Register ( const tchar *  pszService)
void CDDEServer::Unregister ( const tchar *  pszService)
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::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]

Member Data Documentation

CDDEServer * CDDEServer::g_pDDEServer = NULL [static, protected]

The documentation for this class was generated from the following files: