mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-23 21:05:44 +03:00
test/stub: add some call required by the next patches
As we use the new connection syntax in folderman.cpp, some more symbol need to be mocked
This commit is contained in:
parent
e8a76859c1
commit
3143b32aa5
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
// stub to prevent linker error
|
||||
#include "accountmanager.h"
|
||||
OCC::AccountManager *OCC::AccountManager::instance() { return 0; }
|
||||
OCC::AccountManager *OCC::AccountManager::instance() { return static_cast<AccountManager *>(new QObject); }
|
||||
void OCC::AccountManager::saveAccountState(AccountState *) { }
|
||||
void OCC::AccountManager::save(bool saveCredentials) { Q_UNUSED(saveCredentials); }
|
||||
void OCC::AccountManager::accountRemoved(OCC::AccountState*) { }
|
||||
const QMetaObject OCC::AccountManager::staticMetaObject = QObject::staticMetaObject;
|
||||
|
|
Loading…
Reference in a new issue