Some work toward Issue 27 and Issue 319

This commit is contained in:
Nick Bolton 2010-05-31 21:30:29 +00:00
parent fea12827d4
commit f974d8d680
74 changed files with 4057 additions and 3756 deletions

View file

@ -25,6 +25,7 @@
#include "stdmap.h"
#include "stdset.h"
#include "stdvector.h"
#include "INode.h"
class CBaseClientProxy;
class CEventQueueTimer;
@ -35,7 +36,7 @@ class CInputFilter;
/*!
This class implements the top-level server algorithms for synergy.
*/
class CServer {
class CServer : public INode {
public:
//! Lock cursor to screen data
class CLockCursorToScreenInfo {
@ -70,11 +71,10 @@ public:
//! Screen connected data
class CScreenConnectedInfo {
public:
static CScreenConnectedInfo* alloc(const CString& screen);
CScreenConnectedInfo(CString screen) : m_screen(screen) { }
public:
// this is a C-string; this type is a variable size structure
char m_screen[1];
CString m_screen; // was char[1]
};
//! Keyboard broadcast data