30 #ifndef PLUGINS_AZOTH_INTERFACES_ICHATSTYLERESOURCESOURCE_H 31 #define PLUGINS_AZOTH_INTERFACES_ICHATSTYLERESOURCESOURCE_H 89 virtual QUrl GetBaseURL (
const QString& style)
const = 0;
117 virtual QString GetHTMLTemplate (
const QString& style,
118 const QString& variant, QObject *entry, QWebFrame *frame)
const = 0;
130 virtual bool AppendMessage (QWebFrame *frame, QObject *message,
144 virtual void FrameFocused (QWebFrame *frame) = 0;
157 virtual QStringList GetVariantsForPack (
const QString& style) = 0;
163 "org.Deviant.LeechCraft.Azoth.IChatStyleResourceSource/1.0");
Interface for chat style resource loaders and handlers.
virtual ~IChatStyleResourceSource()
bool UseRichTextBody_
Whether rich text body should be used (if available).
Base interface for specific resource sources.
bool IsHighlightMsg_
Whether this message has triggered a highlight.
bool IsActiveChat_
Whether this message is appended in an active session.
Q_DECLARE_INTERFACE(LeechCraft::Azoth::IChatStyleResourceSource,"org.Deviant.LeechCraft.Azoth.IChatStyleResourceSource/1.0")
Defines additional parameters of the message.