xbmc
Public Member Functions | List of all members
KODI::ADDONS::IAddonSupportCheck Class Reference

Parent class to ask addons for support. More...

#include <IAddonSupportCheck.h>

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

Public Member Functions

virtual bool SupportsFile (const std::string &filename)
 Function to query the respective add-ons used for the support of the desired file. More...
 

Detailed Description

Parent class to ask addons for support.

This one can be used as a parent on the respective Kodi-sided addon class, this makes it easier to query for the desired support without using the class's own function definition.

Member Function Documentation

◆ SupportsFile()

virtual bool KODI::ADDONS::IAddonSupportCheck::SupportsFile ( const std::string &  filename)
inlinevirtual

Function to query the respective add-ons used for the support of the desired file.

Parameters
[in]filenameFile which is queried for addon support
Returns
True if addon supports the desired file, false if not
Note
Is set here with true as default and not with "= 0" in order to have class expandable and perhaps to be able to insert other query functions in the future.

Reimplemented in KODI::ADDONS::CImageDecoder, and KODI::ADDONS::CAudioDecoder.


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