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

#include <IStorageProvider.h>

Inheritance diagram for IStorageEventsCallback:
CMediaManager

Public Member Functions

virtual ~IStorageEventsCallback ()=default
 
virtual void OnStorageAdded (const MEDIA_DETECT::STORAGE::StorageDevice &device)=0
 Callback executed when a new storage device is added.
 
virtual void OnStorageSafelyRemoved (const MEDIA_DETECT::STORAGE::StorageDevice &device)=0
 Callback executed when a new storage device is safely removed.
 
virtual void OnStorageUnsafelyRemoved (const MEDIA_DETECT::STORAGE::StorageDevice &device)=0
 Callback executed when a new storage device is unsafely removed.
 

Constructor & Destructor Documentation

◆ ~IStorageEventsCallback()

virtual IStorageEventsCallback::~IStorageEventsCallback ( )
virtualdefault

Member Function Documentation

◆ OnStorageAdded()

virtual void IStorageEventsCallback::OnStorageAdded ( const MEDIA_DETECT::STORAGE::StorageDevice & device)
pure virtual

Callback executed when a new storage device is added.

Parameters
devicethe storage device

Implemented in CMediaManager.

◆ OnStorageSafelyRemoved()

virtual void IStorageEventsCallback::OnStorageSafelyRemoved ( const MEDIA_DETECT::STORAGE::StorageDevice & device)
pure virtual

Callback executed when a new storage device is safely removed.

Parameters
devicethe storage device

Implemented in CMediaManager.

◆ OnStorageUnsafelyRemoved()

virtual void IStorageEventsCallback::OnStorageUnsafelyRemoved ( const MEDIA_DETECT::STORAGE::StorageDevice & device)
pure virtual

Callback executed when a new storage device is unsafely removed.

Parameters
devicethe storage device

Implemented in CMediaManager.


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