Class BackgroundOperationWatcher

to update status for background operation in AppFrame

Inherits from

  • Object (base class)

Constructors

Name Description
this

Fields

Name Type Description
_cancelRequested bool
_finished bool
_frame AppFrame

Properties

Name Type Description
cancelRequested [get] bool returns cancel status
description [get] dstring returns description of background operation to show in status line
finished [get] bool return true when task is done - to remove it from AppFrame
icon [get] string returns icon of background operation to show in status line
updateInterval [get] long returns desired update interval

Methods

Name Description
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

Authors

Vadim Lopatin, coolreader.org@gmail.com

Copyright

Vadim Lopatin, 2015

License

Boost License 1.0