1 | /* |
2 | SPDX-FileCopyrightText: 2015 Vishesh Handa <vhanda@kde.org> |
3 | |
4 | SPDX-License-Identifier: LGPL-2.1-or-later |
5 | */ |
6 | |
7 | #ifndef BALOO_FILECONTENTINDEXERPROVIDER_H |
8 | #define BALOO_FILECONTENTINDEXERPROVIDER_H |
9 | |
10 | #include <QVector> |
11 | |
12 | namespace Baloo { |
13 | |
14 | class Database; |
15 | |
16 | class FileContentIndexerProvider |
17 | { |
18 | public: |
19 | explicit FileContentIndexerProvider(Database* db); |
20 | |
21 | uint size(); |
22 | QVector<quint64> fetch(uint size); |
23 | bool markFailed(quint64 id); |
24 | |
25 | private: |
26 | Database* m_db; |
27 | }; |
28 | } |
29 | |
30 | #endif // BALOO_FILECONTENTINDEXERPROVIDER_H |
31 | |