|
xbmc
|
Wrapper class that wraps the shader presets add-on. More...
#include <ShaderPreset.h>


Public Member Functions | |
| CShaderPresetAddon (const AddonInfoPtr &addonInfo) | |
| bool | CreateAddon () |
| Initialise the instance of this add-on. | |
| void | DestroyAddon () |
| Deinitialize the instance of this add-on. | |
| const std::vector< std::string > & | GetExtensions () const |
| Get the shader preset extensions supported by this add-on. | |
| bool | LoadPreset (const std::string &presetPath, KODI::SHADER::IShaderPreset &shaderPreset) override |
| Load a shader preset from the given path. More... | |
Public Member Functions inherited from ADDON::IAddonInstanceHandler | |
| IAddonInstanceHandler (ADDON_TYPE type, const AddonInfoPtr &addonInfo, AddonInstanceId instanceId=ADDON_INSTANCE_ID_UNUSED, KODI_HANDLE parentInstance=nullptr, const std::string &uniqueWorkID="") | |
| Class constructor for handling add-on instance processes, allowing an add-on to handle multiple work simultaneously and independently. More... | |
| ADDON_TYPE | UsedType () const |
| AddonInstanceId | InstanceId () const |
| const std::string & | UniqueWorkID () |
| std::string | ID () const |
| std::string | Name () const |
| std::string | Author () const |
| std::string | Icon () const |
| std::string | Path () const |
| std::string | Profile () const |
| CAddonVersion | Version () const |
| ADDON_STATUS | CreateInstance () |
| void | DestroyInstance () |
| const AddonDllPtr & | Addon () const |
| AddonInfoPtr | GetAddonInfo () const |
| virtual void | OnPreInstall () |
| virtual void | OnPostInstall (bool update, bool modal) |
| virtual void | OnPreUnInstall () |
| virtual void | OnPostUnInstall () |
Additional Inherited Members | |
Protected Attributes inherited from ADDON::IAddonInstanceHandler | |
| KODI_ADDON_INSTANCE_INFO | m_info {} |
| KODI_ADDON_INSTANCE_STRUCT | m_ifc {} |
Wrapper class that wraps the shader presets add-on.
|
overridevirtual |
Load a shader preset from the given path.
| presetPath | The path to the shader preset |
| shaderPreset | The loaded shader preset, or untouched if false is returned |
Implements KODI::SHADER::IShaderPresetLoader.
1.8.13