File indexing completed on 2024-11-10 04:30:21
0001 /* 0002 * SPDX-FileCopyrightText: 2011-2016 Ivan Cukic <ivan.cukic@kde.org> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0005 */ 0006 0007 #ifndef RESOURCESDATABASESCHEMA_H 0008 #define RESOURCESDATABASESCHEMA_H 0009 0010 #include "../Database.h" 0011 #include <QStringList> 0012 0013 namespace Common 0014 { 0015 namespace ResourcesDatabaseSchema 0016 { 0017 0018 QString version(); 0019 0020 QStringList schema(); 0021 0022 QString path(); 0023 void overridePath(const QString &path); 0024 0025 void initSchema(Database &database); 0026 0027 } // namespace ResourcesDatabase 0028 } // namespace Common 0029 0030 #endif // RESOURCESDATABASESCHEMA_H