diff options
Diffstat (limited to 'backgroundtask.cpp')
| -rw-r--r-- | backgroundtask.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/backgroundtask.cpp b/backgroundtask.cpp index b2d4a738..5aeadaf8 100644 --- a/backgroundtask.cpp +++ b/backgroundtask.cpp @@ -43,6 +43,12 @@ string BackgroundTask::GetProgressText() const } +uint64_t BackgroundTask::GetRuntimeSeconds() const +{ + return BNGetBackgroundTaskRuntimeSeconds(m_object); +} + + void BackgroundTask::Cancel() { BNCancelBackgroundTask(m_object); |
