blob: b81f1187fce51febb5efc34846e92ae9a9229801 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#pragma once
#include <Kernel/Device.h>
class CharacterDevice : public Device {
public:
virtual ~CharacterDevice() override;
protected:
CharacterDevice(unsigned major, unsigned minor) : Device(major, minor) { }
private:
virtual bool is_character_device() const final { return true; }
};
|