1 /* 2 * Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de. 3 * Distributed under the terms of the MIT License. 4 */ 5 6 #include "ResizeJob.h" 7 8 #include "DiskDeviceUtils.h" 9 #include "PartitionReference.h" 10 11 12 // constructor 13 ResizeJob::ResizeJob(PartitionReference* partition, PartitionReference* child, 14 off_t size, off_t contentSize) 15 : DiskDeviceJob(partition, child), 16 fSize(size), 17 fContentSize(contentSize) 18 { 19 } 20 21 22 // destructor 23 ResizeJob::~ResizeJob() 24 { 25 } 26 27 28 // Do 29 status_t 30 ResizeJob::Do() 31 { 32 // Implement! 33 return B_BAD_VALUE; 34 } 35 36