21#include <quentier/synchronization/types/Errors.h>
22#include <quentier/utility/Linkage.h>
23#include <quentier/utility/Printable.h>
25#include <qevercloud/types/Note.h>
26#include <qevercloud/types/Notebook.h>
27#include <qevercloud/types/SavedSearch.h>
28#include <qevercloud/types/Tag.h>
29#include <qevercloud/types/TypeAliases.h>
37namespace quentier::synchronization {
47 using QExceptionPtr = std::shared_ptr<QException>;
49 using NoteWithException = std::pair<qevercloud::Note, QExceptionPtr>;
51 using NotebookWithException =
52 std::pair<qevercloud::Notebook, QExceptionPtr>;
54 using SavedSearchWithException =
55 std::pair<qevercloud::SavedSearch, QExceptionPtr>;
57 using TagWithException = std::pair<qevercloud::Tag, QExceptionPtr>;
The Printable class is the interface for Quentier's internal classes which should be able to write th...
Definition Printable.h:38
The Result template class represents the bare bones result monad implementation which either contains...
Definition Result.h:38
The ISendStatus interface represents the information about the attempt to send information either fro...
Definition ISendStatus.h:45
virtual QList< SavedSearchWithException > failedToSendSavedSearches() const =0
virtual QList< NotebookWithException > failedToSendNotebooks() const =0
virtual QList< TagWithException > failedToSendTags() const =0
virtual quint64 totalSuccessfullySentNotebooks() const =0
virtual quint64 totalAttemptedToSendNotes() const =0
virtual StopSynchronizationError stopSynchronizationError() const =0
virtual quint64 totalSuccessfullySentSavedSearches() const =0
virtual quint64 totalSuccessfullySentNotes() const =0
virtual quint64 totalSuccessfullySentTags() const =0
virtual quint64 totalAttemptedToSendNotebooks() const =0
virtual bool needToRepeatIncrementalSync() const =0
virtual QList< NoteWithException > failedToSendNotes() const =0
virtual quint64 totalAttemptedToSendSavedSearches() const =0
virtual quint64 totalAttemptedToSendTags() const =0