BDiskDeviceList now has a default value for the "useOwnLocker" argument - it defaults

to using its own locker.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12544 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2005-05-03 00:28:31 +00:00
parent 48e740c514
commit b07ce77575
+5 -4
View File
@@ -1,15 +1,16 @@
//---------------------------------------------------------------------- //----------------------------------------------------------------------
// This software is part of the OpenBeOS distribution and is covered // This software is part of the Haiku distribution and is covered
// by the OpenBeOS license. // by the MIT license.
//--------------------------------------------------------------------- //---------------------------------------------------------------------
#ifndef _DISK_DEVICE_LIST_H #ifndef _DISK_DEVICE_LIST_H
#define _DISK_DEVICE_LIST_H #define _DISK_DEVICE_LIST_H
#include <DiskDeviceVisitor.h> #include <DiskDeviceVisitor.h>
#include <Handler.h> #include <Handler.h>
#include <ObjectList.h> #include <ObjectList.h>
class BDiskDevice; class BDiskDevice;
class BDiskDeviceRoster; class BDiskDeviceRoster;
class BPartition; class BPartition;
@@ -17,7 +18,7 @@ class BSession;
class BDiskDeviceList : public BHandler { class BDiskDeviceList : public BHandler {
public: public:
BDiskDeviceList(bool useOwnLocker); BDiskDeviceList(bool useOwnLocker = true);
virtual ~BDiskDeviceList(); virtual ~BDiskDeviceList();
virtual void MessageReceived(BMessage *message); virtual void MessageReceived(BMessage *message);