2001-10-06 18:13:28 +04:00
|
|
|
#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
|
2001-10-14 20:58:01 +04:00
|
|
|
virtual void run();
|
|
|
|
virtual void queryInfo();
|
|
|
|
virtual void sendClose();
|
|
|
|
virtual void sendEnter(SInt32 xAbs, SInt32 yAbs);
|
|
|
|
virtual void sendLeave();
|
2002-04-27 18:19:53 +04:00
|
|
|
virtual void sendClipboard(ClipboardID, const CString&);
|
|
|
|
virtual void sendGrabClipboard(ClipboardID);
|
|
|
|
virtual void sendQueryClipboard(ClipboardID, UInt32 seqNum);
|
2001-10-14 20:58:01 +04:00
|
|
|
virtual void sendScreenSaver(bool on);
|
|
|
|
virtual void sendKeyDown(KeyID, KeyModifierMask);
|
2001-11-25 21:32:41 +03:00
|
|
|
virtual void sendKeyRepeat(KeyID, KeyModifierMask, SInt32 count);
|
2001-10-14 20:58:01 +04:00
|
|
|
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);
|
2001-10-06 18:13:28 +04:00
|
|
|
|
|
|
|
protected:
|
|
|
|
// IServerProtocol overrides
|
2001-10-14 20:58:01 +04:00
|
|
|
virtual void recvInfo();
|
2001-11-25 21:32:41 +03:00
|
|
|
virtual void recvClipboard();
|
|
|
|
virtual void recvGrabClipboard();
|
2001-10-06 18:13:28 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|