2 * Copyright 2007-2015, Haiku, Inc. All rights reserved.
3 * Copyright 2011, Clemens Zeidler <haiku@clemens-zeidler.de>
4 * Distributed under the terms of the MIT License.
6 #ifndef AUTO_CONFIG_WINDOW_H
7 #define AUTO_CONFIG_WINDOW_H
15 #include "MailSettings.h"
17 #include "AutoConfigView.h"
18 #include "ConfigWindow.h"
22 const int32 kBackMsg
= '?bac';
23 const int32 kOkMsg
= '?bok';
26 class AutoConfigWindow
: public BWindow
{
28 AutoConfigWindow(BRect rect
,
29 ConfigWindow
* parent
);
32 virtual void MessageReceived(BMessage
* msg
);
33 virtual bool QuitRequested(void);
36 account_info fAccountInfo
;
39 GenerateBasicAccount();
41 BView
* fContainerView
;
42 ConfigWindow
* fParentWindow
;
45 AutoConfigView
* fMainView
;
46 ServerSettingsView
* fServerView
;
50 bool fMainConfigState
;
51 bool fServerConfigState
;
52 bool fAutoConfigServer
;
54 AutoConfig fAutoConfig
;
58 #endif // AUTO_CONFIG_WINDOW_H