[Windows] Fix driver version detection of AMD RDNA+ GPU on Windows 10
[xbmc.git] / xbmc / pvr / PVRComponentRegistration.cpp
blob753228371003f2f344d458b7a325ee8c36ff8c01
1 /*
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.
7 */
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"
22 #include <memory>
24 using namespace PVR;
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));