1// Settings.h
2
3#ifndef USERLAND_FS_SETTINGS_H
4#define USERLAND_FS_SETTINGS_H
5
6#include <SupportDefs.h>
7
8struct driver_settings;
9struct driver_parameter;
10struct IOCtlInfo;
11
12// Settings
13class Settings {
14public:
15								Settings();
16								~Settings();
17
18			status_t			SetTo(const char *fsName);
19			void				Unset();
20
21			const IOCtlInfo*	GetIOCtlInfo(int command) const;
22
23			void				Dump() const;
24
25private:
26			status_t			_Init(const driver_settings *settings,
27									const driver_parameter *fsParams);
28
29private:
30			struct IOCtlInfoMap;
31
32			IOCtlInfoMap*		fIOCtlInfos;
33};
34
35#endif	// USERLAND_FS_SETTINGS_H
36