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:
Ingo Weinhold
2003-01-31 22:05:09 +00:00
parent a074951297
commit 42b7adc3a4
5 changed files with 26 additions and 8 deletions
+4 -1
View File
@@ -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
+10 -4
View File
@@ -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,
+4 -1
View File
@@ -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
+4 -1
View File
@@ -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
+4 -1
View File
@@ -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