xbmc
|
Public Member Functions | |
CFileExtensionProvider (ADDON::CAddonMgr &addonManager) | |
std::string | GetPictureExtensions () const |
Returns a list of picture extensions. | |
std::string | GetMusicExtensions () const |
Returns a list of music extensions. | |
std::string | GetVideoExtensions () const |
Returns a list of video extensions. | |
std::string | GetSubtitleExtensions () const |
Returns a list of subtitle extensions. | |
std::string | GetDiscStubExtensions () const |
Returns a list of disc stub extensions. | |
std::string | GetFileFolderExtensions () const |
Returns a file folder extensions. | |
bool | EncodedHostName (const std::string &protocol) const |
Returns whether a url protocol from add-ons use encoded hostnames. | |
bool | CanOperateExtension (const std::string &path) const |
Returns true if related provider can operate related file. More... | |
bool CFileExtensionProvider::CanOperateExtension | ( | const std::string & | path | ) | const |
Returns true if related provider can operate related file.
We expect that other addons can support the file, and return true if list empty.
Check all found addons about support of asked file.
If no file extensions present, mark it as not supported.