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_MIGRATOR_H
8#define BALOO_MIGRATOR_H
9
10#include <QString>
11
12namespace Baloo {
13
14class FileIndexerConfig;
15
16class Migrator
17{
18public:
19 Migrator(const QString& dbPath, FileIndexerConfig* config);
20
21 bool migrationRequired() const;
22 void migrate();
23
24private:
25 QString m_dbPath;
26 FileIndexerConfig* m_config;
27};
28}
29
30#endif // BALOO_MIGRATOR_H
31

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