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
12namespace Baloo {
13
14class Database;
15
16class FileContentIndexerProvider
17{
18public:
19 explicit FileContentIndexerProvider(Database* db);
20
21 uint size();
22 QVector<quint64> fetch(uint size);
23 bool markFailed(quint64 id);
24
25private:
26 Database* m_db;
27};
28}
29
30#endif // BALOO_FILECONTENTINDEXERPROVIDER_H
31

source code of baloo/src/file/filecontentindexerprovider.h