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