* Added BDiskSystem::ShortName() and everything needed to get it there.
* Added BDiskDeviceRoster::GetDiskSystem() method, that can get a disk system by short/pretty/module name - since they should all be unique, I put them in a single namespace, please complain if you don't like that :-) * Cleaned up DiskSystem.h and DiskDeviceRoster.h according to the updated header guidelines. * Renamed ntfs pretty name from "ntfs File System" to "Windows NT File System". git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25414 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
// ddm_modules.h
|
||||
//
|
||||
// Interface to be implemented by partitioning modules.
|
||||
|
||||
/*
|
||||
* Copyright 2003-2008, Haiku Inc.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*/
|
||||
#ifndef _K_DISK_DEVICE_MODULES_H
|
||||
#define _K_DISK_DEVICE_MODULES_H
|
||||
|
||||
//! Interface to be implemented by partitioning modules.
|
||||
|
||||
#include <disk_device_manager.h>
|
||||
#include <module.h>
|
||||
#include <SupportDefs.h>
|
||||
@@ -12,6 +14,7 @@
|
||||
|
||||
typedef struct partition_module_info {
|
||||
module_info module;
|
||||
const char* short_name;
|
||||
const char* pretty_name;
|
||||
uint32 flags;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user