mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-23 19:38:26 +02:00
moved stream into synergy namespace (to prevent naming collision in win libs)
implemented ipc "hello" message (to identify client type) integ tests working for hello message, but use of ipc in main program has problem with events.
This commit is contained in:
parent
4e268760b3
commit
3d6551f708
57 changed files with 367 additions and 173 deletions
|
@ -22,7 +22,7 @@
|
|||
#include "CEvent.h"
|
||||
#include "CString.h"
|
||||
|
||||
class IStream;
|
||||
namespace synergy { class IStream; }
|
||||
|
||||
//! Generic proxy for client
|
||||
class CClientProxy : public CBaseClientProxy {
|
||||
|
@ -30,7 +30,7 @@ public:
|
|||
/*!
|
||||
\c name is the name of the client.
|
||||
*/
|
||||
CClientProxy(const CString& name, IStream* adoptedStream);
|
||||
CClientProxy(const CString& name, synergy::IStream* adoptedStream);
|
||||
~CClientProxy();
|
||||
|
||||
//! @name manipulators
|
||||
|
@ -50,7 +50,7 @@ public:
|
|||
/*!
|
||||
Returns the stream passed to the c'tor.
|
||||
*/
|
||||
IStream* getStream() const;
|
||||
synergy::IStream* getStream() const;
|
||||
|
||||
//! Get ready event type
|
||||
/*!
|
||||
|
@ -117,7 +117,7 @@ public:
|
|||
virtual void gameDeviceTimingReq() = 0;
|
||||
|
||||
private:
|
||||
IStream* m_stream;
|
||||
synergy::IStream* m_stream;
|
||||
|
||||
static CEvent::Type s_readyEvent;
|
||||
static CEvent::Type s_disconnectedEvent;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue