#ifndef UILAYOUT_H #define UILAYOUT_H #include class UIElement; typedef boost::shared_ptr UIElementPtr; class UILayout; typedef boost::shared_ptr UILayoutPtr; class UILayout : public boost::enable_shared_from_this { public: UILayout() { } virtual void recalculateElementLayout(const UIElementPtr& element) = 0; virtual void recalculateChildrenLayout(const UIElementPtr& parent) = 0; }; #endif // UILAYOUT_H