2 * Copyright (c) 2005-2008, Haiku, Inc.
3 * Distributed under the terms of the MIT license.
6 * Axel Dörfler, axeld@pinc-software.de
12 #include <SupportDefs.h>
21 WindowList(int32 index
= 0);
24 void SetIndex(int32 index
);
25 int32
Index() const { return fIndex
; }
27 Window
* FirstWindow() const { return fFirstWindow
; }
28 Window
* LastWindow() const { return fLastWindow
; }
30 void AddWindow(Window
* window
, Window
* before
= NULL
);
31 void RemoveWindow(Window
* window
);
33 bool HasWindow(Window
* window
) const;
34 bool ValidateWindow(Window
* window
) const;
54 struct window_anchor
{
62 extern const BPoint kInvalidWindowPosition
;
64 #endif // WINDOW_LIST_H