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

#include <PosixMountProvider.h>

Inheritance diagram for CPosixMountProvider:
IStorageProvider

Public Member Functions

 CPosixMountProvider ()
 
 ~CPosixMountProvider () override=default
 
void Initialize () override
 
void Stop () override
 
void GetLocalDrives (std::vector< CMediaSource > &localDrives) override
 
void GetRemovableDrives (std::vector< CMediaSource > &removableDrives) override
 
std::vector< std::string > GetDiskUsage () override
 
bool Eject (const std::string &mountpath) 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

◆ CPosixMountProvider()

CPosixMountProvider::CPosixMountProvider ( )

◆ ~CPosixMountProvider()

CPosixMountProvider::~CPosixMountProvider ( )
overridedefault

Member Function Documentation

◆ Eject()

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

Implements IStorageProvider.

◆ GetDiskUsage()

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

Implements IStorageProvider.

◆ GetLocalDrives()

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

Implements IStorageProvider.

◆ GetRemovableDrives()

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

Implements IStorageProvider.

◆ Initialize()

void CPosixMountProvider::Initialize ( )
overridevirtual

Implements IStorageProvider.

◆ PumpDriveChangeEvents()

bool CPosixMountProvider::PumpDriveChangeEvents ( IStorageEventsCallback * callback)
overridevirtual

Implements IStorageProvider.

◆ Stop()

void CPosixMountProvider::Stop ( )
inlineoverridevirtual

Implements IStorageProvider.


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