summaryrefslogtreecommitdiff
path: root/Source/Kernel/Devices/Device.proto.h
blob: d5d6422131caf3db9944bfbdf80911ece6a20f02 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef DEF_DEVICE_PROTO_H
#define DEF_DEVICE_PROTO_H

#include <Library/String.class.h>

#include <SyscallManager/IDT.ns.h>

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

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

#endif