Skip to content

Commit

Permalink
Merge pull request #9429 from FernetMenta/pvrmanager
Browse files Browse the repository at this point in the history
[pvr] - rework PVRManager, addons are owned by addon system
  • Loading branch information
FernetMenta committed Mar 23, 2016
2 parents ed9c6f0 + de925b0 commit acb89f7
Show file tree
Hide file tree
Showing 33 changed files with 245 additions and 716 deletions.
16 changes: 8 additions & 8 deletions Kodi.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,8 @@
7C1409AA184015C9009F9411 /* InfoExpression.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7C1409A7184015C6009F9411 /* InfoExpression.cpp */; };
7C15DCBC1892481400FCE564 /* InfoBool.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7C15DCBB1892481300FCE564 /* InfoBool.cpp */; };
7C15DCBD1892481400FCE564 /* InfoBool.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7C15DCBB1892481300FCE564 /* InfoBool.cpp */; };
7C1870621CA1664D00114E45 /* PVRClient.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7C1870601CA1664D00114E45 /* PVRClient.cpp */; };
7C1870631CA1664D00114E45 /* PVRClient.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7C1870601CA1664D00114E45 /* PVRClient.cpp */; };
7C1A492315A962EE004AF4A4 /* SeekHandler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7C1A492115A962EE004AF4A4 /* SeekHandler.cpp */; };
7C1A85661520522500C63311 /* TextureCacheJob.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7C1A85631520522500C63311 /* TextureCacheJob.cpp */; };
7C1D682915A7D2FD00658B65 /* DatabaseManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 7C1D682715A7D2FD00658B65 /* DatabaseManager.cpp */; };
Expand Down Expand Up @@ -744,7 +746,6 @@
B542632B197D353B00726998 /* PosixInterfaceForCLog.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B5426329197D353B00726998 /* PosixInterfaceForCLog.cpp */; };
B542632C197D353B00726998 /* PosixInterfaceForCLog.cpp in Sources */ = {isa = PBXBuildFile; fileRef = B5426329197D353B00726998 /* PosixInterfaceForCLog.cpp */; };
C807114D135DB5CC002F601B /* InputOperations.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C807114B135DB5CC002F601B /* InputOperations.cpp */; };
C84828C0156CFCD8005A996F /* PVRClient.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C8482874156CFCD8005A996F /* PVRClient.cpp */; };
C84828C1156CFCD8005A996F /* PVRClients.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C8482876156CFCD8005A996F /* PVRClients.cpp */; };
C84828C3156CFCD8005A996F /* PVRChannel.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C848287A156CFCD8005A996F /* PVRChannel.cpp */; };
C84828C4156CFCD8005A996F /* PVRChannelGroup.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C848287C156CFCD8005A996F /* PVRChannelGroup.cpp */; };
Expand Down Expand Up @@ -1929,7 +1930,6 @@
E49913EF174E5FB000741B6D /* ProfilesManager.cpp in Sources */ = {isa = PBXBuildFile; fileRef = DF28ED9C170E1A11005FA9D2 /* ProfilesManager.cpp */; };
E49913F0174E5FB000741B6D /* GUIViewStatePrograms.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 886328190E07B37200BB3DAB /* GUIViewStatePrograms.cpp */; };
E49913F1174E5FB000741B6D /* GUIWindowPrograms.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E38E18230D25F9FA00618676 /* GUIWindowPrograms.cpp */; };
E49913F2174E5FB000741B6D /* PVRClient.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C8482874156CFCD8005A996F /* PVRClient.cpp */; };
E49913F3174E5FB000741B6D /* PVRClients.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C8482876156CFCD8005A996F /* PVRClients.cpp */; };
E49913F4174E5FB000741B6D /* PVRChannel.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C848287A156CFCD8005A996F /* PVRChannel.cpp */; };
E49913F5174E5FB000741B6D /* PVRChannelGroup.cpp in Sources */ = {isa = PBXBuildFile; fileRef = C848287C156CFCD8005A996F /* PVRChannelGroup.cpp */; };
Expand Down Expand Up @@ -2860,6 +2860,8 @@
7C1409A7184015C6009F9411 /* InfoExpression.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = InfoExpression.cpp; sourceTree = "<group>"; };
7C1409A8184015C8009F9411 /* InfoExpression.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InfoExpression.h; sourceTree = "<group>"; };
7C15DCBB1892481300FCE564 /* InfoBool.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = InfoBool.cpp; sourceTree = "<group>"; };
7C1870601CA1664D00114E45 /* PVRClient.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PVRClient.cpp; sourceTree = "<group>"; };
7C1870611CA1664D00114E45 /* PVRClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PVRClient.h; sourceTree = "<group>"; };
7C1A492115A962EE004AF4A4 /* SeekHandler.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SeekHandler.cpp; sourceTree = "<group>"; };
7C1A492215A962EE004AF4A4 /* SeekHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SeekHandler.h; sourceTree = "<group>"; };
7C1A495B15A96918004AF4A4 /* SaveFileStateJob.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SaveFileStateJob.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -3487,8 +3489,6 @@
B542632E19917D3500726998 /* params_check_macros.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = params_check_macros.h; sourceTree = "<group>"; };
C807114B135DB5CC002F601B /* InputOperations.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = InputOperations.cpp; sourceTree = "<group>"; };
C807114C135DB5CC002F601B /* InputOperations.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InputOperations.h; sourceTree = "<group>"; };
C8482874156CFCD8005A996F /* PVRClient.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PVRClient.cpp; sourceTree = "<group>"; };
C8482875156CFCD8005A996F /* PVRClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PVRClient.h; sourceTree = "<group>"; };
C8482876156CFCD8005A996F /* PVRClients.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PVRClients.cpp; sourceTree = "<group>"; };
C8482877156CFCD8005A996F /* PVRClients.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PVRClients.h; sourceTree = "<group>"; };
C848287A156CFCD8005A996F /* PVRChannel.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = PVRChannel.cpp; sourceTree = "<group>"; };
Expand Down Expand Up @@ -5154,6 +5154,8 @@
395C2A081A9F06EB00EBC7AD /* LanguageResource.h */,
183FDF8811AF0B0500B81E9C /* PluginSource.cpp */,
183FDF8911AF0B0500B81E9C /* PluginSource.h */,
7C1870601CA1664D00114E45 /* PVRClient.cpp */,
7C1870611CA1664D00114E45 /* PVRClient.h */,
C85EB75A1174614E0008E5A5 /* Repository.cpp */,
C85EB75B1174614E0008E5A5 /* Repository.h */,
39B4F36E1B96F845009B2D88 /* RepositoryUpdater.cpp */,
Expand Down Expand Up @@ -6950,8 +6952,6 @@
C8482872156CFCD8005A996F /* addons */ = {
isa = PBXGroup;
children = (
C8482874156CFCD8005A996F /* PVRClient.cpp */,
C8482875156CFCD8005A996F /* PVRClient.h */,
C8482876156CFCD8005A996F /* PVRClients.cpp */,
C8482877156CFCD8005A996F /* PVRClients.h */,
);
Expand Down Expand Up @@ -10086,6 +10086,7 @@
F5F244651110DC6B009126C6 /* FileOperationJob.cpp in Sources */,
DF0E4AC51AD597ED00A75430 /* VideoPlayerRadioRDS.cpp in Sources */,
F5F245EE1112C9AB009126C6 /* FileUtils.cpp in Sources */,
7C1870621CA1664D00114E45 /* PVRClient.cpp in Sources */,
F5A7A702112893E50059D6AA /* AnnouncementManager.cpp in Sources */,
F5A7A85B112908F00059D6AA /* WebServer.cpp in Sources */,
7C7B2B301134F36400713D6D /* mysqldataset.cpp in Sources */,
Expand Down Expand Up @@ -10360,7 +10361,6 @@
76F4C37E1C8E92E000A1E64B /* AddonCallbacksInputStream.cpp in Sources */,
7C6EB330155BD1D40080368A /* ImageFile.cpp in Sources */,
7C6EB6FA155F32C30080368A /* HTTPImageHandler.cpp in Sources */,
C84828C0156CFCD8005A996F /* PVRClient.cpp in Sources */,
C84828C1156CFCD8005A996F /* PVRClients.cpp in Sources */,
C84828C3156CFCD8005A996F /* PVRChannel.cpp in Sources */,
C84828C4156CFCD8005A996F /* PVRChannelGroup.cpp in Sources */,
Expand Down Expand Up @@ -11391,7 +11391,6 @@
E49913F0174E5FB000741B6D /* GUIViewStatePrograms.cpp in Sources */,
7C8E023B1BA35D0B0072E8B2 /* PlayerBuiltins.cpp in Sources */,
E49913F1174E5FB000741B6D /* GUIWindowPrograms.cpp in Sources */,
E49913F2174E5FB000741B6D /* PVRClient.cpp in Sources */,
E49913F3174E5FB000741B6D /* PVRClients.cpp in Sources */,
E49913F4174E5FB000741B6D /* PVRChannel.cpp in Sources */,
E49913F5174E5FB000741B6D /* PVRChannelGroup.cpp in Sources */,
Expand Down Expand Up @@ -11543,6 +11542,7 @@
E499148D174E606500741B6D /* GUIWindowVideoBase.cpp in Sources */,
E499148E174E606500741B6D /* GUIWindowVideoNav.cpp in Sources */,
E499148F174E606600741B6D /* GUIWindowVideoPlaylist.cpp in Sources */,
7C1870631CA1664D00114E45 /* PVRClient.cpp in Sources */,
E4991490174E606600741B6D /* Bookmark.cpp in Sources */,
E4991491174E606600741B6D /* FFmpegVideoDecoder.cpp in Sources */,
E4991492174E606600741B6D /* GUIViewStateVideo.cpp in Sources */,
Expand Down
10 changes: 1 addition & 9 deletions addons/resource.language.en_gb/resources/strings.po
Original file line number Diff line number Diff line change
Expand Up @@ -9649,15 +9649,7 @@ msgctxt "#19239"
msgid "Starting background threads"
msgstr ""

#: xbmc/pvr/addons/PVRClients.cpp
msgctxt "#19240"
msgid "No PVR add-on enabled"
msgstr ""

#: xbmc/pvr/addons/PVRClients.cpp
msgctxt "#19241"
msgid "The PVR manager has been enabled without any enabled PVR add-on. Enable at least one add-on in order to use the PVR functionality."
msgstr ""
#empty strings from id 19240 to 19241

#. Label for context menu entry to open settings dialog for a timer
#: xbmc/pvr/windows/GUIWindowPVRGuide.cpp
Expand Down
4 changes: 2 additions & 2 deletions project/VS2010Express/XBMC.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@
<ClCompile Include="..\..\xbmc\addons\InputStream.cpp" />
<ClCompile Include="..\..\xbmc\addons\LanguageResource.cpp" />
<ClCompile Include="..\..\xbmc\addons\PluginSource.cpp" />
<ClCompile Include="..\..\xbmc\addons\PVRClient.cpp" />
<ClCompile Include="..\..\xbmc\addons\Repository.cpp" />
<ClCompile Include="..\..\xbmc\addons\RepositoryUpdater.cpp" />
<ClCompile Include="..\..\xbmc\addons\Service.cpp" />
Expand Down Expand Up @@ -843,7 +844,6 @@
<ClCompile Include="..\..\xbmc\profiles\windows\GUIWindowSettingsProfile.cpp" />
<ClCompile Include="..\..\xbmc\programs\GUIViewStatePrograms.cpp" />
<ClCompile Include="..\..\xbmc\programs\GUIWindowPrograms.cpp" />
<ClCompile Include="..\..\xbmc\pvr\addons\PVRClient.cpp" />
<ClCompile Include="..\..\xbmc\pvr\addons\PVRClients.cpp" />
<ClCompile Include="..\..\xbmc\pvr\channels\PVRChannel.cpp" />
<ClCompile Include="..\..\xbmc\pvr\channels\PVRChannelGroup.cpp" />
Expand Down Expand Up @@ -1004,6 +1004,7 @@
<ClInclude Include="..\..\xbmc\addons\kodi-addon-dev-kit\include\kodi\xbmc_vis_dll.h" />
<ClInclude Include="..\..\xbmc\addons\kodi-addon-dev-kit\include\kodi\xbmc_vis_types.h" />
<ClInclude Include="..\..\xbmc\addons\InputStream.h" />
<ClInclude Include="..\..\xbmc\addons\PVRClient.h" />
<ClInclude Include="..\..\xbmc\addons\Webinterface.h" />
<ClInclude Include="..\..\xbmc\addons\UISoundsResource.h" />
<ClInclude Include="..\..\xbmc\addons\LanguageResource.h" />
Expand Down Expand Up @@ -2242,7 +2243,6 @@
<ClInclude Include="..\..\xbmc\powermanagement\windows\Win32PowerSyscall.h" />
<ClInclude Include="..\..\xbmc\programs\GUIViewStatePrograms.h" />
<ClInclude Include="..\..\xbmc\programs\GUIWindowPrograms.h" />
<ClInclude Include="..\..\xbmc\pvr\addons\PVRClient.h" />
<ClInclude Include="..\..\xbmc\pvr\addons\PVRClients.h" />
<ClInclude Include="..\..\xbmc\pvr\channels\PVRChannel.h" />
<ClInclude Include="..\..\xbmc\pvr\channels\PVRChannelGroup.h" />
Expand Down
12 changes: 6 additions & 6 deletions project/VS2010Express/XBMC.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -1722,9 +1722,6 @@
<ClCompile Include="..\..\xbmc\pvr\channels\PVRRadioRDSInfoTag.cpp">
<Filter>pvr\channels</Filter>
</ClCompile>
<ClCompile Include="..\..\xbmc\pvr\addons\PVRClient.cpp">
<Filter>pvr\addons</Filter>
</ClCompile>
<ClCompile Include="..\..\xbmc\dialogs\GUIDialogExtendedProgressBar.cpp">
<Filter>dialogs</Filter>
</ClCompile>
Expand Down Expand Up @@ -3465,6 +3462,9 @@
</ClCompile>
<ClCompile Include="..\..\xbmc\ServiceBroker.cpp" />
<ClCompile Include="..\..\xbmc\ServiceManager.cpp" />
<ClCompile Include="..\..\xbmc\addons\PVRClient.cpp">
<Filter>addons</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\xbmc\win32\pch.h">
Expand Down Expand Up @@ -4915,9 +4915,6 @@
<ClInclude Include="..\..\xbmc\pvr\channels\PVRRadioRDSInfoTag.h">
<Filter>pvr\channels</Filter>
</ClInclude>
<ClInclude Include="..\..\xbmc\pvr\addons\PVRClient.h">
<Filter>pvr\addons</Filter>
</ClInclude>
<ClInclude Include="..\..\xbmc\dialogs\GUIDialogExtendedProgressBar.h">
<Filter>dialogs</Filter>
</ClInclude>
Expand Down Expand Up @@ -6732,6 +6729,9 @@
</ClInclude>
<ClInclude Include="..\..\xbmc\ServiceBroker.h" />
<ClInclude Include="..\..\xbmc\ServiceManager.h" />
<ClInclude Include="..\..\xbmc\addons\PVRClient.h">
<Filter>addons</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\..\xbmc\win32\XBMC_PC.rc">
Expand Down
15 changes: 0 additions & 15 deletions system/settings/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1162,11 +1162,6 @@
<section id="pvr" label="19180" help="36201">
<category id="pvrmanager" label="128" help="36202">
<group id="1">
<setting id="pvrmanager.enabled" type="boolean" label="449" help="36203">
<level>0</level>
<default>false</default>
<control type="toggle" />
</setting>
<setting id="pvrmanager.hideconnectionlostwarning" type="boolean" label="19269" help="36210">
<level>2</level>
<default>false</default>
Expand All @@ -1193,23 +1188,14 @@
<group id="3">
<setting id="pvrmanager.channelmanager" type="action" label="19199" help="36207">
<level>1</level>
<dependencies>
<dependency type="enable" setting="pvrmanager.enabled">true</dependency>
</dependencies>
<control type="button" format="action" />
</setting>
<setting id="pvrmanager.groupmanager" type="action" label="19048" help="36213">
<level>1</level>
<dependencies>
<dependency type="enable" setting="pvrmanager.enabled">true</dependency>
</dependencies>
<control type="button" format="action" />
</setting>
<setting id="pvrmanager.channelscan" type="action" label="19117" help="36208">
<level>1</level>
<dependencies>
<dependency type="enable" setting="pvrmanager.enabled">true</dependency>
</dependencies>
<control type="button" format="action" />
</setting>
</group>
Expand Down Expand Up @@ -1257,7 +1243,6 @@
<dependencies>
<dependency type="enable">
<and>
<condition setting="pvrmanager.enabled" operator="is">true</condition>
<condition setting="pvrmenu.iconpath" operator="!is"></condition>
</and>
</dependency>
Expand Down
23 changes: 5 additions & 18 deletions xbmc/Application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1154,9 +1154,6 @@ bool CApplication::Initialize()
#endif
ADDON::CAddonMgr::GetInstance().StartServices(false);

// start the PVR manager
StartPVRManager();

// activate the configured start window
int firstWindow = g_SkinInfo->GetFirstWindow();
g_windowManager.ActivateWindow(firstWindow);
Expand All @@ -1166,6 +1163,11 @@ bool CApplication::Initialize()

CStereoscopicsManager::GetInstance().Initialize();
CApplicationMessenger::GetInstance().SendMsg(TMSG_SETAUDIODSPSTATE, ACTIVE_AE_DSP_STATE_ON, ACTIVE_AE_DSP_SYNC_ACTIVATE); // send a blocking message to active AudioDSP engine

if (!m_ServiceManager->Init3())
{
CLog::Log(LOGERROR, "Application - Init3 failed");
}
}

}
Expand Down Expand Up @@ -1267,14 +1269,6 @@ bool CApplication::StartServer(enum ESERVERS eServer, bool bStart, bool bWait/*
return ret;
}

void CApplication::StartPVRManager()
{
if (!CSettings::GetInstance().GetBool(CSettings::SETTING_PVRMANAGER_ENABLED))
return;

g_PVRManager.Start(true);
}

void CApplication::StopPVRManager()
{
CLog::Log(LOGINFO, "stopping PVRManager");
Expand Down Expand Up @@ -2496,13 +2490,6 @@ void CApplication::OnApplicationMessage(ThreadMessage* pMsg)
break;
#endif

case TMSG_SETPVRMANAGERSTATE:
if (pMsg->param1 != 0)
StartPVRManager();
else
StopPVRManager();
break;

case TMSG_SETAUDIODSPSTATE:
if(pMsg->param1 == ACTIVE_AE_DSP_STATE_ON)
ActiveAE::CActiveAEDSP::GetInstance().Activate(pMsg->param2 == ACTIVE_AE_DSP_ASYNC_ACTIVATE);
Expand Down
1 change: 0 additions & 1 deletion xbmc/Application.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ class CApplication : public CXBApplicationEx, public IPlayerCallback, public IMs

bool StartServer(enum ESERVERS eServer, bool bStart, bool bWait = false);

void StartPVRManager();
void StopPVRManager();
bool IsCurrentThread() const;
void Stop(int exitCode);
Expand Down
14 changes: 11 additions & 3 deletions xbmc/ServiceManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ bool CServiceManager::Init1()
m_XBPython.reset(new XBPython());
CScriptInvocationManager::GetInstance().RegisterLanguageInvocationHandler(m_XBPython.get(), ".py");

m_PVRManager.reset(new PVR::CPVRManager());

return true;
}

Expand All @@ -44,17 +42,27 @@ bool CServiceManager::Init2()
CLog::Log(LOGFATAL, "CServiceManager::Init: Unable to start CAddonMgr");
return false;
}

m_PVRManager.reset(new PVR::CPVRManager());

m_binaryAddonCache.reset( new ADDON::CBinaryAddonCache());
m_binaryAddonCache->Init();

return true;
}

bool CServiceManager::Init3()
{
m_PVRManager->Init();

return true;
}

void CServiceManager::Deinit()
{
m_binaryAddonCache.reset();
m_addonMgr.reset();
m_PVRManager.reset();
m_addonMgr.reset();
m_XBPython.reset();
m_announcementManager.reset();
}
Expand Down
1 change: 1 addition & 0 deletions xbmc/ServiceManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class CServiceManager
public:
bool Init1();
bool Init2();
bool Init3();
void Deinit();
ADDON::CAddonMgr& GetAddonMgr();
ADDON::CBinaryAddonCache& GetBinaryAddonCache();
Expand Down
2 changes: 1 addition & 1 deletion xbmc/addons/AddonBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#include "cores/AudioEngine/DSPAddons/ActiveAEDSPAddon.h"
#include "games/controllers/Controller.h"
#include "peripherals/addons/PeripheralAddon.h"
#include "pvr/addons/PVRClient.h"
#include "addons/PVRClient.h"


namespace ADDON
Expand Down
5 changes: 2 additions & 3 deletions xbmc/addons/AddonManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,8 @@
#ifdef HAS_SCREENSAVER
#include "ScreenSaver.h"
#endif
#ifdef HAS_PVRCLIENTS
#include "pvr/addons/PVRClient.h"
#endif

#include "addons/PVRClient.h"
#include "games/controllers/Controller.h"
#include "peripherals/addons/PeripheralAddon.h"

Expand Down
2 changes: 2 additions & 0 deletions xbmc/addons/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ set(SOURCES Addon.cpp
InputStream.cpp
LanguageResource.cpp
PluginSource.cpp
PVRClient.cpp
Repository.cpp
RepositoryUpdater.cpp
Scraper.cpp
Expand Down Expand Up @@ -56,6 +57,7 @@ set(HEADERS Addon.h
InputStream.h
LanguageResource.h
PluginSource.h
PVRClient.h
Repository.h
RepositoryUpdater.h
Resource.h
Expand Down
1 change: 1 addition & 0 deletions xbmc/addons/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ SRCS=Addon.cpp \
InputStream.cpp \
LanguageResource.cpp \
PluginSource.cpp \
PVRClient.cpp \
Repository.cpp \
RepositoryUpdater.cpp \
Scraper.cpp \
Expand Down
Loading

0 comments on commit acb89f7

Please sign in to comment.