blob: 753228371003f2f344d458b7a325ee8c36ff8c01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
/*
* Copyright (C) 2022 Team Kodi
* This file is part of Kodi - https://kodi.tv
*
* SPDX-License-Identifier: GPL-2.0-or-later
* See LICENSES/README.md for more information.
*/
#include "PVRComponentRegistration.h"
#include "pvr/guilib/PVRGUIActionsChannels.h"
#include "pvr/guilib/PVRGUIActionsClients.h"
#include "pvr/guilib/PVRGUIActionsDatabase.h"
#include "pvr/guilib/PVRGUIActionsEPG.h"
#include "pvr/guilib/PVRGUIActionsParentalControl.h"
#include "pvr/guilib/PVRGUIActionsPlayback.h"
#include "pvr/guilib/PVRGUIActionsPowerManagement.h"
#include "pvr/guilib/PVRGUIActionsRecordings.h"
#include "pvr/guilib/PVRGUIActionsTimers.h"
#include "pvr/guilib/PVRGUIActionsUtils.h"
#include <memory>
using namespace PVR;
CPVRComponentRegistration::CPVRComponentRegistration()
{
RegisterComponent(std::make_shared<CPVRGUIActionsChannels>());
RegisterComponent(std::make_shared<CPVRGUIActionsClients>());
RegisterComponent(std::make_shared<CPVRGUIActionsDatabase>());
RegisterComponent(std::make_shared<CPVRGUIActionsEPG>());
RegisterComponent(std::make_shared<CPVRGUIActionsParentalControl>());
RegisterComponent(std::make_shared<CPVRGUIActionsPlayback>());
RegisterComponent(std::make_shared<CPVRGUIActionsPowerManagement>());
RegisterComponent(std::make_shared<CPVRGUIActionsRecordings>());
RegisterComponent(std::make_shared<CPVRGUIActionsTimers>());
RegisterComponent(std::make_shared<CPVRGUIActionsUtils>());
}
CPVRComponentRegistration::~CPVRComponentRegistration()
{
DeregisterComponent(typeid(CPVRGUIActionsUtils));
DeregisterComponent(typeid(CPVRGUIActionsTimers));
DeregisterComponent(typeid(CPVRGUIActionsRecordings));
DeregisterComponent(typeid(CPVRGUIActionsPowerManagement));
DeregisterComponent(typeid(CPVRGUIActionsPlayback));
DeregisterComponent(typeid(CPVRGUIActionsParentalControl));
DeregisterComponent(typeid(CPVRGUIActionsEPG));
DeregisterComponent(typeid(CPVRGUIActionsDatabase));
DeregisterComponent(typeid(CPVRGUIActionsClients));
DeregisterComponent(typeid(CPVRGUIActionsChannels));
}
|