mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:48:10 +00:00

It still requires an ELF compiler and linker, but at least it builds. I need to get rid of the "Unix" namespace. This does a lot of that.
15 lines
374 B
C++
15 lines
374 B
C++
#pragma once
|
|
|
|
#include "CharacterDevice.h"
|
|
|
|
class FullDevice final : public CharacterDevice {
|
|
AK_MAKE_ETERNAL
|
|
public:
|
|
FullDevice();
|
|
virtual ~FullDevice();
|
|
|
|
virtual ssize_t read(byte* buffer, size_t bufferSize) override;
|
|
virtual ssize_t write(const byte* buffer, size_t bufferSize) override;
|
|
virtual bool hasDataAvailableForRead() const override;
|
|
};
|
|
|