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

#include <UDisksProvider.h>

Inheritance diagram for CUDisksProvider:
IStorageProvider

Public Member Functions

 CUDisksProvider ()
 
 ~CUDisksProvider () override
 
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 ()
 

Static Public Member Functions

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

Constructor & Destructor Documentation

◆ CUDisksProvider()

CUDisksProvider::CUDisksProvider ( )
Todo
do not use dbus_connection_pop_message() that requires the use of a private connection

◆ ~CUDisksProvider()

CUDisksProvider::~CUDisksProvider ( )
override

Member Function Documentation

◆ Eject()

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

Implements IStorageProvider.

◆ GetDiskUsage()

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

Implements IStorageProvider.

◆ GetLocalDrives()

void CUDisksProvider::GetLocalDrives ( std::vector< CMediaSource > & localDrives)
inlineoverridevirtual

Implements IStorageProvider.

◆ GetRemovableDrives()

void CUDisksProvider::GetRemovableDrives ( std::vector< CMediaSource > & removableDrives)
inlineoverridevirtual

Implements IStorageProvider.

◆ HasUDisks()

bool CUDisksProvider::HasUDisks ( )
static

◆ Initialize()

void CUDisksProvider::Initialize ( )
overridevirtual

Implements IStorageProvider.

◆ PumpDriveChangeEvents()

bool CUDisksProvider::PumpDriveChangeEvents ( IStorageEventsCallback * callback)
overridevirtual

Implements IStorageProvider.

◆ Stop()

void CUDisksProvider::Stop ( )
inlineoverridevirtual

Implements IStorageProvider.


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