]> 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 996ae1ed8e4e86b5194b5590df94c67e44cfd973..74e8c59ac564f6af33b054783a94079525909ffb 100644 (file)
 #ifndef MENUBAR_H
 #define MENUBAR_H
 
+#include "support/docstring.h"
 
-#include "support/std_string.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