2 * Copyright (C) 2005-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.
11 #include "addons/IAddon.h"
18 * Class - IAddonMgrCallback
19 * This callback should be inherited by any class which manages
20 * specific addon types. Could be mostly used for Dll addon types to handle
21 * cleanup before restart/removal
23 class IAddonMgrCallback
26 virtual ~IAddonMgrCallback() = default;
27 virtual bool RequestRestart(const std::string
& addonId
,
28 AddonInstanceId instanceId
,
29 bool datachanged
) = 0;
32 } /* namespace ADDON */