xref: /haiku/src/preferences/joysticks/MessageWin.h (revision 5e96d7d537fbec23bad4ae9b4c8e7b02e769f0c6)
1 /*
2  * Copyright 2007 Haiku.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com
7  *		Ryan Leavengood, leavengood@gmail.com
8  */
9 #ifndef _MESSAGE_WIN_H
10 #define _MESSAGE_WIN_H
11 
12 
13 #include <Window.h>
14 
15 class BBox;
16 class BButton;
17 class BCheckBox;
18 class BStringView;
19 class BView;
20 class BTextView;
21 
22 
23 class MessageWin : public BWindow
24 {
25 	public:
26 		MessageWin(BRect parent_frame, const char *title,
27 			window_look look,
28 			window_feel feel,
29 			uint32 flags,
30 			uint32 workspace = B_CURRENT_WORKSPACE);
31 
32 		void			SetText(const char* str);
33 		virtual	void	MessageReceived(BMessage *message);
34 		virtual	bool	QuitRequested();
35 
36 	protected:
37 		BBox*			fBox;
38 		BTextView*	 	fText;
39 };
40 
41 #endif	/* _MESSAGE_WIN_H */
42 
43