Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
iv::threads::BackgroundTaskWithDialogParams Struct Reference

#include <BackgroundTaskWithDialog.hpp>

Public Attributes

std::string title {"Processing"}
 
std::string message {"Some processing is happening, please wait..."}
 
std::function< void(const std::atomic_bool &cancelRequest)> processingFunction
 
std::function< void(bool wasCancelled)> completionCallback = [](auto) {}
 
bool showCancelButton {true}
 

Member Data Documentation

◆ completionCallback

std::function<void(bool wasCancelled)> iv::threads::BackgroundTaskWithDialogParams::completionCallback = [](auto) {}

◆ message

std::string iv::threads::BackgroundTaskWithDialogParams::message {"Some processing is happening, please wait..."}

◆ processingFunction

std::function<void(const std::atomic_bool &cancelRequest)> iv::threads::BackgroundTaskWithDialogParams::processingFunction

◆ showCancelButton

bool iv::threads::BackgroundTaskWithDialogParams::showCancelButton {true}

◆ title

std::string iv::threads::BackgroundTaskWithDialogParams::title {"Processing"}

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