refactored client code. it now uses IClient and IServer and

has a CServerProxy, making it's design similar to the server
code.
This commit is contained in:
crs
2002-07-10 20:18:32 +00:00
parent df6748f669
commit 710e1bdd47
15 changed files with 1207 additions and 669 deletions

View File

@@ -149,7 +149,7 @@ CPrimaryClient::onScreenSaver(bool activated)
m_server->onScreenSaver(activated);
}
void
bool
CPrimaryClient::open()
{
// all clipboards are clean and owned by us
@@ -160,6 +160,8 @@ CPrimaryClient::open()
// now open the screen
m_screen->open();
return true;
}
void
@@ -296,6 +298,12 @@ CPrimaryClient::getCenter(SInt32& x, SInt32& y) const
y = m_info.m_my;
}
void
CPrimaryClient::getMousePos(SInt32&, SInt32&) const
{
assert(0 && "shouldn't be called");
}
SInt32
CPrimaryClient::getJumpZoneSize() const
{