LeechCraft Azoth  0.6.70-14771-g9d21b0f8ad
Modular multiprotocol IM plugin for LeechCraft
iadvancedclentry.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_IADVANCEDCLENTRY_H
10 #define PLUGINS_AZOTH_INTERFACES_IADVANCEDCLENTRY_H
12 
13 namespace LC
14 {
15 namespace Azoth
16 {
27  {
28  public:
29  virtual ~IAdvancedCLEntry () {}
30 
35  {
38  AFSupportsAttention = 0x0001
39  };
40 
41  Q_DECLARE_FLAGS (AdvancedFeatures, AdvancedFeature)
42 
43 
48  virtual AdvancedFeatures GetAdvancedFeatures () const = 0;
49 
65  virtual void DrawAttention (const QString& text, const QString& variant) = 0;
66  protected:
83  virtual void attentionDrawn (const QString& text, const QString& variant) = 0;
84 
96  virtual void locationChanged (const QString& variant) = 0;
97  };
98 }
99 }
100 
101 Q_DECLARE_INTERFACE (LC::Azoth::IAdvancedCLEntry,
102  "org.Deviant.LeechCraft.Azoth.IAdvancedCLEntry/1.0")
103 
104 #endif
virtual void locationChanged(const QString &variant)=0
Notifies that entry's geolocation has changed.
virtual ~IAdvancedCLEntry()
virtual void DrawAttention(const QString &text, const QString &variant)=0
Requests attention of the user behind this entry.
virtual void attentionDrawn(const QString &text, const QString &variant)=0
Notifies about attention request from this entry.
virtual AdvancedFeatures GetAdvancedFeatures() const =0
AdvancedFeature
@ AFSupportsAttention