Added ActiveJobIndex().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4136 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
7241529789
commit
c34b4f49f4
@ -23,6 +23,7 @@ public:
|
|||||||
void SetDevice(KDiskDevice *device);
|
void SetDevice(KDiskDevice *device);
|
||||||
KDiskDevice *Device() const;
|
KDiskDevice *Device() const;
|
||||||
|
|
||||||
|
int32 ActiveJobIndex() const;
|
||||||
KDiskDeviceJob *ActiveJob() const;
|
KDiskDeviceJob *ActiveJob() const;
|
||||||
|
|
||||||
// list of scheduled jobs
|
// list of scheduled jobs
|
||||||
|
@ -97,6 +97,13 @@ KDiskDeviceJobQueue::Device() const
|
|||||||
return fDevice;
|
return fDevice;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ActiveJobIndex
|
||||||
|
int32
|
||||||
|
KDiskDeviceJobQueue::ActiveJobIndex() const
|
||||||
|
{
|
||||||
|
return fActiveJob;
|
||||||
|
}
|
||||||
|
|
||||||
// ActiveJob
|
// ActiveJob
|
||||||
KDiskDeviceJob *
|
KDiskDeviceJob *
|
||||||
KDiskDeviceJobQueue::ActiveJob() const
|
KDiskDeviceJobQueue::ActiveJob() const
|
||||||
|
Loading…
Reference in New Issue
Block a user