xbmc
|
A collection of images. The collection can have a type. More...
#include <ImageResource.h>
Public Member Functions | |
CImageResource (const AddonInfoPtr &addonInfo) | |
void | OnPreUnInstall () override |
bool | IsAllowed (const std::string &file) const override |
std::string | GetFullPath (const std::string &filePath) const override |
const std::string & | GetType () const |
Returns type of image collection. | |
![]() | |
CAddon (const AddonInfoPtr &addonInfo, AddonType addonType) | |
AddonType | MainType () const override |
To get the main type of this addon. More... | |
AddonType | Type () const override |
To get the on this CAddon class processed addon type. More... | |
bool | HasType (AddonType type) const override |
To check complete addon (not only this) contains a type. More... | |
bool | HasMainType (AddonType type) const override |
To check complete addon (not only this) has a specific type defined in its first extension point including the provided subcontent e.g. More... | |
const CAddonType * | Type (AddonType type) const |
The get for given addon type information and extension data. More... | |
std::string | ID () const override |
std::string | Name () const override |
bool | IsInUse () const override |
bool | IsBinary () const override |
CAddonVersion | Version () const override |
CAddonVersion | MinVersion () const override |
std::string | Summary () const override |
std::string | Description () const override |
std::string | Path () const override |
std::string | Profile () const override |
std::string | LibPath () const override |
std::string | Author () const override |
std::string | ChangeLog () const override |
std::string | Icon () const override |
ArtMap | Art () const override |
std::vector< std::string > | Screenshots () const override |
std::string | Disclaimer () const override |
AddonLifecycleState | LifecycleState () const override |
std::string | LifecycleStateDescription () const override |
CDateTime | InstallDate () const override |
CDateTime | LastUpdated () const override |
CDateTime | LastUsed () const override |
std::string | Origin () const override |
std::string | OriginName () const override |
uint64_t | PackageSize () const override |
const InfoMap & | ExtraInfo () const override |
const std::vector< DependencyInfo > & | GetDependencies () const override |
std::string | FanArt () const override |
bool | SupportsMultipleInstances () const override |
Check add-on for support from independent work instances. More... | |
AddonInstanceSupport | InstanceUseType () const override |
Return the used instance path type of the add-on type. More... | |
std::vector< AddonInstanceId > | GetKnownInstanceIds () const override |
Gives active, independently working instance identifiers for this add-on. More... | |
bool | SupportsInstanceSettings () const override |
Check whether the add-on supports individual settings per add-on instance. More... | |
bool | DeleteInstanceSettings (AddonInstanceId instance) override |
Delete selected instance settings from storage. More... | |
bool | CanHaveAddonOrInstanceSettings () override |
Check whether this add-on can be configured by the user. More... | |
bool | HasSettings (AddonInstanceId id=ADDON_SETTINGS_ID) override |
Check whether this add-on can be configured by the user. More... | |
bool | HasUserSettings (AddonInstanceId id=ADDON_SETTINGS_ID) override |
Check whether the user has configured this add-on or not. More... | |
bool | SaveSettings (AddonInstanceId id=ADDON_SETTINGS_ID) override |
Save any user configured settings. More... | |
void | UpdateSetting (const std::string &key, const std::string &value, AddonInstanceId id=ADDON_SETTINGS_ID) override |
Update a user-configured setting with a new value. More... | |
bool | UpdateSettingBool (const std::string &key, bool value, AddonInstanceId id=ADDON_SETTINGS_ID) override |
Update a user-configured setting with a new boolean value. More... | |
bool | UpdateSettingInt (const std::string &key, int value, AddonInstanceId id=ADDON_SETTINGS_ID) override |
Update a user-configured setting with a new integer value. More... | |
bool | UpdateSettingNumber (const std::string &key, double value, AddonInstanceId id=ADDON_SETTINGS_ID) override |
Update a user-configured setting with a new number value. More... | |
bool | UpdateSettingString (const std::string &key, const std::string &value, AddonInstanceId id=ADDON_SETTINGS_ID) override |
Update a user-configured setting with a new string value. More... | |
std::string | GetSetting (const std::string &key, AddonInstanceId id=ADDON_SETTINGS_ID) override |
Retrieve a particular settings value. More... | |
bool | GetSettingBool (const std::string &key, bool &value, AddonInstanceId id=ADDON_SETTINGS_ID) override |
Retrieve a particular settings value as boolean. More... | |
bool | GetSettingInt (const std::string &key, int &value, AddonInstanceId id=ADDON_SETTINGS_ID) override |
Retrieve a particular settings value as integer. More... | |
bool | GetSettingNumber (const std::string &key, double &value, AddonInstanceId id=ADDON_SETTINGS_ID) override |
Retrieve a particular settings value as number. More... | |
bool | GetSettingString (const std::string &key, std::string &value, AddonInstanceId id=ADDON_SETTINGS_ID) override |
Retrieve a particular settings value as string. More... | |
std::shared_ptr< CAddonSettings > | GetSettings (AddonInstanceId id=ADDON_SETTINGS_ID) override |
CAddonVersion | GetDependencyVersion (const std::string &dependencyID) const override |
get the required version of a dependency. More... | |
bool | MeetsVersion (const CAddonVersion &versionMin, const CAddonVersion &version) const override |
return whether or not this addon satisfies the given version requirements More... | |
bool | ReloadSettings (AddonInstanceId id=ADDON_SETTINGS_ID) override |
void | ResetSettings (AddonInstanceId id=ADDON_SETTINGS_ID) override |
AddonPtr | GetRunningInstance () const override |
retrieve the running instance of an add-on if it persists while running. | |
void | OnPreInstall () override |
void | OnPostInstall (bool update, bool modal) override |
void | OnPostUnInstall () override |
Additional Inherited Members | |
![]() | |
CResource (const AddonInfoPtr &addonInfo, AddonType addonType) | |
std::string | GetResourcePath () const |
![]() | |
virtual bool | SettingsInitialized (AddonInstanceId id=ADDON_SETTINGS_ID) const |
Whether or not the settings have been initialized. More... | |
virtual bool | SettingsLoaded (AddonInstanceId id=ADDON_SETTINGS_ID) const |
Whether or not the settings have been loaded. More... | |
bool | LoadSettings (bool bForce, bool loadUserSettings, AddonInstanceId id=ADDON_SETTINGS_ID) |
Load the default settings and override these with any previously configured user settings. More... | |
virtual bool | LoadUserSettings (AddonInstanceId id=ADDON_SETTINGS_ID) |
Load the user settings. More... | |
virtual bool | HasSettingsToSave (AddonInstanceId id=ADDON_SETTINGS_ID) const |
Whether there are settings to be saved. More... | |
virtual bool | SettingsFromXML (const CXBMCTinyXML &doc, bool loadDefaults, AddonInstanceId id=ADDON_SETTINGS_ID) |
Parse settings from an XML document. More... | |
virtual bool | SettingsToXML (CXBMCTinyXML &doc, AddonInstanceId id=ADDON_SETTINGS_ID) const |
Write settings into an XML document. More... | |
![]() | |
const AddonInfoPtr | m_addonInfo |
A collection of images. The collection can have a type.