libquentier 0.5.0
The library for rich desktop clients of Evernote service
Loading...
Searching...
No Matches
Classes | Public Types | Signals | Public Member Functions | List of all members
quentier::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::ISyncStateStorage:
Inheritance graph
[legend]
Collaboration diagram for quentier::ISyncStateStorage:
Collaboration graph
[legend]

Classes

class  ISyncState
 The ISyncState interface provides accessory methods to determine the sync state for the account. More...
 

Public Types

using ISyncStatePtr = std::shared_ptr< ISyncState >
 

Signals

void notifySyncStateUpdated (Account account, ISyncStatePtr syncState)
 

Public Member Functions

 ISyncStateStorage (QObject *parent=nullptr)
 
virtual ISyncStatePtr getSyncState (const Account &account)=0
 
virtual void setSyncState (const Account &account, ISyncStatePtr syncState)=0
 

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::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