21#include <quentier/local_storage/Fwd.h>
22#include <quentier/synchronization/Fwd.h>
23#include <quentier/synchronization/types/Fwd.h>
24#include <quentier/types/Account.h>
25#include <quentier/utility/Linkage.h>
26#include <quentier/utility/cancelers/Fwd.h>
28#include <qevercloud/types/TypeAliases.h>
41namespace quentier::synchronization {
48 [[nodiscard]]
virtual QFuture<std::pair<Account, IAuthenticationInfoPtr>>
49 authenticateNewAccount() = 0;
51 [[nodiscard]]
virtual QFuture<IAuthenticationInfoPtr> authenticateAccount(
57 [[nodiscard]]
virtual SyncResult synchronizeAccount(
58 Account account, local_storage::ILocalStoragePtr localStorage,
59 utility::cancelers::ICancelerPtr canceler,
60 ISyncOptionsPtr options =
nullptr,
61 ISyncConflictResolverPtr syncConflictResolver =
nullptr) = 0;
63 virtual void revokeAuthentication(qevercloud::UserID userId) = 0;
The Account class encapsulates some details about the account: its name, whether it is local or synch...
Definition: Account.h:38
Definition: ISyncEventsNotifier.h:33
Definition: ISynchronizer.h:44