hos/kernel/fs/Device.h

28 lines
445 B
C++

// Device.h
// Device object for use in devfs
// Author: Josh Holtrop
// Date: 06/03/04
// Modified: 06/03/04
#ifndef __HOS_DEVICE__
#define __HOS_DEVICE__ __HOS_DEVICE__
#include "hos_defines.h"
#include "lang/string.h"
class Device
{
private:
dword myMajor;
dword myMinor;
char myType; //'d'irectory,'l'ink,'b'lock,'c'har,'a'vail
string myName;
public:
Device();
Device(string name, dword major, dword minor, char type);
};
#endif