[windows] Fix MAC Address Discovery
[xbmc.git] / xbmc / filesystem / PVRDirectory.cpp
blob915d3f76fb6b1827bf77e3a8e156258356429e21
1 /*
2 * Copyright (C) 2012-2018 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 "PVRDirectory.h"
11 #include "pvr/filesystem/PVRGUIDirectory.h"
13 using namespace XFILE;
14 using namespace PVR;
16 CPVRDirectory::CPVRDirectory() = default;
18 CPVRDirectory::~CPVRDirectory() = default;
20 bool CPVRDirectory::Exists(const CURL& url)
22 const CPVRGUIDirectory dir(url);
23 return dir.Exists();
26 bool CPVRDirectory::GetDirectory(const CURL& url, CFileItemList &items)
28 const CPVRGUIDirectory dir(url);
29 return dir.GetDirectory(items);
32 bool CPVRDirectory::SupportsWriteFileOperations(const std::string& strPath)
34 const CPVRGUIDirectory dir(strPath);
35 return dir.SupportsWriteFileOperations();
38 bool CPVRDirectory::HasTVRecordings()
40 return CPVRGUIDirectory::HasTVRecordings();
43 bool CPVRDirectory::HasDeletedTVRecordings()
45 return CPVRGUIDirectory::HasDeletedTVRecordings();
48 bool CPVRDirectory::HasRadioRecordings()
50 return CPVRGUIDirectory::HasRadioRecordings();
53 bool CPVRDirectory::HasDeletedRadioRecordings()
55 return CPVRGUIDirectory::HasDeletedRadioRecordings();