kodi
AddonBuilder.h
1 /*
2  * Copyright (C) 2016-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 <memory>
12 
13 namespace ADDON
14 {
15 enum class AddonType;
16 
17 class IAddon;
18 using AddonPtr = std::shared_ptr<IAddon>;
19 
20 class CAddonInfo;
21 using AddonInfoPtr = std::shared_ptr<CAddonInfo>;
22 
24 {
25 public:
26  static AddonPtr Generate(const AddonInfoPtr& info, AddonType type);
27 };
28 
29 } // namespace ADDON
Definition: AddonBuilder.h:23
Definition: Addon.cpp:39