initial revision of synergy. currently semi-supports X windows

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.
This commit is contained in:
crs
2001-05-13 11:40:29 +00:00
commit 900b075e3a
45 changed files with 4100 additions and 0 deletions

40
XBase.cpp Normal file
View File

@@ -0,0 +1,40 @@
#include "XBase.h"
// win32 wants a const char* argument to std::exception c'tor
#if CONFIG_PLATFORM_WIN32
#define STDEXCEPTARG ""
#endif
// default to no argument
#ifndef STDEXCEPTARG
#define STDEXCEPTARG
#endif
//
// XBase
//
XBase::XBase() : exception(STDEXCEPTARG)
{
// do nothing
}
XBase::~XBase()
{
// do nothing
}
const char* XBase::what() const
{
return getType();
}
const char* XBase::getType() const
{
return "XBase.h";
}
CString XBase::format(const CString& fmt) const
{
return fmt;
}