File indexing completed on 2024-04-21 03:51:44
0001 /* 0002 SPDX-FileCopyrightText: 2015 Vishesh Handa <vhanda@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.1-or-later 0005 */ 0006 0007 #ifndef BALOO_FILECONTENTINDEXERPROVIDER_H 0008 #define BALOO_FILECONTENTINDEXERPROVIDER_H 0009 0010 #include <QVector> 0011 0012 namespace Baloo { 0013 0014 class Database; 0015 0016 class FileContentIndexerProvider 0017 { 0018 public: 0019 explicit FileContentIndexerProvider(Database* db); 0020 0021 uint size(); 0022 QVector<quint64> fetch(uint size); 0023 bool markFailed(quint64 id); 0024 0025 private: 0026 Database* m_db; 0027 }; 0028 } 0029 0030 #endif // BALOO_FILECONTENTINDEXERPROVIDER_H