+ /// \return the \c Workarea associated to \p Buffer
+ /// \retval 0 if no \c WorkArea is found.
+ WorkArea * workArea(Buffer & buffer);
+
+ /// Add a \c WorkArea
+ /// \return the \c Workarea associated to \p Buffer
+ /// \retval 0 if no \c WorkArea is found.
+ WorkArea * addWorkArea(Buffer & buffer);
+ void setCurrentWorkArea(WorkArea * work_area);
+ void removeWorkArea(WorkArea * work_area);
+ WorkArea const * currentWorkArea() const;
+ WorkArea * currentWorkArea();
+