Added JobFactory().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4183 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
1217079c31
commit
84ba3a5265
@ -87,6 +87,8 @@ public:
|
||||
int32 CountJobQueues();
|
||||
KDiskDeviceJobQueue *NextJobQueue(int32 *cookie);
|
||||
|
||||
KDiskDeviceJobFactory *JobFactory() const;
|
||||
|
||||
// Disk Systems
|
||||
|
||||
// manager must be locked
|
||||
|
@ -650,6 +650,7 @@ KDiskDeviceManager::AddJobQueue(KDiskDeviceJobQueue *jobQueue)
|
||||
return error;
|
||||
}
|
||||
}
|
||||
// TODO: mark the concerned partitions busy /descendant busy
|
||||
// start its execution
|
||||
error = jobQueue->Execute();
|
||||
if (error != B_OK)
|
||||
@ -696,6 +697,13 @@ KDiskDeviceManager::NextJobQueue(int32 *cookie)
|
||||
return fJobQueues->ElementAt((*cookie)++);
|
||||
}
|
||||
|
||||
// JobFactory
|
||||
KDiskDeviceJobFactory *
|
||||
KDiskDeviceManager::JobFactory() const
|
||||
{
|
||||
return fJobFactory;
|
||||
}
|
||||
|
||||
// FindDiskSystem
|
||||
KDiskSystem *
|
||||
KDiskDeviceManager::FindDiskSystem(const char *name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user