LeechCraft
0.6.70-16373-g319c272718
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
basehookinterconnector.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 <QObject>
12
#include <QList>
13
#include "
xpcconfig.h
"
14
15
namespace
LC
16
{
17
namespace
Util
18
{
45
class
UTIL_XPC_API
BaseHookInterconnector
:
public
QObject
46
{
47
Q_OBJECT
48
protected
:
49
QList<QObject*>
Plugins_
;
50
public
:
55
BaseHookInterconnector
(QObject *parent = 0);
56
59
virtual
~BaseHookInterconnector
();
60
74
virtual
void
AddPlugin
(QObject *plugin);
75
90
void
RegisterHookable
(QObject *hookable);
91
};
92
}
93
}
LC::Util::BaseHookInterconnector::AddPlugin
virtual void AddPlugin(QObject *plugin)
Adds a subplugin to this interconnector.
Definition
basehookinterconnector.cpp:158
LC::Util::BaseHookInterconnector::Plugins_
QList< QObject * > Plugins_
Definition
basehookinterconnector.h:49
LC::Util::BaseHookInterconnector::RegisterHookable
void RegisterHookable(QObject *hookable)
Adds a hookable object from the root plugin.
Definition
basehookinterconnector.cpp:165
LC::Util::BaseHookInterconnector::BaseHookInterconnector
BaseHookInterconnector(QObject *parent=0)
Creates the interconnector with the given parent.
Definition
basehookinterconnector.cpp:17
QList
Definition
ianrulesstorage.h:14
LC::Util
Definition
icoreproxy.h:34
LC
Definition
constants.h:15
xpcconfig.h
UTIL_XPC_API
#define UTIL_XPC_API
Definition
xpcconfig.h:16
src
util
xpc
basehookinterconnector.h
Generated by
1.13.2