repository_infos: Enable automatic updates on the main Haiku repostiory.
[haiku.git] / src / apps / expander / ExpanderPreferences.h
blob1775334a68f4fcd4acade670939a7bfb87f8677c
1 /*
2 * Copyright 2004-2012 Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Jérôme Duval
7 */
8 #ifndef _EXPANDER_PREFERENCES_H
9 #define _EXPANDER_PREFERENCES_H
12 #include <Entry.h>
13 #include <Window.h>
16 class BButton;
17 class BCheckBox;
18 class BMessage;
19 class BRadioButton;
20 class BTextControl;
21 class DirectoryFilePanel;
24 class ExpanderPreferences : public BWindow {
25 public:
26 ExpanderPreferences(BMessage* settings);
27 virtual ~ExpanderPreferences();
29 virtual void MessageReceived(BMessage* message);
31 private:
32 void _ReadSettings();
33 void _WriteSettings();
35 BButton* fSelect;
36 BCheckBox* fAutoExpand;
37 BCheckBox* fCloseWindow;
38 BCheckBox* fAutoShow;
39 BCheckBox* fOpenDest;
40 BMessage* fSettings;
41 BRadioButton* fDestUse;
42 BRadioButton* fSameDest;
43 BRadioButton* fLeaveDest;
44 BTextControl* fDestText;
45 DirectoryFilePanel* fUsePanel;
46 entry_ref fRef;
50 #endif // _EXPANDER_PREFERENCES_H