mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:17:36 +00:00
LibCore: Move Stream-based file into the Core
namespace
This commit is contained in:
parent
a96339b72b
commit
606a3982f3
218 changed files with 748 additions and 643 deletions
|
@ -35,10 +35,10 @@ public:
|
|||
|
||||
size_t buffer_size() const { return m_document->size(); }
|
||||
ErrorOr<void> open_new_file(size_t size);
|
||||
void open_file(NonnullOwnPtr<Core::Stream::File> file);
|
||||
void open_file(NonnullOwnPtr<Core::File> file);
|
||||
ErrorOr<void> fill_selection(u8 fill_byte);
|
||||
Optional<u8> get_byte(size_t position);
|
||||
ErrorOr<void> save_as(NonnullOwnPtr<Core::Stream::File>);
|
||||
ErrorOr<void> save_as(NonnullOwnPtr<Core::File>);
|
||||
ErrorOr<void> save();
|
||||
|
||||
bool undo();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue