mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-07 11:39:44 +03:00
16 lines
296 B
C++
16 lines
296 B
C++
#pragma once
|
|
|
|
#include <AK/Types.h>
|
|
#include "Limits.h"
|
|
|
|
class CharacterDevice {
|
|
public:
|
|
virtual ~CharacterDevice();
|
|
|
|
virtual ssize_t read(byte* buffer, size_t bufferSize) = 0;
|
|
virtual ssize_t write(const byte* buffer, size_t bufferSize) = 0;
|
|
|
|
protected:
|
|
CharacterDevice() { }
|
|
};
|