1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:47:35 +00:00

Kernel: Move devices into Kernel/Devices/.

This commit is contained in:
Andreas Kling 2019-04-03 12:36:40 +02:00
parent 072ea7eece
commit ab43658c55
42 changed files with 53 additions and 54 deletions

View 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; }
};