#include <util.h>
Public Types | |
typedef void(* | IncInt )(int increment) |
Type for used functions -> more readable code. | |
Public Member Functions | |
UpdateInfo (const bool &terminate_, IncInt incMaxProgress_, IncInt incProgress_) | |
Initializes the structure from supplied parametres. | |
Static Public Member Functions | |
static void | emptyFunction (int) |
does nothing, default for IncInt functions | |
Public Attributes | |
volatile const bool * | terminate |
true if the action should be terminated | |
IncInt | incMaxProgress |
function for increasing the maximum progress (100%) | |
IncInt | incProgress |
function for increasing the current progress | |
Static Public Attributes | |
static const bool | noTerminate = false |
default for terminate, defined in modules.cpp | |
static const UpdateInfo | none |
empty UpdateInfo instance, in modules.cpp |
Definition at line 173 of file util.h.