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