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.
15 class CPVREpgSearchFilter
;
17 class CPVREpgSearchPath
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
; }
39 bool Init(const std::string
& strPath
);
42 bool m_bValid
= false;
44 bool m_bRadio
= false;
45 bool m_bSavedSearchesRoot
= false;
46 bool m_bSavedSearch
= false;