xref: /haiku/src/apps/haiku3d/MainWindow.h (revision 893988af824e65e49e55f517b157db8386e8002b)
1 /*
2  * Copyright 2009, Haiku Inc. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  * 		Alexandre Deckner <alex@zappotek.com>
7  */
8 #ifndef _MAINWINDOW_H
9 #define _MAINWINDOW_H
10 
11 #include <DirectWindow.h>
12 
13 class RenderView;
14 
15 class MainWindow: public BDirectWindow {
16 public:
17 					MainWindow(BRect frame, const char* title);
18 					~MainWindow();
19 
20 	virtual bool	QuitRequested();
21 	virtual void	MessageReceived(BMessage *message);
22 	virtual void	DirectConnected(direct_buffer_info* info);
23 
24 protected:
25 	RenderView*		fRenderView;
26 };
27 
28 #endif /* _MAINWINDOW_H */
29