serenity/VirtualFileSystem/FullDevice.h
2018-12-03 00:39:25 +01:00

15 lines
381 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 has_data_available_for_reading() const override;
};