Commit bc9d3473 authored by Martin Marinov's avatar Martin Marinov

Add Progress::Context::active().

parent c61a1e2e
......@@ -75,6 +75,11 @@ public:
Get the root node, only makes sense to use that if not phony().
const Node* root_node() const { return root_node_; }
Get if the context is active, i.e., there is an active operation in progress.
bool active() const { return actv_node_ != root_node_; }
Request progress abort, intended to be called asynchronously from a "tracking"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment