mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-08 14:41:57 +08:00
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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user