2 * Copyright (C) 2016-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.
11 #include "settings/lib/Setting.h"
17 struct IntegerSettingOption
;
19 class CViewModeSettings
23 ~CViewModeSettings() = default;
26 /** Gets the next view mode for quick cycling through the modes
28 * @param viewMode The current view mode
29 * @return The next view mode
31 static int GetNextQuickCycleViewMode(int viewMode
);
33 /** Gets the string index for the view mode
35 * @param viewMode The current view mode
36 * @return The string index
38 static int GetViewModeStringIndex(int viewMode
);
40 /** Fills the list with all visible view modes
42 static void ViewModesFiller(const std::shared_ptr
<const CSetting
>& setting
,
43 std::vector
<IntegerSettingOption
>& list
,