xbmc
Public Member Functions | List of all members
KODI::ADDONS::IAddonSupportList Class Referenceabstract

Parent class to manage all available mimetypes and file extensions of the respective add-on and its types. More...

#include <IAddonSupportList.h>

Inheritance diagram for KODI::ADDONS::IAddonSupportList:
Inheritance graph
[legend]

Public Member Functions

virtual std::vector< AddonSupportEntryGetSupportedExtsAndMimeTypes (const std::string &addonId)=0
 To give all file extensions and MIME types supported by the addon. More...
 

Detailed Description

Parent class to manage all available mimetypes and file extensions of the respective add-on and its types.

This class should be integrated in the respective add-on type manager and in order to get an overview of all that are intended for file processing.

Todo:
Extend this class with database usage and support to activate / deactivate the respective formats and thus to override add-ons if several support the same.

Member Function Documentation

◆ GetSupportedExtsAndMimeTypes()

virtual std::vector<AddonSupportEntry> KODI::ADDONS::IAddonSupportList::GetSupportedExtsAndMimeTypes ( const std::string &  addonId)
pure virtual

To give all file extensions and MIME types supported by the addon.

Parameters
[in]addonIdIdentifier about wanted addon
Returns
List of all supported parts on selected addon

Implemented in KODI::ADDONS::CExtsMimeSupportList.


The documentation for this class was generated from the following file: