2 * Copyright 2014, Rene Gollent, rene@gollent.com.
3 * Distributed under the terms of the MIT License.
5 #ifndef EXPRESSION_PROMPT_WINDOW_H
6 #define EXPRESSION_PROMPT_WINDOW_H
16 class ExpressionPromptWindow
: public BWindow
19 ExpressionPromptWindow(BHandler
* addTarget
,
20 BHandler
* closeTarget
);
22 ~ExpressionPromptWindow();
24 static ExpressionPromptWindow
* Create(BHandler
* addTarget
,
25 BHandler
* closeTarget
);
29 virtual void MessageReceived(BMessage
* message
);
32 virtual bool QuitRequested();
38 BTextControl
* fExpressionInput
;
39 BButton
* fCancelButton
;
42 BHandler
* fCloseTarget
;
45 #endif // EXPRESSION_PROMPT_WINDOW_H