]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/XFormsToolbar.h
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / xforms / XFormsToolbar.h
index 006e28162e099d3d37219279655c68e5f8ac4a89..8e2c680e957a3a087fe5637fb37a26c8f3462ace 100644 (file)
 #include <boost/scoped_ptr.hpp>
 #include <vector>
 
+namespace lyx {
+namespace frontend {
 
+class Tooltips;
 class XFormsToolbar;
 class XFormsView;
-class Tooltips;
 
 
 class XLayoutBox: public LayoutBox {
@@ -64,7 +66,7 @@ public:
        void add(FuncRequest const & func, std::string const & tooltip);
        void hide(bool);
        void show(bool);
-       void update();
+       void update();
        LayoutBox * layout() const { return layout_.get(); }
 
        /// an item on the toolbar
@@ -95,11 +97,11 @@ public:
        ///
        XFormsView::Position position_;
        ///
-       lyx::frontend::Box * toolbar_;
+       boost::shared_ptr<Box> toolbar_;
        ///
-       lyx::frontend::BoxList * toolbar_buttons_;
+       BoxList * toolbar_buttons_;
        ///
-       lyx::frontend::WidgetMap widgets_;
+       WidgetMap widgets_;
 
        typedef std::vector<FuncRequest> Funcs;
 
@@ -117,4 +119,7 @@ public:
        boost::scoped_ptr<XLayoutBox> layout_;
 };
 
+} // namespace frontend
+} // namespace lyx
+
 #endif