LeechCraft Azoth  0.6.70-15082-g543737046d
Modular multiprotocol IM plugin for LeechCraft
iextselfinfoaccount.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_IEXTSELFINFOACCOUNT_H
10 #define PLUGINS_AZOTH_INTERFACES_IEXTSELFINFOACCOUNT_H
11 #include <QMetaType>
12 
13 namespace LC
14 {
15 namespace Azoth
16 {
25  class IExtSelfInfoAccount
26  {
27  public:
28  virtual ~IExtSelfInfoAccount () {}
29 
42  virtual QObject* GetSelfContact () const = 0;
43 
55  virtual QIcon GetAccountIcon () const = 0;
56  };
57 }
58 }
59 
60 Q_DECLARE_INTERFACE (LC::Azoth::IExtSelfInfoAccount,
61  "org.Deviant.LeechCraft.Azoth.IExtSelfInfoAccount/1.0")
62 
63 #endif
LC::Azoth::IExtSelfInfoAccount::~IExtSelfInfoAccount
virtual ~IExtSelfInfoAccount()
Definition: iextselfinfoaccount.h:46
LC::Azoth::IExtSelfInfoAccount::GetAccountIcon
virtual QIcon GetAccountIcon() const =0
Returns the icon of this account.
LC::Azoth::IExtSelfInfoAccount::GetSelfContact
virtual QObject * GetSelfContact() const =0
Returns the self-contact of this account.
LC::Azoth::IExtSelfInfoAccount
Interface for accounts with extended self information.
Definition: iextselfinfoaccount.h:37
LC
Definition: activityinfo.h:13