30 #ifndef PLUGINS_AZOTH_INTERFACES_IRESOURCEPLUGIN_H 31 #define PLUGINS_AZOTH_INTERFACES_IRESOURCEPLUGIN_H 33 #include <QStringList> 37 class QAbstractItemModel;
40 inline uint
qHash (
const QImage& image)
42 return image.cacheKey ();
109 virtual QSet<QString> GetEmoticonStrings (
const QString& pack)
const = 0;
126 virtual QHash<QImage, QString> GetReprImages (
const QString& pack)
const = 0;
150 virtual QByteArray GetImage (
const QString& pack,
const QString&
string)
const = 0;
187 "org.Deviant.LeechCraft.Azoth.IEmoticonResourceSource/1.0");
189 "org.Deviant.LeechCraft.Azoth.IResourcePlugin/1.0");
virtual ~IEmoticonResourceSource()
Q_DECLARE_INTERFACE(LeechCraft::Azoth::IEmoticonResourceSource,"org.Deviant.LeechCraft.Azoth.IEmoticonResourceSource/1.0")
uint qHash(const QImage &image)
virtual ~IResourcePlugin()
virtual ~IResourceSource()
Base interface for specific resource sources.
virtual QAbstractItemModel * GetOptionsModel() const =0
Returns the model with the options for resource.
Interface for plugins having resource sources, like smile support or chat window styles.
Interface for smile resource loaders.