mirror of
https://github.com/debauchee/barrier.git
synced 2024-12-22 10:31:45 +03:00
900b075e3a
on unix, but client screens don't simulate events other than mouse move. also not supporting clipboard at all yet and the main app is just a temporary framework to test with. must clean up protocol and communication.
21 lines
282 B
C++
21 lines
282 B
C++
#ifndef CPROTOCOL_H
|
|
#define CPROTOCOL_H
|
|
|
|
#include "BasicTypes.h"
|
|
|
|
class CProtocol {
|
|
public:
|
|
CProtocol();
|
|
virtual ~CProtocol();
|
|
|
|
// manipulators
|
|
|
|
|
|
// accessors
|
|
|
|
void ReadMessage(ISocket*, CMessage&) const;
|
|
void WriteMessage(ISocket*, const CMessage&) const;
|
|
};
|
|
|
|
#endif
|