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

@@ -27,7 +27,7 @@
//
void
CProtocolUtil::writef(IStream* stream, const char* fmt, ...)
CProtocolUtil::writef(synergy::IStream* stream, const char* fmt, ...)
{
assert(stream != NULL);
assert(fmt != NULL);
@@ -43,7 +43,7 @@ CProtocolUtil::writef(IStream* stream, const char* fmt, ...)
}
bool
CProtocolUtil::readf(IStream* stream, const char* fmt, ...)
CProtocolUtil::readf(synergy::IStream* stream, const char* fmt, ...)
{
assert(stream != NULL);
assert(fmt != NULL);
@@ -64,7 +64,7 @@ CProtocolUtil::readf(IStream* stream, const char* fmt, ...)
}
void
CProtocolUtil::vwritef(IStream* stream,
CProtocolUtil::vwritef(synergy::IStream* stream,
const char* fmt, UInt32 size, va_list args)
{
assert(stream != NULL);
@@ -93,7 +93,7 @@ CProtocolUtil::vwritef(IStream* stream,
}
void
CProtocolUtil::vreadf(IStream* stream, const char* fmt, va_list args)
CProtocolUtil::vreadf(synergy::IStream* stream, const char* fmt, va_list args)
{
assert(stream != NULL);
assert(fmt != NULL);
@@ -507,7 +507,7 @@ CProtocolUtil::eatLength(const char** pfmt)
}
void
CProtocolUtil::read(IStream* stream, void* vbuffer, UInt32 count)
CProtocolUtil::read(synergy::IStream* stream, void* vbuffer, UInt32 count)
{
assert(stream != NULL);
assert(vbuffer != NULL);