mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:17:44 +00:00
HexEditor: Use FileSystemAccessClient, add unveils
Most of the code here is based off the implementation of how TextEditor uses FileSystemAccessClient.
This commit is contained in:
parent
eae21c7e31
commit
8f2521ce52
6 changed files with 109 additions and 31 deletions
|
@ -1,5 +1,6 @@
|
|||
/*
|
||||
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
|
||||
* Copyright (c) 2021, Mustafa Quraish <mustafa@cs.toronto.edu>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
@ -21,7 +22,7 @@ class HexEditorWidget final : public GUI::Widget {
|
|||
C_OBJECT(HexEditorWidget)
|
||||
public:
|
||||
virtual ~HexEditorWidget() override;
|
||||
void open_file(const String& path);
|
||||
void open_file(int fd, String const& path);
|
||||
void initialize_menubar(GUI::Window&);
|
||||
bool request_close();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue