1 /* 2 * Copyright 2004-2018, Axel Dörfler, axeld@pinc-software.de. 3 * All rights reserved. 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 12 class BEntry; 13 class BMenu; 14 15 16 class OpenWindow : public BWindow { 17 public: 18 OpenWindow(); 19 virtual ~OpenWindow(); 20 21 virtual void MessageReceived(BMessage* message); 22 virtual bool QuitRequested(); 23 24 static void CollectDevices(BMenu* menu, 25 BEntry* startEntry = NULL); 26 27 private: 28 BMenu* fDevicesMenu; 29 }; 30 31 32 #endif /* OPEN_WINDOW_H */ 33