LeechCraft Azoth  0.6.70-15082-g543737046d
Modular multiprotocol IM plugin for LeechCraft
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 
13 namespace LC
14 {
15 namespace Azoth
16 {
30  class IRichTextMessage
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 
75 Q_DECLARE_INTERFACE (LC::Azoth::IRichTextMessage,
76  "org.Deviant.LeechCraft.Azoth.IRichTextMessage/1.0")
77 
78 #endif
LC::Azoth::IRichTextMessage::~IRichTextMessage
virtual ~IRichTextMessage()
Definition: irichtextmessage.h:51
LC::Azoth::IRichTextMessage::SetRichBody
virtual void SetRichBody(const QString &text)=0
Sets the rich text contents.
LC::Azoth::IRichTextMessage::GetRichBody
virtual QString GetRichBody() const =0
Returns the rich text contents.
LC
Definition: activityinfo.h:13
LC::Azoth::IRichTextMessage
Interface for messages supporting rich text contents.
Definition: irichtextmessage.h:42