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:
Nick Bolton 2012-07-05 18:05:35 +00:00
parent 4e268760b3
commit 3d6551f708
57 changed files with 367 additions and 173 deletions

View file

@ -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;