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

#include <UDisks2Provider.h>

Inheritance diagram for CUDisks2Provider:
IStorageProvider

Public Member Functions

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

Static Public Member Functions

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

Constructor & Destructor Documentation

◆ CUDisks2Provider()

CUDisks2Provider::CUDisks2Provider ( )

◆ ~CUDisks2Provider()

CUDisks2Provider::~CUDisks2Provider ( )
override

Member Function Documentation

◆ Eject()

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

Implements IStorageProvider.

◆ GetDiskUsage()

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

Implements IStorageProvider.

◆ GetLocalDrives()

void CUDisks2Provider::GetLocalDrives ( VECSOURCES & localDrives)
inlineoverridevirtual

Implements IStorageProvider.

◆ GetRemovableDrives()

void CUDisks2Provider::GetRemovableDrives ( VECSOURCES & removableDrives)
inlineoverridevirtual

Implements IStorageProvider.

◆ HasUDisks2()

bool CUDisks2Provider::HasUDisks2 ( )
static

◆ Initialize()

void CUDisks2Provider::Initialize ( )
overridevirtual

Implements IStorageProvider.

◆ PumpDriveChangeEvents()

bool CUDisks2Provider::PumpDriveChangeEvents ( IStorageEventsCallback * callback)
overridevirtual

Implements IStorageProvider.

◆ Stop()

void CUDisks2Provider::Stop ( )
inlineoverridevirtual

Implements IStorageProvider.


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