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