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 #include <DirectWindow.h> 10 11 #include "ObjectView.h" 12 13 class TeapotWindow : public BDirectWindow { 14 public: 15 TeapotWindow(BRect r, char* name, window_type wt, ulong something); 16 17 virtual bool QuitRequested(); 18 virtual void DirectConnected( direct_buffer_info* info ); 19 virtual void MessageReceived(BMessage* msg); 20 21 private: 22 ObjectView* fObjectView; 23 }; 24 #endif 25