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