summaryrefslogtreecommitdiffstats
path: root/api/logic/icons
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/icons')
-rw-r--r--api/logic/icons/IIconList.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/api/logic/icons/IIconList.h b/api/logic/icons/IIconList.h
index ec94cb35..ebf99d05 100644
--- a/api/logic/icons/IIconList.h
+++ b/api/logic/icons/IIconList.h
@@ -1,6 +1,7 @@
#pragma once
#include <QString>
+#include <QStringList>
#include "multimc_logic_export.h"
enum IconType : unsigned
@@ -16,6 +17,9 @@ class MULTIMC_LOGIC_EXPORT IIconList
{
public:
virtual ~IIconList();
- virtual bool addIcon(QString key, QString name, QString path, IconType type) = 0;
+ virtual bool addIcon(const QString &key, const QString &name, const QString &path, const IconType type) = 0;
+ virtual bool deleteIcon(const QString &key) = 0;
+ virtual void saveIcon(const QString &key, const QString &path, const char * format) const = 0;
+ virtual bool iconFileExists(const QString &key) const = 0;
+ virtual void installIcons(const QStringList &iconFiles) = 0;
};
-