19 #ifndef LIB_QUENTIER_PRIVATE_SYNCHRONIZATION_SYNC_STATE_PERSISTENCE_MANAGER_H 20 #define LIB_QUENTIER_PRIVATE_SYNCHRONIZATION_SYNC_STATE_PERSISTENCE_MANAGER_H 22 #include <quentier/utility/Macros.h> 23 #include <quentier/utility/Linkage.h> 24 #include <quentier/types/Account.h> 26 #include <qt5qevercloud/QEverCloud.h> 41 void getPersistentSyncState(
42 const Account & account, qint32 & userOwnDataUpdateCount,
43 qevercloud::Timestamp & userOwnDataSyncTime,
44 QHash<QString,qint32> & linkedNotebookUpdateCountsByLinkedNotebookGuid,
45 QHash<QString,qevercloud::Timestamp> & linkedNotebookSyncTimesByLinkedNotebookGuid);
47 void persistSyncState(
48 const Account & account,
const qint32 userOwnDataUpdateCount,
49 const qevercloud::Timestamp userOwnDataSyncTime,
50 const QHash<QString,qint32> & linkedNotebookUpdateCountsByLinkedNotebookGuid,
51 const QHash<QString,qevercloud::Timestamp> & linkedNotebookSyncTimesByLinkedNotebookGuid);
54 void notifyPersistentSyncStateUpdated(
55 Account account, qint32 userOwnDataUpdateCount,
56 qevercloud::Timestamp userOwnDataSyncTime,
57 QHash<QString,qint32> linkedNotebookUpdateCountsByLinkedNotebookGuid,
58 QHash<QString,qevercloud::Timestamp> linkedNotebookSyncTimesByLinkedNotebookGuid);
66 #endif // LIB_QUENTIER_PRIVATE_SYNCHRONIZATION_SYNC_STATE_PERSISTENCE_MANAGER_H Definition: SyncStatePersistenceManager.h:35
The Account class encapsulates some details about the account: its name, whether it is local or synch...
Definition: Account.h:39