mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-13 23:25:27 +08: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:
@@ -30,7 +30,7 @@ CEvent::Type CClientProxy::s_disconnectedEvent = CEvent::kUnknown;
|
||||
CEvent::Type CClientProxy::s_clipboardChangedEvent= CEvent::kUnknown;
|
||||
CEvent::Type CClientProxy::s_gameDeviceTimingRecvEvent= CEvent::kUnknown;
|
||||
|
||||
CClientProxy::CClientProxy(const CString& name, IStream* stream) :
|
||||
CClientProxy::CClientProxy(const CString& name, synergy::IStream* stream) :
|
||||
CBaseClientProxy(name),
|
||||
m_stream(stream)
|
||||
{
|
||||
@@ -52,7 +52,7 @@ CClientProxy::close(const char* msg)
|
||||
getStream()->flush();
|
||||
}
|
||||
|
||||
IStream*
|
||||
synergy::IStream*
|
||||
CClientProxy::getStream() const
|
||||
{
|
||||
return m_stream;
|
||||
|
||||
Reference in New Issue
Block a user