11 #include "addons/IAddonSupportList.h" 12 #include "threads/CriticalSection.h" 69 : m_description(description), m_icon(std::move(icon))
86 ADDON::AddonType m_addonType{};
89 std::shared_ptr<ADDON::CAddonInfo> m_addonInfo;
92 std::string m_codecName;
95 bool m_hasTags{
false};
98 bool m_hasTracks{
false};
103 std::map<std::string, SupportValue> m_supportedExtensions;
108 std::map<std::string, SupportValue> m_supportedMimetypes;
124 std::vector<SupportValues> GetSupportedAddonInfos(
FilterSelect select);
132 bool IsExtensionSupported(
const std::string& ext);
141 std::vector<std::pair<ADDON::AddonType, std::shared_ptr<ADDON::CAddonInfo>>>
142 GetExtensionSupportedAddonInfos(
const std::string& ext,
FilterSelect select);
150 bool IsMimetypeSupported(
const std::string& mimetype);
159 std::vector<std::pair<ADDON::AddonType, std::shared_ptr<ADDON::CAddonInfo>>>
160 GetMimetypeSupportedAddonInfos(
const std::string& mimetype,
FilterSelect select);
170 std::vector<KODI::ADDONS::AddonSupportEntry> GetSupportedExtsAndMimeTypes(
171 const std::string& addonId)
override;
174 void Update(
const std::string&
id);
177 static SupportValues ScanAddonProperties(ADDON::AddonType type,
178 const std::shared_ptr<ADDON::CAddonInfo>& addonInfo);
180 CCriticalSection m_critSection;
182 std::vector<SupportValues> m_supportedList;
Class - CAddonMgr Holds references to all addons, enabled or otherwise.
Definition: AddonManager.h:79
Structure to store available data for related addon.
Definition: ExtsMimeSupportList.h:83
Class to manage all available and activated add-ons and to release their types to the outside for sel...
Definition: ExtsMimeSupportList.h:42
Controller configuration window.
Definition: AudioDecoder.h:18
Definition: AddonEvents.h:18
Structure to store information about supported part.
Definition: ExtsMimeSupportList.h:66
FilterSelect
Filter selection values.
Definition: ExtsMimeSupportList.h:51
Parent class to manage all available mimetypes and file extensions of the respective add-on and its t...
Definition: IAddonSupportList.h:61