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