1 | /* |
2 | This file is part of the KDE Baloo Project |
3 | SPDX-FileCopyrightText: 2015 Pinak Ahuja <pinak.ahuja@gmail.com> |
4 | |
5 | SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL |
6 | */ |
7 | |
8 | #ifndef BALOO_INDEXER_H |
9 | #define BALOO_INDEXER_H |
10 | |
11 | #include <QString> |
12 | #include <QMimeDatabase> |
13 | #include <KFileMetaData/ExtractorCollection> |
14 | |
15 | #include "transaction.h" |
16 | |
17 | namespace Baloo { |
18 | class Indexer |
19 | { |
20 | public: |
21 | Indexer(const QString& url, Transaction* tr); |
22 | |
23 | void index(); |
24 | |
25 | private: |
26 | QString m_url; |
27 | QMimeDatabase m_mimeDB; |
28 | KFileMetaData::ExtractorCollection ; |
29 | |
30 | Transaction* m_tr; |
31 | }; |
32 | } |
33 | |
34 | #endif //BALOO_INDEXER_H |
35 | |