diff options
| author | Josh Ferrell <josh@vector35.com> | 2024-01-22 16:11:19 -0500 |
|---|---|---|
| committer | Josh Ferrell <josh@vector35.com> | 2024-01-22 16:11:19 -0500 |
| commit | 3dd22f40996fc128ffce6026e8e747ca66bcc21d (patch) | |
| tree | a5e7fc57dc620fc4d4a408ffdbf114bb66dcf91d /backgroundtask.cpp | |
| parent | 96053ffc711aa27fcaeeb6cbfa89df0c253361f8 (diff) | |
Project support
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); |
