![]() |
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
A virtual filesystem entry add-on. More...
#include <VFSEntry.h>
Classes | |
struct | ProtocolInfo |
A structure encapsulating properties of supplied protocol. More... | |
Public Member Functions | |
CVFSEntry (const AddonInfoPtr &addonInfo) | |
Construct from add-on properties. | |
~CVFSEntry () override | |
void * | Open (const CURL &url) |
void * | OpenForWrite (const CURL &url, bool bOverWrite) |
bool | Exists (const CURL &url) const |
int | Stat (const CURL &url, struct __stat64 *buffer) const |
ssize_t | Read (void *ctx, void *lpBuf, size_t uiBufSize) const |
ssize_t | Write (void *ctx, const void *lpBuf, size_t uiBufSize) const |
int64_t | Seek (void *ctx, int64_t iFilePosition, int iWhence=SEEK_SET) const |
int | Truncate (void *ctx, int64_t size) const |
void | Close (void *ctx) const |
int64_t | GetPosition (void *ctx) const |
int64_t | GetLength (void *ctx) const |
int | GetChunkSize (void *ctx) const |
int | IoControl (void *ctx, XFILE::IOControl request, void *param) const |
bool | Delete (const CURL &url) const |
bool | Rename (const CURL &url, const CURL &url2) const |
bool | GetDirectory (const CURL &url, CFileItemList &items, void *ctx) const |
bool | DirectoryExists (const CURL &url) const |
bool | RemoveDirectory (const CURL &url) const |
bool | CreateDirectory (const CURL &url) const |
void | ClearOutIdle () const |
void | DisconnectAll () const |
bool | ContainsFiles (const CURL &url, CFileItemList &items) const |
const std::string & | GetProtocols () const |
const std::string & | GetExtensions () const |
bool | HasFiles () const |
bool | HasDirectories () const |
bool | HasFileDirectories () const |
const std::string & | GetZeroconfType () const |
const ProtocolInfo & | GetProtocolInfo () const |
![]() | |
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. | |
virtual | ~IAddonInstanceHandler () |
ADDON_TYPE | UsedType () const |
AddonInstanceId | InstanceId () const |
const std::string & | UniqueWorkID () const |
std::string | ID () const |
AddonInstanceId | InstanceID () 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 std::shared_ptr< CAddonDll > & | Addon () const |
AddonInfoPtr | GetAddonInfo () const |
virtual void | OnPreInstall () |
virtual void | OnPostInstall (bool update, bool modal) |
virtual void | OnPreUnInstall () |
virtual void | OnPostUnInstall () |
Additional Inherited Members | |
![]() | |
KODI_ADDON_INSTANCE_STRUCT | m_ifc {} |
A virtual filesystem entry add-on.
|
explicit |
Construct from add-on properties.
addonInfo | General addon properties |
|
override |
void ADDON::CVFSEntry::ClearOutIdle | ( | ) | const |
bool ADDON::CVFSEntry::ContainsFiles | ( | const CURL & | url, |
CFileItemList & | items ) const |
void ADDON::CVFSEntry::DisconnectAll | ( | ) | const |
bool ADDON::CVFSEntry::GetDirectory | ( | const CURL & | url, |
CFileItemList & | items, | ||
void * | ctx ) const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
int ADDON::CVFSEntry::IoControl | ( | void * | ctx, |
XFILE::IOControl | request, | ||
void * | param ) const |