1 /* 2 * Copyright 2013, Haiku, Inc. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Ingo Weinhold, ingo_weinhold@gmx.de 7 */ 8 #ifndef VIRTUAL_DIRECTORY_WINDOW_H 9 #define VIRTUAL_DIRECTORY_WINDOW_H 10 11 12 #include "ContainerWindow.h" 13 14 15 namespace BPrivate { 16 17 18 class VirtualDirectoryWindow : public BContainerWindow { 19 public: 20 VirtualDirectoryWindow( 21 LockingList<BWindow>* windowList, 22 uint32 containerWindowFlags, 23 window_look look = B_DOCUMENT_WINDOW_LOOK, 24 window_feel feel = B_NORMAL_WINDOW_FEEL, 25 uint32 flags = B_WILL_ACCEPT_FIRST_CLICK 26 | B_NO_WORKSPACE_ACTIVATION, 27 uint32 workspace = B_CURRENT_WORKSPACE); 28 29 protected: 30 virtual void CreatePoseView(Model* model); 31 virtual BPoseView* NewPoseView(Model* model, BRect rect, 32 uint32 viewMode); 33 virtual void AddWindowMenu(BMenu* menu); 34 virtual void AddWindowContextMenus(BMenu* menu); 35 36 private: 37 typedef BContainerWindow _inherited; 38 }; 39 40 41 } // namespace BPrivate 42 43 44 #endif // VIRTUAL_DIRECTORY_WINDOW_H 45