feat: expose drive labels to userspace, render in Files
This commit is contained in:
@@ -28,6 +28,7 @@ namespace Fs::Vfs {
|
||||
int (*Delete)(const char* path);
|
||||
int (*Mkdir)(const char* path);
|
||||
int (*Rename)(const char* oldPath, const char* newPath);
|
||||
const char* (*GetLabel)();
|
||||
};
|
||||
|
||||
void Initialize();
|
||||
@@ -48,5 +49,6 @@ namespace Fs::Vfs {
|
||||
|
||||
// Returns number of registered drives, fills outDrives[] with their indices
|
||||
int VfsDriveList(int* outDrives, int maxEntries);
|
||||
int VfsDriveLabel(int driveNumber, char* outLabel, int maxLen);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user