mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:17:35 +00:00
Kernel: Move devices into Kernel/Devices/.
This commit is contained in:
parent
072ea7eece
commit
ab43658c55
42 changed files with 53 additions and 54 deletions
14
Kernel/Devices/CharacterDevice.h
Normal file
14
Kernel/Devices/CharacterDevice.h
Normal file
|
@ -0,0 +1,14 @@
|
|||
#pragma once
|
||||
|
||||
#include <Kernel/Devices/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; }
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue