libquentier 0.8.0
The library for rich desktop clients of Evernote service
Loading...
Searching...
No Matches
ISyncEventsNotifier.h
1/*
2 * Copyright 2023-2024 Dmitry Ivanov
3 *
4 * This file is part of libquentier
5 *
6 * libquentier is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU Lesser General Public License as published by
8 * the Free Software Foundation, version 3 of the License.
9 *
10 * libquentier is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public License
16 * along with libquentier. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#pragma once
20
21#include <quentier/synchronization/Fwd.h>
22#include <quentier/synchronization/types/Fwd.h>
23#include <quentier/utility/Linkage.h>
24
25#include <qevercloud/types/LinkedNotebook.h>
26
27#include <QList>
28#include <QObject>
29
30namespace quentier::synchronization {
31
33{
35protected:
36 explicit ISyncEventsNotifier(QObject * parent = nullptr);
37
38public:
39 ~ISyncEventsNotifier() override;
40
61
67
72 void syncChunksDataProcessingProgress(ISyncChunksDataCountersPtr counters);
73
83
106 const qevercloud::LinkedNotebook & linkedNotebook);
107
115 const qevercloud::LinkedNotebook & linkedNotebook);
116
126 ISyncChunksDataCountersPtr counters,
127 const qevercloud::LinkedNotebook & linkedNotebook);
128
140
153 const qevercloud::LinkedNotebook & linkedNotebook);
154
167
181 const qevercloud::LinkedNotebook & linkedNotebook);
182
192
200
210 const qevercloud::Guid & linkedNotebookGuid, ISendStatusPtr sendStatus);
211};
212
213} // namespace quentier::synchronization
The Result template class represents the bare bones result monad implementation which either contains...
Definition Result.h:38
Definition ISyncEventsNotifier.h:33
void linkedNotebookSyncChunksDataProcessingProgress(ISyncChunksDataCountersPtr counters, const qevercloud::LinkedNotebook &linkedNotebook)
void linkedNotebookSyncChunksDownloadProgress(qint32 highestDownloadedUsn, qint32 highestServerUsn, qint32 lastPreviousUsn, const qevercloud::LinkedNotebook &linkedNotebook)
void notesDownloadProgress(quint32 notesDownloaded, quint32 totalNotesToDownload)
void linkedNotebookSendStatusUpdate(const qevercloud::Guid &linkedNotebookGuid, ISendStatusPtr sendStatus)
void userOwnSendStatusUpdate(ISendStatusPtr sendStatus)
void linkedNotebookSyncChunksDownloaded(const qevercloud::LinkedNotebook &linkedNotebook)
void syncChunksDataProcessingProgress(ISyncChunksDataCountersPtr counters)
void resourcesDownloadProgress(quint32 resourcesDownloaded, quint32 totalResourcesToDownload)
void linkedNotebookNotesDownloadProgress(quint32 notesDownloaded, quint32 totalNotesToDownload, const qevercloud::LinkedNotebook &linkedNotebook)
void linkedNotebookResourcesDownloadProgress(quint32 resourcesDownloaded, quint32 totalResourcesToDownload, const qevercloud::LinkedNotebook &linkedNotebook)
void startLinkedNotebooksDataDownloading(const QList< qevercloud::LinkedNotebook > &linkedNotebooks)
void syncChunksDownloadProgress(qint32 highestDownloadedUsn, qint32 highestServerUsn, qint32 lastPreviousUsn)