mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
15 lines
381 B
C++
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;
|
|
};
|
|
|