]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/XFormsView.h
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / xforms / XFormsView.h
index f6ea49a8e790f8c01d9373d657b1e89402922ac9..7f77b76937042aac6a1c4fe2df225767b85fed14 100644 (file)
@@ -48,7 +48,7 @@ public:
        ~XFormsView();
 
        /// Accessor to the appropriate layout Box.
-       Box & getBox(Position pos) const;
+       boost::shared_ptr<Box> getBox(Position pos) const;
 
        /**
         * show - display the top-level window
@@ -96,8 +96,10 @@ private:
        /// The top-most box of the layout engine containing all other boxes.
        Box window_;
 
+       typedef std::map<Position, boost::shared_ptr<Box> > BoxMap;
+
        // Accessors to the various Boxes.
-       std::map<Position, Box *> box_map_;
+       BoxMap box_map_;
 
        /// the minibuffer
        boost::scoped_ptr<XMiniBuffer> minibuffer_;