LeechCraft Azoth 0.6.70-16373-g319c272718
Modular multiprotocol IM plugin for LeechCraft
Loading...
Searching...
No Matches
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
13namespace LC
14{
15namespace Azoth
16{
26 {
27 public:
29
42 virtual QObject* GetSelfContact () const = 0;
43
55 virtual QIcon GetAccountIcon () const = 0;
56 };
57}
58}
59
60Q_DECLARE_INTERFACE (LC::Azoth::IExtSelfInfoAccount,
61 "org.Deviant.LeechCraft.Azoth.IExtSelfInfoAccount/1.0")
62
63#endif
Interface for accounts with extended self information.
virtual QObject * GetSelfContact() const =0
Returns the self-contact of this account.
virtual QIcon GetAccountIcon() const =0
Returns the icon of this account.