mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-18 17:07:45 +02:00
- redesigned drag information protocol
- used DragInformation to encapsulate information and helper functions. - renamed parameters in sendDragInfo function.
This commit is contained in:
parent
2666bf7cf3
commit
9621cba99e
16 changed files with 154 additions and 48 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue