mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-09 16:02:46 +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:
@@ -29,7 +29,7 @@ CClientProxy1_0::~CClientProxy1_0()
|
||||
// do nothing
|
||||
}
|
||||
|
||||
void
|
||||
bool
|
||||
CClientProxy1_0::open()
|
||||
{
|
||||
// send request
|
||||
@@ -55,6 +55,8 @@ CClientProxy1_0::open()
|
||||
|
||||
// handle reply
|
||||
recvInfo(false);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void
|
||||
@@ -258,6 +260,12 @@ CClientProxy1_0::getCenter(SInt32& x, SInt32& y) const
|
||||
y = m_info.m_my;
|
||||
}
|
||||
|
||||
void
|
||||
CClientProxy1_0::getMousePos(SInt32&, SInt32&) const
|
||||
{
|
||||
assert(0 && "shouldn't be called");
|
||||
}
|
||||
|
||||
SInt32
|
||||
CClientProxy1_0::getJumpZoneSize() const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user