kodi
DiscSettings.h
1 /*
2  * Copyright (C) 2005-2018 Team Kodi
3  * This file is part of Kodi - https://kodi.tv
4  *
5  * SPDX-License-Identifier: GPL-2.0-or-later
6  * See LICENSES/README.md for more information.
7  */
8 
9 #pragma once
10 
14 enum BDPlaybackMode
15 {
16  BD_PLAYBACK_SIMPLE_MENU = 0,
17  BD_PLAYBACK_DISC_MENU,
18  BD_PLAYBACK_MAIN_TITLE,
19 };
20 
21 #include "settings/lib/ISettingCallback.h"
22 
24 {
25 public:
26  /* ISettingCallback*/
27 
28  static CDiscSettings& GetInstance();
29  void OnSettingChanged(const std::shared_ptr<const CSetting>& setting) override;
30 
31 private:
32  CDiscSettings() = default;
33  ~CDiscSettings() override = default;
34 };
Definition: ISettingCallback.h:16
void OnSettingChanged(const std::shared_ptr< const CSetting > &setting) override
The value of the given setting has changed.
Definition: DiscSettings.cpp:31
Definition: DiscSettings.h:23