#include <AddonInfo.h>
◆ CAddonInfo() [1/2]
ADDON::CAddonInfo::CAddonInfo |
( |
| ) |
|
|
default |
◆ CAddonInfo() [2/2]
ADDON::CAddonInfo::CAddonInfo |
( |
std::string | id, |
|
|
AddonType | type ) |
◆ AddExtraInfo()
void ADDON::CAddonInfo::AddExtraInfo |
( |
const std::string & | idName, |
|
|
const std::string & | value ) |
|
inline |
◆ Art()
const ArtMap & ADDON::CAddonInfo::Art |
( |
| ) |
const |
|
inline |
◆ Author()
const std::string & ADDON::CAddonInfo::Author |
( |
| ) |
const |
|
inline |
◆ ChangeLog()
const std::string & ADDON::CAddonInfo::ChangeLog |
( |
| ) |
const |
|
inline |
◆ DependencyMinVersion()
const CAddonVersion & ADDON::CAddonInfo::DependencyMinVersion |
( |
const std::string & | dependencyID | ) |
const |
◆ DependencyVersion()
const CAddonVersion & ADDON::CAddonInfo::DependencyVersion |
( |
const std::string & | dependencyID | ) |
const |
◆ Description()
const std::string & ADDON::CAddonInfo::Description |
( |
| ) |
const |
|
inline |
◆ Disclaimer()
const std::string & ADDON::CAddonInfo::Disclaimer |
( |
| ) |
const |
|
inline |
◆ EMail()
const std::string & ADDON::CAddonInfo::EMail |
( |
| ) |
const |
|
inline |
◆ ExtraInfo()
const InfoMap & ADDON::CAddonInfo::ExtraInfo |
( |
| ) |
const |
|
inline |
◆ Forum()
const std::string & ADDON::CAddonInfo::Forum |
( |
| ) |
const |
|
inline |
◆ GetDependencies()
const std::vector< DependencyInfo > & ADDON::CAddonInfo::GetDependencies |
( |
| ) |
const |
|
inline |
◆ GetKnownInstanceIds()
std::vector< AddonInstanceId > ADDON::CAddonInfo::GetKnownInstanceIds |
( |
| ) |
const |
◆ HasType()
To check addon contains a type.
- Parameters
-
[in] | type | The to checked type identifier |
[in] | mainOnly | to check only in first defined main addon inside addon.xml |
- Returns
- true in case the wanted type is supported, false if not
◆ Icon()
const std::string & ADDON::CAddonInfo::Icon |
( |
| ) |
const |
|
inline |
◆ ID()
const std::string & ADDON::CAddonInfo::ID |
( |
| ) |
const |
|
inline |
◆ InstallDate()
CDateTime ADDON::CAddonInfo::InstallDate |
( |
| ) |
const |
|
inline |
◆ InstanceSupportType()
◆ InstanceUseType()
◆ IsBinary()
bool ADDON::CAddonInfo::IsBinary |
( |
| ) |
const |
|
inline |
◆ LastUpdated()
CDateTime ADDON::CAddonInfo::LastUpdated |
( |
| ) |
const |
|
inline |
◆ LastUsed()
CDateTime ADDON::CAddonInfo::LastUsed |
( |
| ) |
const |
|
inline |
◆ LibName()
const std::string & ADDON::CAddonInfo::LibName |
( |
| ) |
const |
|
inline |
◆ License()
const std::string & ADDON::CAddonInfo::License |
( |
| ) |
const |
|
inline |
◆ LifecycleState()
◆ LifecycleStateDescription()
const std::string & ADDON::CAddonInfo::LifecycleStateDescription |
( |
| ) |
const |
|
inline |
◆ MainType()
AddonType ADDON::CAddonInfo::MainType |
( |
| ) |
const |
|
inline |
To get the main type of this addon.
This is the first type defined in addon.xml.
- Returns
- The used main type of addon
◆ MeetsVersion()
◆ MinVersion()
◆ Name()
const std::string & ADDON::CAddonInfo::Name |
( |
| ) |
const |
|
inline |
◆ Origin()
const std::string & ADDON::CAddonInfo::Origin |
( |
| ) |
const |
|
inline |
◆ OriginName()
const std::string & ADDON::CAddonInfo::OriginName |
( |
| ) |
const |
◆ PackageSize()
uint64_t ADDON::CAddonInfo::PackageSize |
( |
| ) |
const |
|
inline |
◆ Path()
const std::string & ADDON::CAddonInfo::Path |
( |
| ) |
const |
|
inline |
◆ ProfilePath()
const std::string & ADDON::CAddonInfo::ProfilePath |
( |
| ) |
const |
|
inline |
◆ ProvidesSeveralSubContents()
bool ADDON::CAddonInfo::ProvidesSeveralSubContents |
( |
| ) |
const |
◆ ProvidesSubContent()
◆ Screenshots()
const std::vector< std::string > & ADDON::CAddonInfo::Screenshots |
( |
| ) |
const |
|
inline |
◆ SetBinary()
void ADDON::CAddonInfo::SetBinary |
( |
bool | isBinary | ) |
|
|
inline |
◆ SetLastUsed()
void ADDON::CAddonInfo::SetLastUsed |
( |
const CDateTime & | dateTime | ) |
|
|
inline |
◆ SetLibName()
void ADDON::CAddonInfo::SetLibName |
( |
const std::string & | libname | ) |
|
|
inline |
◆ SetMainType()
◆ SetPath()
void ADDON::CAddonInfo::SetPath |
( |
const std::string & | path | ) |
|
|
inline |
◆ Source()
const std::string & ADDON::CAddonInfo::Source |
( |
| ) |
const |
|
inline |
◆ Summary()
const std::string & ADDON::CAddonInfo::Summary |
( |
| ) |
const |
|
inline |
◆ SupportsAddonSettings()
bool ADDON::CAddonInfo::SupportsAddonSettings |
( |
| ) |
const |
|
inline |
◆ SupportsInstanceSettings()
bool ADDON::CAddonInfo::SupportsInstanceSettings |
( |
| ) |
const |
|
inline |
◆ SupportsMultipleInstances()
bool ADDON::CAddonInfo::SupportsMultipleInstances |
( |
| ) |
const |
◆ TranslateIconType()
std::string ADDON::CAddonInfo::TranslateIconType |
( |
AddonType | type | ) |
|
|
static |
◆ TranslateSubContent()
AddonType ADDON::CAddonInfo::TranslateSubContent |
( |
const std::string & | content | ) |
|
|
static |
◆ TranslateType() [1/2]
std::string ADDON::CAddonInfo::TranslateType |
( |
AddonType | type, |
|
|
bool | pretty = false ) |
|
static |
Utilities to translate add-on parts to his requested part.
static public helper functions
◆ TranslateType() [2/2]
AddonType ADDON::CAddonInfo::TranslateType |
( |
const std::string & | string | ) |
|
|
static |
◆ Type()
The get for given addon type information and extension data.
- Parameters
-
[in] | type | The wanted type data |
- Returns
- addon type class with CAddonExtensions as information
- Note
- This function return never a "nullptr", in case the wanted type is not supported, becomes a dummy of CAddonType given.
Example:
std::string
name =
Type(ADDON_...)->GetValue(
"@name").asString();
Type
Definition PackerMAT.h:16
enum const char * name
Definition addon_base.h:203
◆ Types()
const std::vector< CAddonType > & ADDON::CAddonInfo::Types |
( |
| ) |
const |
|
inline |
To get all available types inside the addon.
To have all <extension point="..." />
defined in addon.xml inside a list.
- Returns
- List of all supported types
◆ Version()
◆ Website()
const std::string & ADDON::CAddonInfo::Website |
( |
| ) |
const |
|
inline |
◆ CAddonInfoBuilder
◆ CAddonInfoBuilderFromDB
The documentation for this class was generated from the following files: