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

#include <Win32StorageProvider.h>

Inheritance diagram for CWin32StorageProvider:
IStorageProvider

Public Member Functions

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

Static Public Member Functions

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

Static Public Attributes

static bool xbevent = false
 

Constructor & Destructor Documentation

◆ ~CWin32StorageProvider()

virtual CWin32StorageProvider::~CWin32StorageProvider ( )
inlinevirtual

Member Function Documentation

◆ Eject()

bool CWin32StorageProvider::Eject ( const std::string & mountpath)
virtual

Implements IStorageProvider.

◆ GetDiskUsage()

std::vector< std::string > CWin32StorageProvider::GetDiskUsage ( void )
virtual

Implements IStorageProvider.

◆ GetFirstOpticalDeviceFileName()

std::string CWin32StorageProvider::GetFirstOpticalDeviceFileName ( )
virtual

Reimplemented from IStorageProvider.

◆ GetLocalDrives()

void CWin32StorageProvider::GetLocalDrives ( std::vector< CMediaSource > & localDrives)
virtual

Implements IStorageProvider.

◆ GetRemovableDrives()

void CWin32StorageProvider::GetRemovableDrives ( std::vector< CMediaSource > & removableDrives)
virtual

Implements IStorageProvider.

◆ Initialize()

void CWin32StorageProvider::Initialize ( )
virtual

Implements IStorageProvider.

◆ PumpDriveChangeEvents()

bool CWin32StorageProvider::PumpDriveChangeEvents ( IStorageEventsCallback * callback)
virtual

Implements IStorageProvider.

◆ SetEvent()

static void CWin32StorageProvider::SetEvent ( )
inlinestatic

◆ Stop()

virtual void CWin32StorageProvider::Stop ( )
inlinevirtual

Implements IStorageProvider.

Member Data Documentation

◆ xbevent

bool CWin32StorageProvider::xbevent = false
static

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