mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:17:46 +00:00
Kernel: Make FIFO inherit from File.
This commit is contained in:
parent
f254a84d17
commit
0a0d739e98
18 changed files with 96 additions and 72 deletions
|
@ -1,10 +1,15 @@
|
|||
#pragma once
|
||||
|
||||
#include <AK/AKString.h>
|
||||
#include <AK/Retainable.h>
|
||||
#include <AK/Retained.h>
|
||||
#include <AK/Types.h>
|
||||
#include <Kernel/FileSystem/FileDescriptor.h>
|
||||
#include <Kernel/KResult.h>
|
||||
#include <Kernel/LinearAddress.h>
|
||||
|
||||
class FileDescriptor;
|
||||
class Process;
|
||||
class Region;
|
||||
|
||||
class File : public Retainable<File> {
|
||||
public:
|
||||
|
@ -28,6 +33,7 @@ public:
|
|||
virtual bool is_seekable() const { return false; }
|
||||
|
||||
virtual bool is_shared_memory() const { return false; }
|
||||
virtual bool is_fifo() const { return false; }
|
||||
virtual bool is_device() const { return false; }
|
||||
virtual bool is_tty() const { return false; }
|
||||
virtual bool is_master_pty() const { return false; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue