Expose more login related JSON API

/rsLoginHelper/isLoggedIn to check if already logged in
/rsAccounts/getCurrentAccountId to get the id of current selected
  account, beware that an account may be selected without actually logging in
This commit is contained in:
Gioacchino Mazzurco 2018-08-30 19:06:20 +02:00
parent a9b1a15b43
commit a8ddec03fc
No known key found for this signature in database
GPG key ID: A1FBCA3872E87051
7 changed files with 105 additions and 55 deletions

View file

@ -79,8 +79,8 @@ const double RsServer::maxTimeDelta = 0.2;
const double RsServer::kickLimit = 0.15;
RsServer::RsServer()
: coreMutex("RsServer")
RsServer::RsServer() :
coreMutex("RsServer"), coreReady(false)
{
// This is needed asap.
//