summaryrefslogblamecommitdiff
path: root/Source/Kernel/Devices/Device.proto.h
blob: 4f216ec59eeebfd7fb30fefa0d0e629d0c5ad03c (plain) (tree)
1
2
3
4
5
6
7
8
9








                                  
                             


                                        
                                                             


      
#ifndef DEF_DEVICE_PROTO_H
#define DEF_DEVICE_PROTO_H

#include <Library/String.class.h>

#include <SyscallManager/IDT.ns.h>

class Device {
	public:
	virtual ~Device() {};
	virtual String getClass() = 0;	
	virtual String getName() = 0;	

	virtual void handleIRQ(registers_t regs, int irq) {};
};

#endif