#ifndef DEF_PART_NS_H #define DEF_PART_NS_H #include #include #include namespace Part { extern Vector devices; extern Vector partitions; void registerDevice(BlockDevice* dev); void unregisterDevice(BlockDevice* dev); u32int getDeviceID(BlockDevice* dev); BlockDevice* dev(String _class, u32int idx); Partition* part(BlockDevice* dev, u32int idx); } #endif