mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-28 05:07:35 +00:00
Import all this stuff into a single repo called Serenity.
This commit is contained in:
commit
5a30055157
Notes:
sideshowbarker
2024-07-19 18:51:29 +09:00
Author: https://github.com/awesomekling 🔰
Commit: 5a30055157
67 changed files with 8836 additions and 0 deletions
18
VirtualFileSystem/FileHandle.h
Normal file
18
VirtualFileSystem/FileHandle.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
#pragma once
|
||||
|
||||
#include "VirtualFileSystem.h"
|
||||
#include <AK/ByteBuffer.h>
|
||||
|
||||
class FileHandle {
|
||||
public:
|
||||
explicit FileHandle(RetainPtr<VirtualFileSystem::Node>&&);
|
||||
~FileHandle();
|
||||
|
||||
ByteBuffer read() const;
|
||||
|
||||
private:
|
||||
friend class VirtualFileSystem;
|
||||
|
||||
RetainPtr<VirtualFileSystem::Node> m_vnode;
|
||||
};
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue