mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 00:22:43 +00:00 
			
		
		
		
	 1f41a36c52
			
		
	
	
		1f41a36c52
		
	
	
	
	
		
			
			This allows me to keep prototyping things on a random desktop machine, even if that machine has its own ideas about foo_t types.
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			303 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			303 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #pragma once
 | |
| 
 | |
| #include "CharacterDevice.h"
 | |
| 
 | |
| class FullDevice final : public CharacterDevice {
 | |
| public:
 | |
|     FullDevice();
 | |
|     virtual ~FullDevice();
 | |
| 
 | |
|     Unix::ssize_t read(byte* buffer, Unix::size_t bufferSize) override;
 | |
|     Unix::ssize_t write(const byte* buffer, Unix::size_t bufferSize) override;
 | |
| };
 | |
| 
 |