HaikuDepot: notify work status from main window
[haiku.git] / src / apps / firstbootprompt / BootPromptWindow.h
blobcc6a120b5ecff430abdd40d19997e3ec9619a32e
1 /*
2 * Copyright 2010, Stephan Aßmus <superstippi@gmx.de>.
3 * All rights reserved. Distributed under the terms of the MIT License.
4 */
5 #ifndef BOOT_PROMPT_WINDOW_H
6 #define BOOT_PROMPT_WINDOW_H
9 #include <Window.h>
12 class BButton;
13 class BLanguage;
14 class BListView;
15 class BMenuItem;
16 class BMenuField;
17 class BStringView;
18 class BTextView;
21 class BootPromptWindow : public BWindow {
22 public:
23 BootPromptWindow();
25 virtual void MessageReceived(BMessage* message);
27 private:
28 void _InitCatalog(bool saveSettings);
29 void _UpdateStrings();
30 void _PopulateLanguages();
31 void _PopulateKeymaps();
32 void _ActivateKeymap(const BMessage* message) const;
33 status_t _GetCurrentKeymapRef(entry_ref& ref) const;
34 BMenuItem* _KeymapItemForLanguage(
35 BLanguage& language) const;
37 private:
38 BTextView* fInfoTextView;
39 BStringView* fLanguagesLabelView;
40 BListView* fLanguagesListView;
41 BMenuField* fKeymapsMenuField;
42 BMenuItem* fDefaultKeymapItem;
43 BButton* fDesktopButton;
44 BButton* fInstallerButton;
48 #endif // BOOT_PROMPT_WINDOW_H