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