1 #ifndef CONFIG_WINDOW_H 2 #define CONFIG_WINDOW_H 3 /* ConfigWindow - main eMail config window 4 ** 5 ** Copyright 2001 Dr. Zoidberg Enterprises. All rights reserved. 6 */ 7 8 9 #include <Window.h> 10 #include <List.h> 11 12 class BPopup; 13 class BTextControl; 14 class BCheckBox; 15 class BListView; 16 class BButton; 17 class BMenuField; 18 class BMailSettings; 19 20 class Account; 21 22 23 class ConfigWindow : public BWindow 24 { 25 public: 26 ConfigWindow(); 27 ~ConfigWindow(); 28 29 virtual bool QuitRequested(); 30 virtual void MessageReceived(BMessage* msg); 31 32 private: 33 void MakeHowToView(); 34 35 void LoadSettings(); 36 void SaveSettings(); 37 38 status_t SetToGeneralSettings(BMailSettings *general); 39 void RevertToLastSettings(); 40 41 private: 42 BListView *fAccountsListView; 43 Account *fLastSelectedAccount; 44 BView *fConfigView; 45 BButton *fRemoveButton; 46 47 BTextControl *fIntervalControl; 48 BMenuField *fIntervalUnitField; 49 BCheckBox *fPPPActiveCheckBox; 50 BCheckBox *fPPPActiveSendCheckBox; 51 BMenuField *fStatusModeField; 52 BCheckBox *fAutoStartCheckBox; 53 54 bool fSaveSettings; 55 }; 56 57 #endif /* CONFIG_WINDOW_H */ 58