[videodb] remove unused seasons table from episode_view
[xbmc.git] / xbmc / addons / IAddonManagerCallback.h
blob03391f96c010eda011d4e2ac6ff79e685996d588
1 /*
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.
7 */
9 #pragma once
11 #include "addons/IAddon.h"
13 #include <string>
15 namespace ADDON
17 /**
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
25 public:
26 virtual ~IAddonMgrCallback() = default;
27 virtual bool RequestRestart(const std::string& addonId,
28 AddonInstanceId instanceId,
29 bool datachanged) = 0;
32 } /* namespace ADDON */