diff options
Diffstat (limited to 'Userland/Applications/FileManager/FileOperationProgressWidget.h')
-rw-r--r-- | Userland/Applications/FileManager/FileOperationProgressWidget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Userland/Applications/FileManager/FileOperationProgressWidget.h b/Userland/Applications/FileManager/FileOperationProgressWidget.h index 8c47b67bfd..fcebebb02e 100644 --- a/Userland/Applications/FileManager/FileOperationProgressWidget.h +++ b/Userland/Applications/FileManager/FileOperationProgressWidget.h @@ -26,6 +26,7 @@ #pragma once +#include <LibCore/ElapsedTimer.h> #include <LibGUI/Widget.h> namespace FileManager { @@ -45,6 +46,9 @@ private: void close_pipe(); + String estimate_time(off_t bytes_done, off_t total_byte_count); + Core::ElapsedTimer m_elapsed_timer; + RefPtr<Core::Notifier> m_notifier; RefPtr<Core::File> m_helper_pipe; }; |