JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::MountedVolumeListChangeDetector Class Referenceabstract

An instance of this class will provide callbacks when drives are mounted or unmounted on the system. More...

#include <juce_MountedVolumeListChangeDetector.h>

Collaboration diagram for juce::MountedVolumeListChangeDetector:

Public Member Functions

 MountedVolumeListChangeDetector ()
 
virtual ~MountedVolumeListChangeDetector ()
 
virtual void mountedVolumeListChanged ()=0
 This method is called when a volume is mounted or unmounted. More...
 

Private Attributes

std::unique_ptr< Pimpl > pimpl
 

Detailed Description

An instance of this class will provide callbacks when drives are mounted or unmounted on the system.

Just inherit from this class and implement the pure virtual method to get the callbacks, there's no need to do anything else.

See also
File::findFileSystemRoots()

@tags{Events}

Constructor & Destructor Documentation

◆ MountedVolumeListChangeDetector()

juce::MountedVolumeListChangeDetector::MountedVolumeListChangeDetector ( )

◆ ~MountedVolumeListChangeDetector()

virtual juce::MountedVolumeListChangeDetector::~MountedVolumeListChangeDetector ( )
virtual

Member Function Documentation

◆ mountedVolumeListChanged()

virtual void juce::MountedVolumeListChangeDetector::mountedVolumeListChanged ( )
pure virtual

This method is called when a volume is mounted or unmounted.

Member Data Documentation

◆ pimpl

std::unique_ptr<Pimpl> juce::MountedVolumeListChangeDetector::pimpl
private

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