diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-05-03 00:27:28 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-05-03 00:27:28 +0200 |
commit | e1a530f84dce9b4c1b262669157359fbbd436428 (patch) | |
tree | cc372ad70b91977d1f038fe835a139cdf6bfb7d1 /api/logic/icons | |
parent | c50b3cdeec1ce30de7c67f62f026d689afe6930a (diff) | |
download | MultiMC-e1a530f84dce9b4c1b262669157359fbbd436428.tar MultiMC-e1a530f84dce9b4c1b262669157359fbbd436428.tar.gz MultiMC-e1a530f84dce9b4c1b262669157359fbbd436428.tar.lz MultiMC-e1a530f84dce9b4c1b262669157359fbbd436428.tar.xz MultiMC-e1a530f84dce9b4c1b262669157359fbbd436428.zip |
GH-1559 Fix FTB icons
This was caused by separation of GUI and logic. Now logic has an interface that GUI implements.
It should be expanded upon later.
Diffstat (limited to 'api/logic/icons')
-rw-r--r-- | api/logic/icons/IIconList.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/api/logic/icons/IIconList.h b/api/logic/icons/IIconList.h new file mode 100644 index 00000000..a7e0fa07 --- /dev/null +++ b/api/logic/icons/IIconList.h @@ -0,0 +1,20 @@ +#pragma once + +#include <QString> + +enum IconType : unsigned +{ + Builtin, + Transient, + FileBased, + ICONS_TOTAL, + ToBeDeleted +}; + +class IIconList +{ +public: + virtual ~IIconList(){} + virtual bool addIcon(QString key, QString name, QString path, IconType type) = 0; +}; + |