Add system_time to the Jamfile, missed in hrev49598.
[haiku.git] / headers / libs / alm / Row.h
blobaf49ea453df8f13d38da3e40d9494435b0204692
1 /*
2 * Copyright 2006 - 2010, Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef ROW_H
6 #define ROW_H
9 #include <ObjectList.h>
10 #include <Referenceable.h>
13 namespace LinearProgramming {
14 class Constraint;
15 class LinearSpec;
19 namespace BPrivate {
20 class SharedSolver;
24 namespace BALM {
27 class Area;
28 class BALMLayout;
29 class RowColumnManager;
30 class XTab;
31 class YTab;
34 /**
35 * Represents a row defined by two y-tabs.
37 class Row {
38 public:
39 ~Row();
41 YTab* Top() const;
42 YTab* Bottom() const;
44 private:
45 friend class BALMLayout;
46 friend class BALM::RowColumnManager;
47 friend class BPrivate::SharedSolver;
49 Row(LinearProgramming::LinearSpec* ls,
50 YTab* top, YTab* bottom);
52 BReference<YTab> fTop;
53 BReference<YTab> fBottom;
55 LinearProgramming::LinearSpec* fLS;
56 LinearProgramming::Constraint* fPrefSizeConstraint;
57 // managed by RowColumnManager
59 BObjectList<Area> fAreas;
62 } // namespace BALM
64 using BALM::Row;
66 #endif // ROW_H