btrfs: Attempt to fix GCC2 build.
[haiku.git] / src / apps / debugger / user_interface / gui / utility_windows / ExpressionPromptWindow.h
blobce18792f55011748ca7cdc00e779cc12cac32ad1
1 /*
2 * Copyright 2014, Rene Gollent, rene@gollent.com.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef EXPRESSION_PROMPT_WINDOW_H
6 #define EXPRESSION_PROMPT_WINDOW_H
9 #include <Window.h>
12 class BButton;
13 class BTextControl;
16 class ExpressionPromptWindow : public BWindow
18 public:
19 ExpressionPromptWindow(BHandler* addTarget,
20 BHandler* closeTarget);
22 ~ExpressionPromptWindow();
24 static ExpressionPromptWindow* Create(BHandler* addTarget,
25 BHandler* closeTarget);
26 // throws
29 virtual void MessageReceived(BMessage* message);
31 virtual void Show();
32 virtual bool QuitRequested();
34 private:
35 void _Init();
37 private:
38 BTextControl* fExpressionInput;
39 BButton* fCancelButton;
40 BButton* fAddButton;
41 BHandler* fAddTarget;
42 BHandler* fCloseTarget;
45 #endif // EXPRESSION_PROMPT_WINDOW_H