kodi
GUIHelpers.h
1 /*
2  * Copyright (C) 2005-2020 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 
11 #include <memory>
12 
13 namespace ADDON
14 {
15 
16 class IAddon;
17 
18 namespace GUI
19 {
20 
21 class CHelpers
22 {
23 public:
37  static bool DialogAddonLifecycleUseAsk(const std::shared_ptr<const IAddon>& addon);
38 };
39 
40 } /* namespace GUI */
41 } /* namespace ADDON */
static bool DialogAddonLifecycleUseAsk(const std::shared_ptr< const IAddon > &addon)
This shows an Yes/No dialog with information about the add-on if it is not in the normal status...
Definition: GUIHelpers.cpp:20
Definition: GUIHelpers.h:21
Definition: Addon.cpp:39