Make SharedSolver BArchivable to save extra user constraints.
This commit is contained in:
@@ -21,6 +21,10 @@ namespace LinearProgramming {
|
||||
class Constraint;
|
||||
};
|
||||
|
||||
namespace BPrivate {
|
||||
class SharedSolver;
|
||||
};
|
||||
|
||||
|
||||
namespace BALM {
|
||||
|
||||
@@ -113,6 +117,7 @@ private:
|
||||
private:
|
||||
friend class BALMLayout;
|
||||
friend class RowColumnManager;
|
||||
friend class BPrivate::SharedSolver;
|
||||
|
||||
BLayoutItem* fLayoutItem;
|
||||
int32 fID;
|
||||
|
||||
@@ -16,6 +16,11 @@ namespace LinearProgramming {
|
||||
};
|
||||
|
||||
|
||||
namespace BPrivate {
|
||||
class SharedSolver;
|
||||
};
|
||||
|
||||
|
||||
namespace BALM {
|
||||
|
||||
|
||||
@@ -37,6 +42,10 @@ public:
|
||||
XTab* Right() const;
|
||||
|
||||
private:
|
||||
friend class BALMLayout;
|
||||
friend class BALM::RowColumnManager;
|
||||
friend class BPrivate::SharedSolver;
|
||||
|
||||
Column(LinearProgramming::LinearSpec* ls,
|
||||
XTab* left, XTab* right);
|
||||
|
||||
@@ -48,11 +57,6 @@ private:
|
||||
// managed by RowColumnManager
|
||||
|
||||
BObjectList<Area> fAreas;
|
||||
|
||||
public:
|
||||
friend class BALMLayout;
|
||||
friend class BALM::RowColumnManager;
|
||||
|
||||
};
|
||||
|
||||
} // namespace BALM
|
||||
|
||||
@@ -16,6 +16,11 @@ namespace LinearProgramming {
|
||||
};
|
||||
|
||||
|
||||
namespace BPrivate {
|
||||
class SharedSolver;
|
||||
};
|
||||
|
||||
|
||||
namespace BALM {
|
||||
|
||||
|
||||
@@ -37,6 +42,10 @@ public:
|
||||
YTab* Bottom() const;
|
||||
|
||||
private:
|
||||
friend class BALMLayout;
|
||||
friend class BALM::RowColumnManager;
|
||||
friend class BPrivate::SharedSolver;
|
||||
|
||||
Row(LinearProgramming::LinearSpec* ls,
|
||||
YTab* top, YTab* bottom);
|
||||
|
||||
@@ -48,11 +57,6 @@ private:
|
||||
// managed by RowColumnManager
|
||||
|
||||
BObjectList<Area> fAreas;
|
||||
|
||||
public:
|
||||
friend class BALMLayout;
|
||||
friend class BALM::RowColumnManager;
|
||||
|
||||
};
|
||||
|
||||
} // namespace BALM
|
||||
|
||||
Reference in New Issue
Block a user