LeechCraft Azoth
0.6.70-15082-g543737046d
Modular multiprotocol IM plugin for LeechCraft
iaccountactionsprovider.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
#pragma once
10
11
#include <QtPlugin>
12
13
class
QAction;
14
15
template
<
typename
>
16
class
QList
;
17
18
namespace
LC
19
{
20
namespace
Azoth
21
{
22
class
IAccount;
23
24
class
IAccountActionsProvider
25
{
26
protected
:
27
virtual
~IAccountActionsProvider
() =
default
;
28
public
:
29
virtual
QList<QAction*>
CreateActions
(
IAccount
*) = 0;
30
};
31
}
32
}
33
34
Q_DECLARE_INTERFACE (
LC::Azoth::IAccountActionsProvider
,
35
"org.LeechCraft.Azoth.IAccountActionsProvider/1.0"
)
LC::Azoth::IAccountActionsProvider
Definition:
iaccountactionsprovider.h:24
LC::Azoth::IAccountActionsProvider::~IAccountActionsProvider
virtual ~IAccountActionsProvider()=default
QList
Definition:
iaccountactionsprovider.h:16
LC::Azoth::IAccountActionsProvider::CreateActions
virtual QList< QAction * > CreateActions(IAccount *)=0
LC
Definition:
activityinfo.h:13
LC::Azoth::IAccount
Interface representing a single account.
Definition:
iaccount.h:56
src
plugins
azoth
interfaces
azoth
iaccountactionsprovider.h
Generated by
1.8.17