Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
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:
KODI::ADDONS::CExtsMimeSupportList

Public Member Functions

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

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.

Constructor & Destructor Documentation

◆ IAddonSupportList()

KODI::ADDONS::IAddonSupportList::IAddonSupportList ( )
default

◆ ~IAddonSupportList()

virtual KODI::ADDONS::IAddonSupportList::~IAddonSupportList ( )
virtualdefault

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: