mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:52:43 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			311 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			311 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #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; }
 | |
| };
 | 
