[Windows] Fix driver version detection of AMD RDNA+ GPU on Windows 10
[xbmc.git] / xbmc / pvr / epg / EpgSearchPath.h
blob559a3c6ad50d4900ffaacc900397937415f2ddc9
1 /*
2 * Copyright (C) 2012-2021 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 #pragma once
11 #include <string>
13 namespace PVR
15 class CPVREpgSearchFilter;
17 class CPVREpgSearchPath
19 public:
20 static const std::string PATH_SEARCH_DIALOG;
21 static const std::string PATH_TV_SEARCH;
22 static const std::string PATH_TV_SAVEDSEARCHES;
23 static const std::string PATH_RADIO_SEARCH;
24 static const std::string PATH_RADIO_SAVEDSEARCHES;
26 explicit CPVREpgSearchPath(const std::string& strPath);
27 explicit CPVREpgSearchPath(const CPVREpgSearchFilter& search);
29 bool IsValid() const { return m_bValid; }
31 const std::string& GetPath() const { return m_path; }
32 bool IsSearchRoot() const { return m_bRoot; }
33 bool IsRadio() const { return m_bRadio; }
34 bool IsSavedSearchesRoot() const { return m_bSavedSearchesRoot; }
35 bool IsSavedSearch() const { return m_bSavedSearch; }
36 int GetId() const { return m_iId; }
38 private:
39 bool Init(const std::string& strPath);
41 std::string m_path;
42 bool m_bValid = false;
43 bool m_bRoot = false;
44 bool m_bRadio = false;
45 bool m_bSavedSearchesRoot = false;
46 bool m_bSavedSearch = false;
47 int m_iId = -1;
49 } // namespace PVR