mirror of
https://github.com/debauchee/barrier.git
synced 2024-11-23 09:43:24 +03:00
6aba3a6f57
being listed and they'd have to be added to every one. just doesn't seem worth the trouble.
38 lines
1006 B
C++
38 lines
1006 B
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 sendGrabClipboard();
|
|
virtual void sendQueryClipboard();
|
|
virtual void sendScreenSaver(bool on);
|
|
virtual void sendKeyDown(KeyID, KeyModifierMask);
|
|
virtual void sendKeyRepeat(KeyID, KeyModifierMask);
|
|
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();
|
|
};
|
|
|
|
#endif
|