107 bool hasCancelButton,
110 Component* componentToCentreAround =
nullptr);
116 #if JUCE_MODAL_LOOPS_PERMITTED
128 bool runThread (
int priority = 5);
159 virtual void threadComplete (
bool userPressedCancel);
163 void timerCallback()
override;
#define noexcept
Definition DistrhoDefines.h:72
Definition juce_AlertWindow.h:45
Definition juce_Component.h:36
Definition juce_CriticalSection.h:43
Definition juce_String.h:53
Thread(const String &threadName, size_t threadStackSize=0)
Definition juce_Thread.cpp:26
void setStatusMessage(const String &newStatusMessage)
Definition juce_ThreadWithProgressWindow.cpp:79
bool wasCancelledByUser
Definition juce_ThreadWithProgressWindow.h:170
CriticalSection messageLock
Definition juce_ThreadWithProgressWindow.h:168
ThreadWithProgressWindow(const String &windowTitle, bool hasProgressBar, bool hasCancelButton, int timeOutMsWhenCancelling=10000, const String &cancelButtonText=String(), Component *componentToCentreAround=nullptr)
Definition juce_ThreadWithProgressWindow.cpp:29
void launchThread(int priority=5)
Definition juce_ThreadWithProgressWindow.cpp:59
double progress
Definition juce_ThreadWithProgressWindow.h:165
void setProgress(double newProgress)
Definition juce_ThreadWithProgressWindow.cpp:74
const int timeOutMsWhenCancelling
Definition juce_ThreadWithProgressWindow.h:169
std::unique_ptr< AlertWindow > alertWindow
Definition juce_ThreadWithProgressWindow.h:166
AlertWindow * getAlertWindow() const noexcept
Definition juce_ThreadWithProgressWindow.h:153
String message
Definition juce_ThreadWithProgressWindow.h:167
Timer() noexcept
Definition juce_Timer.cpp:316
#define JUCE_API
Definition juce_StandardHeader.h:152
Definition carla_juce.cpp:31
#define const
Definition zconf.h:137