summaryrefslogtreecommitdiffstats
path: root/xbmc/addons/kodi-addon-dev-kit/include/kodi/gui/dialogs/Select.h
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/addons/kodi-addon-dev-kit/include/kodi/gui/dialogs/Select.h')
-rw-r--r--xbmc/addons/kodi-addon-dev-kit/include/kodi/gui/dialogs/Select.h27
1 files changed, 8 insertions, 19 deletions
diff --git a/xbmc/addons/kodi-addon-dev-kit/include/kodi/gui/dialogs/Select.h b/xbmc/addons/kodi-addon-dev-kit/include/kodi/gui/dialogs/Select.h
index 8276832..ba0db1d 100644
--- a/xbmc/addons/kodi-addon-dev-kit/include/kodi/gui/dialogs/Select.h
+++ b/xbmc/addons/kodi-addon-dev-kit/include/kodi/gui/dialogs/Select.h
@@ -1,24 +1,13 @@
1#pragma once
2/* 1/*
3 * Copyright (C) 2005-2017 Team KODI 2 * Copyright (C) 2005-2018 Team Kodi
4 * http://kodi.tv 3 * This file is part of Kodi - https://kodi.tv
5 *
6 * This Program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2, or (at your option)
9 * any later version.
10 *
11 * This Program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with KODI; see the file COPYING. If not, see
18 * <http://www.gnu.org/licenses/>.
19 * 4 *
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
20 */ 7 */
21 8
9#pragma once
10
22#include "../definitions.h" 11#include "../definitions.h"
23#include "../../AddonBase.h" 12#include "../../AddonBase.h"
24 13
@@ -39,7 +28,7 @@ typedef struct SSelectionEntry
39 /// 28 ///
40 /// There becomes selected always set to false. 29 /// There becomes selected always set to false.
41 /// 30 ///
42 SSelectionEntry() : selected(false) { } 31 SSelectionEntry() = default;
43 //---------------------------------------------------------------------------- 32 //----------------------------------------------------------------------------
44 33
45 /// Entry identfication string 34 /// Entry identfication string
@@ -50,7 +39,7 @@ typedef struct SSelectionEntry
50 39
51 /// Place where entry can be preselected and after return the from user 40 /// Place where entry can be preselected and after return the from user
52 /// selected is set. 41 /// selected is set.
53 bool selected; 42 bool selected = false;
54} SSelectionEntry; 43} SSelectionEntry;
55//------------------------------------------------------------------------------ 44//------------------------------------------------------------------------------
56 45