xref: /haiku/src/apps/drivesetup/DriveSetup.h (revision a381c8a06378de22ff08adf4282b4e3f7e50d250)
1 /*
2  * Copyright 2002-2007 Haiku Inc. All rights reserved.
3  * Distributed under the terms of the MIT license.
4  */
5 #ifndef DRIVE_SETUP_H
6 #define DRIVE_SETUP_H
7 
8 
9 #include <Application.h>
10 #include <Message.h>
11 
12 
13 class BFile;
14 class MainWindow;
15 
16 
17 class DriveSetup : public BApplication {
18 public:
19 								DriveSetup();
20 	virtual						~DriveSetup();
21 
22 	virtual	void				ReadyToRun();
23 	virtual	bool				QuitRequested();
24 
25 private:
26 			status_t			_StoreSettings();
27 			status_t			_RestoreSettings();
28 			status_t			_GetSettingsFile(BFile& file,
29 									bool forWriting) const;
30 
31 			MainWindow*			fWindow;
32 
33 			BMessage			fSettings;
34 };
35 
36 
37 #endif // DRIVE_SETUP_H
38