Make UEFI boot-platform build again
[haiku.git] / src / libs / alm / Column.cpp
blob06244dbc47dd24538ff922cd2a94400d377ac4b9
1 /*
2 * Copyright 2007-2011, Haiku, Inc. All rights reserved.
3 * Copyright 2007-2008, Christof Lutteroth, lutteroth@cs.auckland.ac.nz
4 * Copyright 2007-2008, James Kim, jkim202@ec.auckland.ac.nz
5 * Copyright 2010, Clemens Zeidler <haiku@clemens-zeidler.de>
6 * Distributed under the terms of the MIT License.
7 */
10 #include "Column.h"
12 #include "ALMLayout.h"
13 #include "Area.h"
14 #include "Tab.h"
17 using namespace LinearProgramming;
20 /**
21 * The left boundary of the column.
23 XTab*
24 Column::Left() const
26 return fLeft;
30 /**
31 * The right boundary of the column.
33 XTab*
34 Column::Right() const
36 return fRight;
40 /**
41 * Destructor.
42 * Removes the column from the specification.
44 Column::~Column()
46 delete fPrefSizeConstraint;
50 /**
51 * Constructor.
53 Column::Column(LinearSpec* ls, XTab* left, XTab* right)
55 fLeft(left),
56 fRight(right),
57 fLS(ls),
58 fPrefSizeConstraint(NULL)