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

#include <Win10StorageProvider.h>

Inheritance diagram for CStorageProvider:
IStorageProvider

Public Member Functions

virtual ~CStorageProvider ()
 
void Initialize () override
 
void Stop () override
 
void GetLocalDrives (std::vector< CMediaSource > &localDrives) override
 
void GetRemovableDrives (std::vector< CMediaSource > &removableDrives) override
 
std::string GetFirstOpticalDeviceFileName () override
 
bool Eject (const std::string &mountpath) override
 
std::vector< std::string > GetDiskUsage () override
 
bool PumpDriveChangeEvents (IStorageEventsCallback *callback) override
 
- Public Member Functions inherited from IStorageProvider
virtual ~IStorageProvider ()=default
 

Additional Inherited Members

- Static Public Member Functions inherited from IStorageProvider
static std::unique_ptr< IStorageProviderCreateInstance ()
 Called by media manager to create platform storage provider.
 

Constructor & Destructor Documentation

◆ ~CStorageProvider()

CStorageProvider::~CStorageProvider ( )
virtual

Member Function Documentation

◆ Eject()

bool CStorageProvider::Eject ( const std::string & mountpath)
overridevirtual

Implements IStorageProvider.

◆ GetDiskUsage()

std::vector< std::string > CStorageProvider::GetDiskUsage ( void )
overridevirtual

Implements IStorageProvider.

◆ GetFirstOpticalDeviceFileName()

std::string CStorageProvider::GetFirstOpticalDeviceFileName ( )
overridevirtual

Reimplemented from IStorageProvider.

◆ GetLocalDrives()

void CStorageProvider::GetLocalDrives ( std::vector< CMediaSource > & localDrives)
overridevirtual

Implements IStorageProvider.

◆ GetRemovableDrives()

void CStorageProvider::GetRemovableDrives ( std::vector< CMediaSource > & removableDrives)
overridevirtual

Implements IStorageProvider.

◆ Initialize()

void CStorageProvider::Initialize ( )
overridevirtual

Implements IStorageProvider.

◆ PumpDriveChangeEvents()

bool CStorageProvider::PumpDriveChangeEvents ( IStorageEventsCallback * callback)
overridevirtual

Implements IStorageProvider.

◆ Stop()

void CStorageProvider::Stop ( )
inlineoverridevirtual

Implements IStorageProvider.


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