Merge pull request #22816 from CastagnaIT/fix_tx3g
[xbmc.git] / xbmc / dialogs / IGUIVolumeBarCallback.h
blob5e4012a6ef7fb44b236ae10f37d67ae99a2b24ed
1 /*
2 * Copyright (C) 2017-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 /*!
12 * \brief Interface to expose properties to the volume bar dialog
14 class IGUIVolumeBarCallback
16 public:
17 virtual ~IGUIVolumeBarCallback() = default;
19 /*!
20 * \brief Return true if the callback is active in the GUI
22 * If a registered callback is shown in the GUI, the volume bar is disabled
23 * until no more callbacks are shown.
25 * \return True if the callback is active in the GUI, false otherwise
27 virtual bool IsShown() const = 0;