xref: /haiku/src/kits/storage/disk_device/jobs/RepairJob.h (revision 17889a8c70dbb3d59c1412f6431968753c767bab)
1 /*
2  * Copyright 2007, Ingo Weinhold, ingo_weinhold@gmx.de.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef _REPAIR_JOB_H
6 #define _REPAIR_JOB_H
7 
8 #include "DiskDeviceJob.h"
9 
10 
11 namespace BPrivate {
12 
13 
14 class RepairJob : public DiskDeviceJob {
15 public:
16 
17 								RepairJob(PartitionReference* partition,
18 									bool checkOnly);
19 	virtual						~RepairJob();
20 
21 	virtual	status_t			Do();
22 
23 private:
24 			bool				fCheckOnly;
25 };
26 
27 
28 }	// namespace BPrivate
29 
30 using BPrivate::RepairJob;
31 
32 #endif	// _REPAIR_JOB_H
33