- redesigned drag information protocol

- used DragInformation to encapsulate information and helper functions.
- renamed parameters in sendDragInfo function.
This commit is contained in:
jerry 2014-05-06 18:26:47 +00:00
parent 2666bf7cf3
commit 9621cba99e
16 changed files with 154 additions and 48 deletions

View file

@ -42,11 +42,11 @@ CClientProxy1_5::~CClientProxy1_5()
}
void
CClientProxy1_5::sendDragInfo(UInt32 fileCount, const char* data, size_t dataSize)
CClientProxy1_5::sendDragInfo(UInt32 fileCount, const char* info, size_t size)
{
CString info(data, dataSize);
CString data(info, size);
CProtocolUtil::writef(getStream(), kMsgDDragInfo, fileCount, &info);
CProtocolUtil::writef(getStream(), kMsgDDragInfo, fileCount, &data);
}
void