#include <CProtocolUtil.h>
Static Public Member Functions | |
void | writef (IStream *, const char *fmt,...) |
Write formatted data. | |
bool | readf (IStream *, const char *fmt,...) |
Read formatted data. |
This class provides various functions for implementing the synergy protocol.
Definition at line 29 of file CProtocolUtil.h.
|
Read formatted data. Read formatted binary data from a buffer. This performs the reverse operation of writef(). Returns true if the entire format was successfully parsed, false otherwise. Format specifiers are:
Definition at line 43 of file CProtocolUtil.cpp. |
|
Write formatted data.
Write formatted binary data to a stream. Format specifiers are:
Definition at line 27 of file CProtocolUtil.cpp. Referenced by CClientProxy::close(), CClientProxy1_0::enter(), CClientProxy1_0::grabClipboard(), CClientProxy1_1::keyDown(), CClientProxy1_0::keyDown(), CClientProxy1_1::keyRepeat(), CClientProxy1_0::keyRepeat(), CClientProxy1_1::keyUp(), CClientProxy1_0::keyUp(), CClientProxy1_0::leave(), CClientProxy1_0::mouseDown(), CClientProxy1_0::mouseMove(), CClientProxy1_2::mouseRelativeMove(), CClientProxy1_0::mouseUp(), CClientProxy1_3::mouseWheel(), CClientProxy1_0::mouseWheel(), CClientProxy1_0::resetOptions(), CClientProxy1_0::screensaver(), CClientProxy1_0::setClipboard(), and CClientProxy1_0::setOptions(). |