xbmc
IAddonManagerCallback.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 
11 #include "addons/IAddon.h"
12 
13 #include <string>
14 
15 namespace ADDON
16 {
24 {
25 public:
26  virtual ~IAddonMgrCallback() = default;
27  virtual bool RequestRestart(const std::string& addonId,
28  AddonInstanceId instanceId,
29  bool datachanged) = 0;
30 };
31 
32 } /* namespace ADDON */
Class - IAddonMgrCallback This callback should be inherited by any class which manages specific addon...
Definition: IAddonManagerCallback.h:23
Definition: Addon.cpp:39