mirror of
https://gitlab.com/comunic/comunicterm
synced 2025-06-19 16:45:17 +00:00
Add main application menu
This commit is contained in:
@ -51,6 +51,13 @@ bool AccountHelper::signedIn()
|
||||
return mToken1.length() > 0 && mToken2.length() > 0 && mUserID > 0;
|
||||
}
|
||||
|
||||
void AccountHelper::SignOut()
|
||||
{
|
||||
mToken1 = "";
|
||||
mToken2 = "";
|
||||
mUserID = -1;
|
||||
}
|
||||
|
||||
bool AccountHelper::refreshUserID()
|
||||
{
|
||||
// Get current user ID
|
||||
|
@ -26,6 +26,7 @@ public:
|
||||
|
||||
|
||||
static bool signedIn();
|
||||
static void SignOut();
|
||||
|
||||
static bool refreshUserID();
|
||||
static int userID();
|
||||
|
Reference in New Issue
Block a user