2 * Copyright 2012-2013, Rene Gollent, rene@gollent.com.
3 * Distributed under the terms of the MIT License.
5 #ifndef PROMPT_WINDOW_H_
6 #define PROMPT_WINDOW_H_
17 class PromptWindow
: public BWindow
20 // PromptWindow takes ownership of message
21 PromptWindow(const char* title
,
22 const char* label
, const char* info
,
23 BMessenger target
, BMessage
* message
= NULL
);
26 virtual void MessageReceived(BMessage
* message
);
28 status_t
SetTarget(BMessenger messenger
);
29 status_t
SetMessage(BMessage
* message
);
31 BTextControl
* fTextControl
;
32 BStringView
* fInfoView
;
37 #endif // PROMPT_WINDOW_H_