Replaced the Vector parameter of CreateMoveJob() by a simple array. Added CreateUninitializeJob() (empty implementation).

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4171 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2003-07-31 22:45:26 +00:00
parent 6ae0077c0d
commit 57c8af057e
2 changed files with 19 additions and 6 deletions
@@ -1,9 +1,13 @@
// KDiskDeviceJob.cpp
// KDiskDeviceJobFactory.cpp
#include <new>
#include "KDiskDeviceJob.h"
#include "KDiskDeviceJobFactory.h"
#include "KScanPartitionJob.h"
using namespace std;
// constructor
KDiskDeviceJobFactory::KDiskDeviceJobFactory()
{
@@ -45,7 +49,8 @@ KDiskDeviceJobFactory::CreateResizeJob(partition_id parentID,
KDiskDeviceJob *
KDiskDeviceJobFactory::CreateMoveJob(partition_id parentID,
partition_id partitionID, off_t offset,
Vector<partition_id> *contentsToMove)
const partition_id *contentsToMove,
int32 contentsToMoveCount)
{
// not implemented
return NULL;
@@ -110,6 +115,14 @@ KDiskDeviceJobFactory::CreateInitializeJob(partition_id partitionID,
return NULL;
}
// CreateUninitializeJob
KDiskDeviceJob *
KDiskDeviceJobFactory::CreateUninitializeJob(partition_id partitionID)
{
// not implemented
return NULL;
}
// CreateCreateChildJob
KDiskDeviceJob *
KDiskDeviceJobFactory::CreateCreateChildJob(partition_id partitionID,