Added ActiveJobIndex().

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4136 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2003-07-30 17:46:59 +00:00
parent 7241529789
commit c34b4f49f4
2 changed files with 8 additions and 0 deletions

View File

@ -23,6 +23,7 @@ public:
void SetDevice(KDiskDevice *device);
KDiskDevice *Device() const;
int32 ActiveJobIndex() const;
KDiskDeviceJob *ActiveJob() const;
// list of scheduled jobs

View File

@ -97,6 +97,13 @@ KDiskDeviceJobQueue::Device() const
return fDevice;
}
// ActiveJobIndex
int32
KDiskDeviceJobQueue::ActiveJobIndex() const
{
return fActiveJob;
}
// ActiveJob
KDiskDeviceJob *
KDiskDeviceJobQueue::ActiveJob() const