The ISyncStateStorage interface represents the interface of a class which stores sync state for given accounts persistently and provides access to previously stores sync states.
More...
#include <ISyncStateStorage.h>
|
using | ISyncStatePtr = std::shared_ptr< ISyncState > |
|
|
| ISyncStateStorage (QObject *parent=nullptr) |
|
virtual ISyncStatePtr | getSyncState (const Account &account)=0 |
|
virtual void | setSyncState (const Account &account, ISyncStatePtr syncState)=0 |
|
The ISyncStateStorage interface represents the interface of a class which stores sync state for given accounts persistently and provides access to previously stores sync states.
◆ notifySyncStateUpdated
void quentier::ISyncStateStorage::notifySyncStateUpdated |
( |
Account |
account, |
|
|
ISyncStatePtr |
syncState |
|
) |
| |
|
signal |
Classes implementing ISyncStateStorage interface are expected to emit notifySyncStateUpdated signal each time when sync state for the corresponding account is updated