|
#include "StdAfx.h"
#include "DirectChatRequest.h"
DirectChatRequest::DirectChatRequest(void)
:XMLRequest(DirectChatRequestID)
{
}
DirectChatRequest::~DirectChatRequest(void)
{
}
bool DirectChatRequest::FragmentXML()
{
recipient = getArgumentAsText(L"to");
msg = getArgumentAsText(L"msg");
return true;
}
bool DirectChatRequest::ConstructXML()
{
setArgumentAsText(L"to", recipient.c_str());
setArgumentAsText(L"msg", msg.c_str());
return true;
}
IncomingXMLPacket* DirectChatRequest::CreateInstance()
{
return new DirectChatRequest;
}
|
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.