mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
18 lines
311 B
C++
18 lines
311 B
C++
#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;
|
|
};
|
|
|