]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Menubar.h
Fix bug 1749. CAUTION: lyx2lyx not fully working yet (see FIXMEs).
[lyx.git] / src / frontends / Menubar.h
index d54beefd966eaa938d52d82f257f5282a88fbfc9..74e8c59ac564f6af33b054783a94079525909ffb 100644 (file)
@@ -15,6 +15,9 @@
 
 #include "support/docstring.h"
 
+
+namespace lyx {
+
 /**
  * The LyX GUI independent menubar class
  * The GUI interface is implemented in the frontends
@@ -24,8 +27,11 @@ public:
        ///
        virtual ~Menubar() {}
        /// Opens a top-level submenu given its name
-       virtual void openByName(lyx::docstring const &) = 0;
+       virtual void openByName(docstring const &) = 0;
        /// update the state of the menuitems
        virtual void update() = 0;
 };
+
+} // namespace lyx
+
 #endif // MENUBAR_H