pollymc/api/logic/icons/IIconList.h
Petr Mrázek e1a530f84d 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.
2016-05-03 00:27:28 +02:00

21 lines
263 B
C++

#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;
};