Merge pull request #26013 from ksooo/estuary-recordings-info
[xbmc.git] / xbmc / video / ViewModeSettings.h
blobb43ed85dc16531fb1bcf0f94043efadfbb1ee2ae
1 /*
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.
7 */
9 #pragma once
11 #include "settings/lib/Setting.h"
13 #include <string>
14 #include <utility>
15 #include <vector>
17 struct IntegerSettingOption;
19 class CViewModeSettings
21 private:
22 CViewModeSettings();
23 ~CViewModeSettings() = default;
25 public:
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,
44 int& current,
45 void* data);