vfs: check userland buffers before reading them.
[haiku.git] / src / apps / switcher / WindowsView.h
blob69a94d9b4bcd38448913565d8f1b25fee2f5f16c
1 /*
2 * Copyright 2011, Axel Dörfler, axeld@pinc-software.de.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef WINDOWS_VIEW_H
6 #define WINDOWS_VIEW_H
9 #include <GridView.h>
12 class GroupListView;
15 class WindowsView : public BGridView {
16 public:
17 WindowsView(team_id team, uint32 location);
18 virtual ~WindowsView();
20 protected:
21 virtual void AttachedToWindow();
22 virtual void MessageReceived(BMessage* message);
24 private:
25 orientation _Orientation(uint32 location);
27 private:
28 GroupListView* fListView;
32 #endif // WINDOWS_VIEW_H