ladybird/VirtualFileSystem/FullDevice.h

16 lines
389 B
C
Raw Normal View History

2018-10-14 11:16:09 +00:00
#pragma once
#include "CharacterDevice.h"
class FullDevice final : public CharacterDevice {
AK_MAKE_ETERNAL
2018-10-14 11:16:09 +00:00
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(Process&) const override;
2018-10-14 11:16:09 +00:00
};