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