Merge pull request #26264 from the-black-eagle/mka_end_durations
[xbmc.git] / xbmc / addons / AddonBuilder.h
blobdfc486548de88423017701b0063ff56fc60a1c54
1 /*
2 * Copyright (C) 2016-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 <memory>
13 namespace ADDON
15 enum class AddonType;
17 class IAddon;
18 using AddonPtr = std::shared_ptr<IAddon>;
20 class CAddonInfo;
21 using AddonInfoPtr = std::shared_ptr<CAddonInfo>;
23 class CAddonBuilder
25 public:
26 static AddonPtr Generate(const AddonInfoPtr& info, AddonType type);
29 } // namespace ADDON