1 /* 2 ** Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved. 3 ** Distributed under the terms of the OpenBeOS License. 4 */ 5 #ifndef OPEN_WINDOW_H 6 #define OPEN_WINDOW_H 7 8 9 #include <Window.h> 10 11 class BMenu; 12 13 14 class OpenWindow : public BWindow { 15 public: 16 OpenWindow(); 17 virtual ~OpenWindow(); 18 19 virtual void MessageReceived(BMessage *message); 20 virtual bool QuitRequested(); 21 22 static void CollectDevices(BMenu *menu, BEntry *startEntry = NULL); 23 24 private: 25 BMenu *fDevicesMenu; 26 }; 27 28 #endif /* OPEN_WINDOW_H */ 29