Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
No Matches
IStorageProvider Class Referenceabstract

#include <IStorageProvider.h>

Inheritance diagram for IStorageProvider:
CAndroidStorageProvider CIOSStorageProvider CLinuxStorageProvider COSXStorageProvider CPosixMountProvider CStorageProvider CUDevProvider CUDisks2Provider CUDisksProvider CWin32StorageProvider

Public Member Functions

virtual ~IStorageProvider ()=default
virtual void Initialize ()=0
virtual void Stop ()=0
virtual void GetLocalDrives (VECSOURCES &localDrives)=0
virtual void GetRemovableDrives (VECSOURCES &removableDrives)=0
virtual std::string GetFirstOpticalDeviceFileName ()
virtual bool Eject (const std::string &mountpath)=0
virtual std::vector< std::string > GetDiskUsage ()=0
virtual bool PumpDriveChangeEvents (IStorageEventsCallback *callback)=0

Static Public Member Functions

static std::unique_ptr< IStorageProviderCreateInstance ()
 Called by media manager to create platform storage provider.

Constructor & Destructor Documentation

◆ ~IStorageProvider()

virtual IStorageProvider::~IStorageProvider ( )

Member Function Documentation

◆ CreateInstance()

std::unique_ptr< IStorageProvider > IStorageProvider::CreateInstance ( )

Called by media manager to create platform storage provider.

This method used to create platform specified storage provider

◆ Eject()

◆ GetDiskUsage()

virtual std::vector< std::string > IStorageProvider::GetDiskUsage ( )
pure virtual

◆ GetFirstOpticalDeviceFileName()

virtual std::string IStorageProvider::GetFirstOpticalDeviceFileName ( )

Reimplemented in CWin32StorageProvider, and CStorageProvider.

◆ GetLocalDrives()

◆ GetRemovableDrives()

◆ Initialize()

◆ PumpDriveChangeEvents()

◆ Stop()

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