1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 16:07:46 +00:00

FileManager: Show progress dialog for pasted files

For now, this is a slight step backwards, as Cut does not remove the
source files. This will be rectified next.
This commit is contained in:
Sam Atkins 2021-06-17 15:00:01 +01:00 committed by Andreas Kling
parent d8fb8b9583
commit 516764ef17
2 changed files with 13 additions and 10 deletions

View file

@ -1,5 +1,6 @@
/*
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
* Copyright (c) 2021, Sam Atkins <atkinssj@gmail.com>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
@ -21,5 +22,5 @@ enum class FileOperation {
void delete_path(String const&, GUI::Window*);
void delete_paths(Vector<String> const&, bool should_confirm, GUI::Window*);
void run_file_operation([[maybe_unused]] FileOperation operation, Vector<String> const& sources, String const& destination, GUI::Window* parent_window);
void run_file_operation(FileOperation, Vector<String> const& sources, String const& destination, GUI::Window*);
}