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

#include <LinuxStorageProvider.h>

Inheritance diagram for CLinuxStorageProvider:
IStorageProvider

Public Member Functions

 CLinuxStorageProvider ()
 
 ~CLinuxStorageProvider () 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 ()
 

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

◆ CLinuxStorageProvider()

CLinuxStorageProvider::CLinuxStorageProvider ( )

◆ ~CLinuxStorageProvider()

CLinuxStorageProvider::~CLinuxStorageProvider ( )
override

Member Function Documentation

◆ Eject()

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

Implements IStorageProvider.

◆ GetDiskUsage()

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

Implements IStorageProvider.

◆ GetLocalDrives()

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

Implements IStorageProvider.

◆ GetRemovableDrives()

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

Implements IStorageProvider.

◆ Initialize()

void CLinuxStorageProvider::Initialize ( )
overridevirtual

Implements IStorageProvider.

◆ PumpDriveChangeEvents()

bool CLinuxStorageProvider::PumpDriveChangeEvents ( IStorageEventsCallback * callback)
overridevirtual

Implements IStorageProvider.

◆ Stop()

void CLinuxStorageProvider::Stop ( )
overridevirtual

Implements IStorageProvider.


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