LeechCraft Azoth  0.6.70-15082-g543737046d
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 {
26  class IAdvancedCLEntry
27  {
28  public:
29  virtual ~IAdvancedCLEntry () {}
30 
34  enum AdvancedFeature
35  {
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
LC::Azoth::IAdvancedCLEntry::GetAdvancedFeatures
virtual AdvancedFeatures GetAdvancedFeatures() const =0
LC::Azoth::IAdvancedCLEntry::locationChanged
virtual void locationChanged(const QString &variant)=0
Notifies that entry's geolocation has changed.
LC::Azoth::IAdvancedCLEntry::AdvancedFeature
AdvancedFeature
Definition: iadvancedclentry.h:52
LC::Azoth::IAdvancedCLEntry::attentionDrawn
virtual void attentionDrawn(const QString &text, const QString &variant)=0
Notifies about attention request from this entry.
imucbookmarkeditorwidget.h
LC::Azoth::IAdvancedCLEntry::AFSupportsAttention
@ AFSupportsAttention
Definition: iadvancedclentry.h:56
LC
Definition: activityinfo.h:13
LC::Azoth::IAdvancedCLEntry
Definition: iadvancedclentry.h:38
LC::Azoth::IAdvancedCLEntry::~IAdvancedCLEntry
virtual ~IAdvancedCLEntry()
Definition: iadvancedclentry.h:47
LC::Azoth::IAdvancedCLEntry::DrawAttention
virtual void DrawAttention(const QString &text, const QString &variant)=0
Requests attention of the user behind this entry.