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
15class BBox;
16class BButton;
17class BCheckBox;
18class BStringView;
19class BView;
20class BTextView;
21
22
23class 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