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

#include <UDevProvider.h>

Inheritance diagram for CUDevProvider:
IStorageProvider

Public Member Functions

 CUDevProvider ()
 
 ~CUDevProvider () override=default
 
void Initialize () override
 
void Stop () override
 
void GetLocalDrives (std::vector< CMediaSource > &localDrives) override
 
void GetRemovableDrives (std::vector< CMediaSource > &removableDrives) 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
 
virtual std::string GetFirstOpticalDeviceFileName ()
 

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

◆ CUDevProvider()

CUDevProvider::CUDevProvider ( )

◆ ~CUDevProvider()

CUDevProvider::~CUDevProvider ( )
overridedefault

Member Function Documentation

◆ Eject()

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

Implements IStorageProvider.

◆ GetDiskUsage()

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

Implements IStorageProvider.

◆ GetLocalDrives()

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

Implements IStorageProvider.

◆ GetRemovableDrives()

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

Implements IStorageProvider.

◆ Initialize()

void CUDevProvider::Initialize ( )
overridevirtual

Implements IStorageProvider.

◆ PumpDriveChangeEvents()

bool CUDevProvider::PumpDriveChangeEvents ( IStorageEventsCallback * callback)
overridevirtual

Implements IStorageProvider.

◆ Stop()

void CUDevProvider::Stop ( )
overridevirtual

Implements IStorageProvider.


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