]> 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 10b734ed5aa2d344f98d6b1ad0e57ef4b61e23ae..74e8c59ac564f6af33b054783a94079525909ffb 100644 (file)
@@ -7,14 +7,16 @@
  * \author Lars Gullik Bjønnes
  * \author Jean-Marc Lasgouttes
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef MENUBAR_H
 #define MENUBAR_H
 
+#include "support/docstring.h"
 
-#include "LString.h"
+
+namespace lyx {
 
 /**
  * The LyX GUI independent menubar class
@@ -25,8 +27,11 @@ public:
        ///
        virtual ~Menubar() {}
        /// Opens a top-level submenu given its name
-       virtual void openByName(string const &) = 0;
+       virtual void openByName(docstring const &) = 0;
        /// update the state of the menuitems
        virtual void update() = 0;
 };
+
+} // namespace lyx
+
 #endif // MENUBAR_H