mirror of
https://gitlab.com/comunic/comunicmessages
synced 2025-09-19 05:48:51 +00:00
Added login form
This commit is contained in:
12
helpers/accounthelper.cpp
Normal file
12
helpers/accounthelper.cpp
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
#include "accounthelper.h"
|
||||
|
||||
AccountHelper::AccountHelper(QObject *parent) : QObject(parent)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
bool AccountHelper::signedIn()
|
||||
{
|
||||
return false; //TODO : implement
|
||||
}
|
30
helpers/accounthelper.h
Normal file
30
helpers/accounthelper.h
Normal file
@@ -0,0 +1,30 @@
|
||||
/**
|
||||
* Account helper
|
||||
*
|
||||
* @author Pierre HUBERT
|
||||
*/
|
||||
|
||||
#ifndef ACCOUNTHELPER_H
|
||||
#define ACCOUNTHELPER_H
|
||||
|
||||
#include <QObject>
|
||||
|
||||
class AccountHelper : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit AccountHelper(QObject *parent = nullptr);
|
||||
|
||||
/**
|
||||
* Determine wether user is signed in or not
|
||||
*
|
||||
* @return TRUE if signed in / FALSE else
|
||||
*/
|
||||
bool signedIn();
|
||||
|
||||
signals:
|
||||
|
||||
public slots:
|
||||
};
|
||||
|
||||
#endif // ACCOUNTHELPER_H
|
Reference in New Issue
Block a user