mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-25 12:06:26 +03:00
f15c9df85b
clipboard owner support (MS windows done, X windows partial) added key transfer on ms windows mutex fixes in CClient (had race conditions) faster debug output in ms windows changed temporary screen name to "secondary" network fixes on ms windows (poll returned wrong result) fixed transparent cursor on ms windows
41 lines
1.1 KiB
C++
41 lines
1.1 KiB
C++
#ifndef CSERVERPROTOCOL1_0_H
|
|
#define CSERVERPROTOCOL1_0_H
|
|
|
|
#include "CServerProtocol.h"
|
|
|
|
class CServerProtocol1_0 : public CServerProtocol {
|
|
public:
|
|
CServerProtocol1_0(CServer*, const CString&, IInputStream*, IOutputStream*);
|
|
~CServerProtocol1_0();
|
|
|
|
// manipulators
|
|
|
|
// accessors
|
|
|
|
// IServerProtocol overrides
|
|
virtual void run();
|
|
virtual void queryInfo();
|
|
virtual void sendClose();
|
|
virtual void sendEnter(SInt32 xAbs, SInt32 yAbs);
|
|
virtual void sendLeave();
|
|
virtual void sendClipboard(const CString&);
|
|
virtual void sendGrabClipboard();
|
|
virtual void sendQueryClipboard(UInt32 seqNum);
|
|
virtual void sendScreenSaver(bool on);
|
|
virtual void sendKeyDown(KeyID, KeyModifierMask);
|
|
virtual void sendKeyRepeat(KeyID, KeyModifierMask, SInt32 count);
|
|
virtual void sendKeyUp(KeyID, KeyModifierMask);
|
|
virtual void sendMouseDown(ButtonID);
|
|
virtual void sendMouseUp(ButtonID);
|
|
virtual void sendMouseMove(SInt32 xAbs, SInt32 yAbs);
|
|
virtual void sendMouseWheel(SInt32 delta);
|
|
|
|
protected:
|
|
// IServerProtocol overrides
|
|
virtual void recvInfo();
|
|
virtual void recvClipboard();
|
|
virtual void recvGrabClipboard();
|
|
};
|
|
|
|
#endif
|