1 /* 2 Copyright 1999, Be Incorporated. All Rights Reserved. 3 This file may be used under the terms of the Be Sample Code License. 4 */ 5 6 #ifndef _TEAPOT_WINDOW_ 7 #define _TEAPOT_WINDOW_ 8 9 10 #include <DirectWindow.h> 11 12 #include "ObjectView.h" 13 14 15 class TeapotWindow : public BDirectWindow { 16 public: 17 TeapotWindow(BRect r, const char* name, window_type wt, 18 ulong something); 19 20 virtual bool QuitRequested(); 21 virtual void DirectConnected( direct_buffer_info* info ); 22 virtual void MessageReceived(BMessage* msg); 23 24 private: 25 ObjectView* fObjectView; 26 }; 27 28 29 #endif 30