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 <Catalog.h> 11 #include <Message.h> 12 13 14 class BFile; 15 class MainWindow; 16 17 18 class DriveSetup : public BApplication { 19 public: 20 DriveSetup(); 21 virtual ~DriveSetup(); 22 23 virtual void ReadyToRun(); 24 virtual bool QuitRequested(); 25 26 private: 27 status_t _StoreSettings(); 28 status_t _RestoreSettings(); 29 status_t _GetSettingsFile(BFile& file, 30 bool forWriting) const; 31 32 MainWindow* fWindow; 33 34 BMessage fSettings; 35 }; 36 37 38 #endif // DRIVE_SETUP_H 39