1/*
2 * Copyright 2008 Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 *
5 * Authors:
6 *		Marco Minutoli, mminutoli@gmail.com
7 */
8#ifndef _FSCREATOR_H_
9#define _FSCREATOR_H_
10
11#include <String.h>
12
13#include <DiskDevice.h>
14#include <DiskDeviceRoster.h>
15
16
17class FsCreator {
18public:
19							FsCreator(const char* path, const char* type,
20								const char* volumeName, const char* fsOptions,
21								bool quick, bool verbose);
22
23			bool			Run();
24
25private:
26			BString			_ReadLine();
27
28			const char*		fType;
29			const char*		fPath;
30			const char*		fVolumeName;
31			const char*		fFsOptions;
32			bool			fVerbose;
33			bool			fQuick;
34};
35
36#endif	// _FSCREATOR_H_
37