Added file header. Minor changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2613 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
// DiskDevice.h
|
||||
//----------------------------------------------------------------------
|
||||
// This software is part of the OpenBeOS distribution and is covered
|
||||
// by the OpenBeOS license.
|
||||
//---------------------------------------------------------------------
|
||||
|
||||
#ifndef _DISK_DEVICE_H
|
||||
#define _DISK_DEVICE_H
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// DiskDeviceRoster.h
|
||||
//----------------------------------------------------------------------
|
||||
// This software is part of the OpenBeOS distribution and is covered
|
||||
// by the OpenBeOS license.
|
||||
//---------------------------------------------------------------------
|
||||
|
||||
#ifndef _DISK_DEVICE_ROSTER_H
|
||||
#define _DISK_DEVICE_ROSTER_H
|
||||
@@ -73,10 +76,13 @@ public:
|
||||
BPartition **partition = NULL);
|
||||
// return true if terminated early
|
||||
|
||||
BDiskDevice *DeviceWithID(int32 id) const;
|
||||
BSession *SessionWithID(int32 id, BDiskDevice *device) const;
|
||||
|
||||
status_t GetDeviceWithID(int32 id, BDiskDevice *device) const;
|
||||
status_t GetSessionWithID(int32 id, BDiskDevice *device,
|
||||
BSession **session) const;
|
||||
// inits device to the device containing the session
|
||||
BPartition *PartitionWithID(int32 id, BDiskDevice *device) const;
|
||||
status_t GetPartitionWithID(int32 id, BDiskDevice *device,
|
||||
BPartition **partition) const;
|
||||
// inits device to the device containing the partition
|
||||
|
||||
status_t StartWatching(BMessenger target,
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// DiskDeviceIteration.h
|
||||
//----------------------------------------------------------------------
|
||||
// This software is part of the OpenBeOS distribution and is covered
|
||||
// by the OpenBeOS license.
|
||||
//---------------------------------------------------------------------
|
||||
|
||||
#ifndef _DISK_DEVICE_VISITOR_H
|
||||
#define _DISK_DEVICE_VISITOR_H
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// Partition.h
|
||||
//----------------------------------------------------------------------
|
||||
// This software is part of the OpenBeOS distribution and is covered
|
||||
// by the OpenBeOS license.
|
||||
//---------------------------------------------------------------------
|
||||
|
||||
#ifndef _PARTITION_H
|
||||
#define _PARTITION_H
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
// Session.h
|
||||
//----------------------------------------------------------------------
|
||||
// This software is part of the OpenBeOS distribution and is covered
|
||||
// by the OpenBeOS license.
|
||||
//---------------------------------------------------------------------
|
||||
|
||||
#ifndef _SESSION_H
|
||||
#define _SESSION_H
|
||||
|
||||
Reference in New Issue
Block a user