libquentier 0.8.0
The library for rich desktop clients of Evernote service
Loading...
Searching...
No Matches
Signals | Public Member Functions | Protected Member Functions | List of all members
quentier::synchronization::ISyncStateStorage Class Referenceabstract

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>

Inheritance diagram for quentier::synchronization::ISyncStateStorage:
Inheritance graph
[legend]
Collaboration diagram for quentier::synchronization::ISyncStateStorage:
Collaboration graph
[legend]

Signals

void notifySyncStateUpdated (Account account, ISyncStatePtr syncState)
 

Public Member Functions

virtual ISyncStatePtr getSyncState (const Account &account)=0
 
virtual void setSyncState (const Account &account, ISyncStatePtr syncState)=0
 

Protected Member Functions

 ISyncStateStorage (QObject *parent=nullptr)
 

Detailed Description

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.

Member Function Documentation

◆ notifySyncStateUpdated

void quentier::synchronization::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