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

#include <OSXStorageProvider.h>

Inheritance diagram for COSXStorageProvider:
IStorageProvider

Public Member Functions

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

Static Public Member Functions

static void VolumeMountNotification (const char *label, const char *mountpoint)
 
static void VolumeUnmountNotification (const char *label, const char *mountpoint)
 
- Static Public Member Functions inherited from IStorageProvider
static std::unique_ptr< IStorageProviderCreateInstance ()
 Called by media manager to create platform storage provider.
 

Constructor & Destructor Documentation

◆ COSXStorageProvider()

COSXStorageProvider::COSXStorageProvider ( )

◆ ~COSXStorageProvider()

COSXStorageProvider::~COSXStorageProvider ( )
overridedefault

Member Function Documentation

◆ Eject()

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

Implements IStorageProvider.

◆ GetDiskUsage()

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

Implements IStorageProvider.

◆ GetLocalDrives()

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

Implements IStorageProvider.

◆ GetRemovableDrives()

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

Implements IStorageProvider.

◆ Initialize()

void COSXStorageProvider::Initialize ( )
inlineoverridevirtual

Implements IStorageProvider.

◆ PumpDriveChangeEvents()

bool COSXStorageProvider::PumpDriveChangeEvents ( IStorageEventsCallback * callback)
overridevirtual

Implements IStorageProvider.

◆ Stop()

void COSXStorageProvider::Stop ( )
inlineoverridevirtual

Implements IStorageProvider.

◆ VolumeMountNotification()

void COSXStorageProvider::VolumeMountNotification ( const char * label,
const char * mountpoint )
static

◆ VolumeUnmountNotification()

void COSXStorageProvider::VolumeUnmountNotification ( const char * label,
const char * mountpoint )
static

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