LeechCraft Azoth 0.6.70-14794-g33744ae6ce
Modular multiprotocol IM plugin for LeechCraft
Loading...
Searching...
No Matches
irichtextmessage.h
Go to the documentation of this file.
1/**********************************************************************
2 * LeechCraft - modular cross-platform feature rich internet client.
3 * Copyright (C) 2006-2014 Georg Rudoy
4 *
5 * Distributed under the Boost Software License, Version 1.0.
6 * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
7 **********************************************************************/
8
9#ifndef PLUGINS_AZOTH_INTERFACES_IRICHTEXTMESSAGE_H
10#define PLUGINS_AZOTH_INTERFACES_IRICHTEXTMESSAGE_H
11#include <QtPlugin>
12
13namespace LC
14{
15namespace Azoth
16{
31 {
32 public:
33 virtual ~IRichTextMessage () {}
34
55 virtual QString GetRichBody () const = 0;
56
70 virtual void SetRichBody (const QString& text) = 0;
71 };
72}
73}
74
75Q_DECLARE_INTERFACE (LC::Azoth::IRichTextMessage,
76 "org.Deviant.LeechCraft.Azoth.IRichTextMessage/1.0")
77
78#endif
Interface for messages supporting rich text contents.
virtual void SetRichBody(const QString &text)=0
Sets the rich text contents.
virtual QString GetRichBody() const =0
Returns the rich text contents.