mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 05:25:50 +03:00
f932dfc648
This allows us to decide on the presentation of the account
14 lines
787 B
C++
14 lines
787 B
C++
// stub to prevent linker error
|
|
#include "accountmanager.h"
|
|
|
|
Q_GLOBAL_STATIC(QObject, dummy)
|
|
|
|
OCC::AccountManager *OCC::AccountManager::instance() { return static_cast<AccountManager *>(dummy()); }
|
|
void OCC::AccountManager::save(bool) { }
|
|
void OCC::AccountManager::saveAccountState(AccountState *) { }
|
|
void OCC::AccountManager::deleteAccount(AccountState *) { }
|
|
void OCC::AccountManager::accountRemoved(OCC::AccountState*) { }
|
|
QList<OCC::AccountStatePtr> OCC::AccountManager::accounts() const { return QList<OCC::AccountStatePtr>(); }
|
|
OCC::AccountStatePtr OCC::AccountManager::account(const QString &){ return AccountStatePtr(); }
|
|
void OCC::AccountManager::removeAccountFolders(OCC::AccountState*) { }
|
|
const QMetaObject OCC::AccountManager::staticMetaObject = QObject::staticMetaObject;
|