[Windows] Fix driver version detection of AMD RDNA+ GPU on Windows 10
[xbmc.git] / xbmc / pvr / epg / EpgSearchData.h
blobe5e6ef7057e15028b9fac27c3f1bbd9e84c9c0bd
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 #pragma once
11 #include "XBDateTime.h"
13 #include <string>
15 namespace PVR
18 static constexpr int EPG_SEARCH_UNSET = -1;
20 struct PVREpgSearchData
22 std::string m_strSearchTerm; /*!< The term to search for */
23 bool m_bSearchInDescription = false; /*!< Search for strSearchTerm in the description too */
24 bool m_bIncludeUnknownGenres = false; /*!< Whether to include unknown genres */
25 int m_iGenreType = EPG_SEARCH_UNSET; /*!< The genre type for an entry */
26 bool m_bIgnoreFinishedBroadcasts; /*!< True to ignore finished broadcasts, false if not */
27 bool m_bIgnoreFutureBroadcasts; /*!< True to ignore future broadcasts, false if not */
28 CDateTime m_startDateTime; /*!< The minimum start time for an entry */
29 CDateTime m_endDateTime; /*!< The maximum end time for an entry */
31 void Reset()
33 m_strSearchTerm.clear();
34 m_bSearchInDescription = false;
35 m_bIncludeUnknownGenres = false;
36 m_iGenreType = EPG_SEARCH_UNSET;
37 m_bIgnoreFinishedBroadcasts = true;
38 m_bIgnoreFutureBroadcasts = false;
39 m_startDateTime.SetValid(false);
40 m_endDateTime.SetValid(false);
44 } // namespace PVR