Assorted whitespace cleanup and typo fixes.
[haiku.git] / src / kits / tracker / VirtualDirectoryWindow.h
blob18f9e0a1640aa47becfd0e9279fd9bc6daac4877
1 /*
2 * Copyright 2013-2015 Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
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
13 #include "ContainerWindow.h"
16 namespace BPrivate {
18 class VirtualDirectoryPoseView;
20 class VirtualDirectoryWindow : public BContainerWindow {
21 public:
22 VirtualDirectoryWindow(
23 LockingList<BWindow>* windowList,
24 uint32 containerWindowFlags,
25 window_look look = B_DOCUMENT_WINDOW_LOOK,
26 window_feel feel = B_NORMAL_WINDOW_FEEL,
27 uint32 flags = B_WILL_ACCEPT_FIRST_CLICK
28 | B_NO_WORKSPACE_ACTIVATION,
29 uint32 workspace = B_CURRENT_WORKSPACE);
31 VirtualDirectoryPoseView* PoseView() const;
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);
39 private:
40 typedef BContainerWindow _inherited;
43 } // namespace BPrivate
46 #endif // VIRTUAL_DIRECTORY_WINDOW_H