 |
LeechCraft Azoth
0.6.70-15082-g543737046d
Modular multiprotocol IM plugin for LeechCraft
|
Go to the documentation of this file.
73 virtual QUrl
GetBaseURL (
const QString& style)
const = 0;
102 const QString& variant, QObject *entry, QWebEnginePage *page)
const = 0;
114 virtual bool AppendMessage (QWebEnginePage *page, QObject *message,
146 "org.Deviant.LeechCraft.Azoth.IChatStyleResourceSource/1.0")
virtual QStringList GetVariantsForPack(const QString &style)=0
Returns the list of variants for the style pack.
virtual void FrameFocused(QWebEnginePage *page)=0
Notifies about a frame obtaining user input focus.
virtual QUrl GetBaseURL(const QString &style) const =0
Returns the base URL for the given style.
Defines additional parameters of the message.
Interface for chat style resource loaders and handlers.
~IChatStyleResourceSource() override=default
virtual bool AppendMessage(QWebEnginePage *page, QObject *message, const ChatMsgAppendInfo &info)=0
Appends a new message to the chat view.
virtual QString GetHTMLTemplate(const QString &style, const QString &variant, QObject *entry, QWebEnginePage *page) const =0
Returns the base HTML template for the given style.
Base interface for specific resource sources.
bool IsActiveChat_
Whether this message is appended in an active session.
IAccount * Account_
The account corresponding to this message.
bool IsHighlightMsg_
Whether this message has triggered a highlight.
Interface representing a single account.
bool UseRichTextBody_
Whether rich text body should be used (if available).