mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 23:37:46 -04:00
initial import
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@2 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
2cadbd5e56
commit
cc68a136aa
341 changed files with 180839 additions and 0 deletions
33
platform/uiq2/launcher/SimpleClient.cpp
Normal file
33
platform/uiq2/launcher/SimpleClient.cpp
Normal file
|
@ -0,0 +1,33 @@
|
|||
|
||||
// needed for client interface
|
||||
#include "../version.h"
|
||||
#include "../ClientServer.h"
|
||||
#include "SimpleClient.h"
|
||||
|
||||
|
||||
// Connect to the server - default number of message slots = 4
|
||||
TInt RServSession::Connect()
|
||||
{
|
||||
TInt r=CreateSession(KServerName,Version(),kDefaultMessageSlots);
|
||||
return(r);
|
||||
}
|
||||
|
||||
|
||||
// Return the client side version number.
|
||||
TVersion RServSession::Version(void) const
|
||||
{
|
||||
return(TVersion(KPicoMajorVersionNumber,KPicoMinorVersionNumber,0));
|
||||
}
|
||||
|
||||
|
||||
TInt RServSession::SendReceive(TInt aFunction, TAny* aPtr) const
|
||||
{
|
||||
return RSessionBase::SendReceive(aFunction, aPtr);
|
||||
}
|
||||
|
||||
|
||||
TInt RServSession::Send(TInt aFunction, TAny* aPtr) const
|
||||
{
|
||||
return RSessionBase::Send(aFunction, aPtr);
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue