blob: 4f216ec59eeebfd7fb30fefa0d0e629d0c5ad03c (
plain) (
tree)
|
|
#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
|