From 7685055798cbc1d1e65eac83bb2357c05d2cda1d Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Thu, 20 Feb 2003 00:22:09 +0000 Subject: [PATCH] Added BDiskDeviceList as friend. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2764 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/storage/DiskDevice.h | 2 +- headers/private/storage/Partition.h | 1 + headers/private/storage/Session.h | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/headers/private/storage/DiskDevice.h b/headers/private/storage/DiskDevice.h index 5ad4b949f6..0ed35f923a 100644 --- a/headers/private/storage/DiskDevice.h +++ b/headers/private/storage/DiskDevice.h @@ -7,7 +7,6 @@ #define _DISK_DEVICE_H #include -#include #include class BPartition; @@ -64,6 +63,7 @@ private: bool _AddSession(BSession *session); private: + friend class BDiskDeviceList; friend class BDiskDeviceRoster; BObjectList fSessions; diff --git a/headers/private/storage/Partition.h b/headers/private/storage/Partition.h index a4dc6d8caa..e7f8c2461f 100644 --- a/headers/private/storage/Partition.h +++ b/headers/private/storage/Partition.h @@ -79,6 +79,7 @@ private: void _SetSession(BSession *session); private: + friend class BDiskDeviceList; friend class BSession; BSession *fSession; diff --git a/headers/private/storage/Session.h b/headers/private/storage/Session.h index 1290d66fa8..797c484852 100644 --- a/headers/private/storage/Session.h +++ b/headers/private/storage/Session.h @@ -71,6 +71,7 @@ private: private: friend class BDiskDevice; + friend class BDiskDeviceList; BDiskDevice *fDevice; BObjectList fPartitions;