libquentier
0.8.0
The library for rich desktop clients of Evernote service
Loading...
Searching...
No Matches
headers
quentier
synchronization
types
ISyncChunksDataCounters.h
1
/*
2
* Copyright 2021-2023 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/utility/Linkage.h>
22
#include <quentier/utility/Printable.h>
23
24
#include <QtGlobal>
25
26
namespace
quentier::synchronization {
27
33
struct
QUENTIER_EXPORT
ISyncChunksDataCounters
:
public
Printable
34
{
35
// ================= Saved searches =================
36
40
[[
nodiscard
]]
virtual
quint64
totalSavedSearches
()
const
noexcept
= 0;
41
45
[[
nodiscard
]]
virtual
quint64
totalExpungedSavedSearches()
46
const
noexcept
= 0;
47
52
[[
nodiscard
]]
virtual
quint64
addedSavedSearches()
const
noexcept
= 0;
53
58
[[
nodiscard
]]
virtual
quint64
updatedSavedSearches()
const
noexcept
= 0;
59
64
[[
nodiscard
]]
virtual
quint64
expungedSavedSearches()
const
noexcept
= 0;
65
66
// ================= Tags =================
67
71
[[
nodiscard
]]
virtual
quint64
totalTags()
const
noexcept
= 0;
72
76
[[
nodiscard
]]
virtual
quint64
totalExpungedTags()
const
noexcept
= 0;
77
81
[[
nodiscard
]]
virtual
quint64
addedTags()
const
noexcept
= 0;
82
86
[[
nodiscard
]]
virtual
quint64
updatedTags()
const
noexcept
= 0;
87
91
[[
nodiscard
]]
virtual
quint64
expungedTags()
const
noexcept
= 0;
92
93
// ================= Linked notebooks =================
94
98
[[
nodiscard
]]
virtual
quint64
totalLinkedNotebooks()
const
noexcept
= 0;
99
103
[[
nodiscard
]]
virtual
quint64
totalExpungedLinkedNotebooks()
104
const
noexcept
= 0;
105
110
[[
nodiscard
]]
virtual
quint64
addedLinkedNotebooks()
const
noexcept
= 0;
111
116
[[
nodiscard
]]
virtual
quint64
updatedLinkedNotebooks()
const
noexcept
= 0;
117
122
[[
nodiscard
]]
virtual
quint64
expungedLinkedNotebooks()
const
noexcept
= 0;
123
124
// ================= Notebooks =================
125
129
[[
nodiscard
]]
virtual
quint64
totalNotebooks()
const
noexcept
= 0;
130
134
[[
nodiscard
]]
virtual
quint64
totalExpungedNotebooks()
const
noexcept
= 0;
135
139
[[
nodiscard
]]
virtual
quint64
addedNotebooks()
const
noexcept
= 0;
140
144
[[
nodiscard
]]
virtual
quint64
updatedNotebooks()
const
noexcept
= 0;
145
150
[[
nodiscard
]]
virtual
quint64
expungedNotebooks()
const
noexcept
= 0;
151
};
152
153
}
// namespace quentier::synchronization
quentier::Printable
The Printable class is the interface for Quentier's internal classes which should be able to write th...
Definition
Printable.h:38
quentier::Result
The Result template class represents the bare bones result monad implementation which either contains...
Definition
Result.h:38
quentier::synchronization::ISyncChunksDataCounters
The ISyncChunksDataCounters interface provides integer counters representing the current progress on ...
Definition
ISyncChunksDataCounters.h:34
quentier::synchronization::ISyncChunksDataCounters::totalSavedSearches
virtual quint64 totalSavedSearches() const noexcept=0
Generated on Sun Jan 26 2025 16:05:44 for libquentier by
1.9.8