summaryrefslogtreecommitdiffstats
path: root/logic/icons/IconList.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-06-01 01:19:12 +0200
committerPetr Mrázek <peterix@gmail.com>2015-06-01 01:19:12 +0200
commit405cea177877234981019c6916f6f97d818dfd51 (patch)
tree2e1cc92f5bb807836fe8c4ecee98c1015305ce04 /logic/icons/IconList.h
parent96c497f6542daabeaa67e96e4298df50f65663d0 (diff)
downloadMultiMC-405cea177877234981019c6916f6f97d818dfd51.tar
MultiMC-405cea177877234981019c6916f6f97d818dfd51.tar.gz
MultiMC-405cea177877234981019c6916f6f97d818dfd51.tar.lz
MultiMC-405cea177877234981019c6916f6f97d818dfd51.tar.xz
MultiMC-405cea177877234981019c6916f6f97d818dfd51.zip
GH-1031 include icon in exported instance if it is custom
Diffstat (limited to 'logic/icons/IconList.h')
-rw-r--r--logic/icons/IconList.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/logic/icons/IconList.h b/logic/icons/IconList.h
index 07fb1379..cc2ba5c4 100644
--- a/logic/icons/IconList.h
+++ b/logic/icons/IconList.h
@@ -43,6 +43,7 @@ public:
bool addIcon(QString key, QString name, QString path, MMCIcon::Type type);
bool deleteIcon(QString key);
+ bool iconFileExists(QString key);
virtual QStringList mimeTypes() const;
virtual Qt::DropActions supportedDropActions() const;
@@ -52,6 +53,8 @@ public:
void installIcons(QStringList iconFiles);
+ const MMCIcon * icon(QString key);
+
void startWatching();
void stopWatching();