Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
ADDON::CAddonType Class Reference

#include <AddonType.h>

Inheritance diagram for ADDON::CAddonType:
ADDON::CAddonExtensions

Public Member Functions

 CAddonType (AddonType type=AddonType::UNKNOWN)
 
AddonType Type () const
 
std::string LibPath () const
 
const std::string & LibName () const
 
bool ProvidesSubContent (const AddonType &content) const
 
bool ProvidesSeveralSubContents () const
 
size_t ProvidedSubContents () const
 
- Public Member Functions inherited from ADDON::CAddonExtensions
 CAddonExtensions ()=default
 
 ~CAddonExtensions ()=default
 
const SExtValue GetValue (const std::string &id) const
 
const EXT_VALUESGetValues () const
 
const CAddonExtensionsGetElement (const std::string &id) const
 
const EXT_ELEMENTS GetElements (const std::string &id="") const
 
void Insert (const std::string &id, const std::string &value)
 

Static Public Member Functions

static bool IsDependencyType (AddonType type)
 Indicates whether a given type is a dependency type (e.g. addons which the main type is a script.module)
 

Friends

class CAddonInfoBuilder
 
class CAddonInfoBuilderFromDB
 
class CAddonDatabaseSerializer
 

Constructor & Destructor Documentation

◆ CAddonType()

ADDON::CAddonType::CAddonType ( AddonType type = AddonType::UNKNOWN)
inline

Member Function Documentation

◆ IsDependencyType()

bool CAddonType::IsDependencyType ( AddonType type)
static

Indicates whether a given type is a dependency type (e.g. addons which the main type is a script.module)

Parameters
[in]typethe provided type
Returns
true if type is one of the dependency types

◆ LibName()

const std::string & ADDON::CAddonType::LibName ( ) const
inline

◆ LibPath()

std::string CAddonType::LibPath ( ) const

◆ ProvidedSubContents()

size_t ADDON::CAddonType::ProvidedSubContents ( ) const
inline

◆ ProvidesSeveralSubContents()

bool ADDON::CAddonType::ProvidesSeveralSubContents ( ) const
inline

◆ ProvidesSubContent()

bool ADDON::CAddonType::ProvidesSubContent ( const AddonType & content) const
inline

◆ Type()

AddonType ADDON::CAddonType::Type ( ) const
inline

Friends And Related Symbol Documentation

◆ CAddonDatabaseSerializer

friend class CAddonDatabaseSerializer
friend

◆ CAddonInfoBuilder

friend class CAddonInfoBuilder
friend

◆ CAddonInfoBuilderFromDB

friend class CAddonInfoBuilderFromDB
friend

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