* 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:
Axel Dörfler
2008-05-10 11:44:00 +00:00
parent 36e12bef8f
commit 1da9f5cea5
28 changed files with 243 additions and 141 deletions
@@ -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;