aboutsummaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/coreSQLiteStudio/services/extralicensemanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'SQLiteStudio3/coreSQLiteStudio/services/extralicensemanager.h')
-rw-r--r--SQLiteStudio3/coreSQLiteStudio/services/extralicensemanager.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/SQLiteStudio3/coreSQLiteStudio/services/extralicensemanager.h b/SQLiteStudio3/coreSQLiteStudio/services/extralicensemanager.h
new file mode 100644
index 0000000..fcf1203
--- /dev/null
+++ b/SQLiteStudio3/coreSQLiteStudio/services/extralicensemanager.h
@@ -0,0 +1,21 @@
+#ifndef EXTRALICENSEMANAGER_H
+#define EXTRALICENSEMANAGER_H
+
+#include "coreSQLiteStudio_global.h"
+#include <QString>
+#include <QHash>
+
+class API_EXPORT ExtraLicenseManager
+{
+ public:
+ ExtraLicenseManager();
+
+ bool addLicense(const QString& title, const QString& filePath);
+ bool removeLicense(const QString& title);
+ const QHash<QString,QString>& getLicenses() const;
+
+ private:
+ QHash<QString,QString> licenses;
+};
+
+#endif // EXTRALISENCEMANAGER_H