2 * Copyright 2007-2012, Haiku, Inc. All rights reserved.
3 * Copyright 2001-2002 Dr. Zoidberg Enterprises. All rights reserved.
4 * Copyright 2011, Clemens Zeidler <haiku@clemens-zeidler.de>
6 * Distributed under the terms of the MIT License.
15 #include <MailSettingsView.h>
16 #include <MailSettings.h>
18 #include <ProtocolConfigView.h>
20 #include "FilterConfigView.h"
30 class AccountConfigView
: public BBox
{
33 BMailAccountSettings
* account
);
35 virtual void DetachedFromWindow();
36 virtual void AttachedToWindow();
37 virtual void MessageReceived(BMessage
* message
);
42 BTextControl
* fNameControl
;
43 BTextControl
* fRealNameControl
;
44 BTextControl
* fReturnAddressControl
;
45 BMailAccountSettings
* fAccount
;
49 class ProtocolSettingsView
: public BBox
{
51 ProtocolSettingsView(const entry_ref
& ref
,
52 const BMailAccountSettings
& accountSettings
,
53 BMailProtocolSettings
& settings
);
55 void DetachedFromWindow();
58 status_t
_CreateSettingsView(const entry_ref
& ref
,
59 const BMailAccountSettings
& accountSettings
,
60 BMailProtocolSettings
& settings
);
63 BMailProtocolSettings
& fSettings
;
64 BMailSettingsView
* fSettingsView
;
69 #endif /* CONFIG_VIEWS_H */