21 #include <quentier/synchronization/types/Errors.h> 22 #include <quentier/synchronization/types/Fwd.h> 23 #include <quentier/utility/Linkage.h> 24 #include <quentier/utility/Printable.h> 26 #include <qevercloud/types/Note.h> 27 #include <qevercloud/types/TypeAliases.h> 44 using QExceptionPtr = std::shared_ptr<QException>;
45 using NoteWithException = std::pair<qevercloud::Note, QExceptionPtr>;
46 using GuidWithException = std::pair<qevercloud::Guid, QExceptionPtr>;
47 using UpdateSequenceNumbersByGuid = QHash<qevercloud::Guid, qint32>;
49 [[nodiscard]]
virtual quint64 totalNewNotes()
const = 0;
50 [[nodiscard]]
virtual quint64 totalUpdatedNotes()
const = 0;
51 [[nodiscard]]
virtual quint64 totalExpungedNotes()
const = 0;
53 [[nodiscard]]
virtual QList<NoteWithException> notesWhichFailedToDownload()
56 [[nodiscard]]
virtual QList<NoteWithException> notesWhichFailedToProcess()
59 [[nodiscard]]
virtual QList<GuidWithException>
60 noteGuidsWhichFailedToExpunge()
const = 0;
62 [[nodiscard]]
virtual UpdateSequenceNumbersByGuid
63 processedNoteGuidsAndUsns()
const = 0;
65 [[nodiscard]]
virtual UpdateSequenceNumbersByGuid
66 cancelledNoteGuidsAndUsns()
const = 0;
68 [[nodiscard]]
virtual QList<qevercloud::Guid> expungedNoteGuids()
const = 0;
70 [[nodiscard]]
virtual StopSynchronizationError stopSynchronizationError()
The IDownloadNotesStatus interface presents information about the status of notes downloading process...
Definition: IDownloadNotesStatus.h:41
Definition: synchronization/Factory.h:35
The Printable class is the interface for Quentier's internal classes which should be able to write th...
Definition: Printable.h:37