|
#pragma once
#define UWM_MESSAGE_MSG _T("UWM_MESSAGE-{72A92340-60F9-11d5-A02F-006067718D04}")
extern UINT UWM_MESSAGE;
class CMyChatAPI : public ChatAPI
{
public:
CMyChatAPI(void);
~CMyChatAPI(void);
private:
virtual void onConnected(bool bResult);
virtual void onConnectionClosed(bool bPeerClose);
virtual void PostQueuedConnectionStatusEvent(ConnectionStatusEvent* pEvent);
virtual void PostQueuedDataReceivedEvent(ReceivedDataEvent* pEvent);
virtual void OnDirectChat(std::string sender, std::string msg);
virtual void OnJoinRoom(std::string roomName);
virtual void OnParticipantIn(std::string pseudo);
virtual void OnParticipantOut(std::string pseudo);
virtual void OnRoomChat(std::string sender, std::string msg, std::string room);
virtual void OnRooms(std::vector<std::string>& roomsList);
virtual void OnLoginResponse(bool bAccepted, std::string msg);
};
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.