Class BackgroundOperationWatcher

to update status for background operation in AppFrame

class BackgroundOperationWatcher;

Constructors

NameDescription
this (frame)

Fields

NameTypeDescription
_cancelRequested bool
_finished bool
_frame AppFrame

Properties

NameTypeDescription
cancelRequested[get] boolreturns cancel status
description[get] dstringreturns description of background operation to show in status line
finished[get] boolreturn true when task is done - to remove it from AppFrame
icon[get] stringreturns icon of background operation to show in status line
updateInterval[get] longreturns desired update interval

Methods

NameDescription
cancel () request cancel - once cancelled, finished should return true
removing () will be called by app frame when BackgroundOperationWatcher is to be removed
update () update background operation status