Disables low-power-mode for the duration of an instance's lifetime. More...
#include <juce_ScopedLowPowerModeDisabler.h>
Public Member Functions | |
ScopedLowPowerModeDisabler () | |
~ScopedLowPowerModeDisabler () | |
Private Attributes | |
std::unique_ptr< Pimpl > | pimpl |
Disables low-power-mode for the duration of an instance's lifetime.
Currently this is only implemented on macOS, where it will disable the "App Nap" power-saving feature.
@tags{Events}
juce::ScopedLowPowerModeDisabler::ScopedLowPowerModeDisabler | ( | ) |
juce::ScopedLowPowerModeDisabler::~ScopedLowPowerModeDisabler | ( | ) |
|
private |