]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Menubar.h
cosmetics (whitespace and no-op functions)
[lyx.git] / src / frontends / Menubar.h
index b6e3fe4e7992bb9d5e387807ade3e040e6bc438b..74e8c59ac564f6af33b054783a94079525909ffb 100644 (file)
 #ifndef MENUBAR_H
 #define MENUBAR_H
 
+#include "support/docstring.h"
+
+
+namespace lyx {
+
 /**
  * The LyX GUI independent menubar class
  * The GUI interface is implemented in the frontends
@@ -22,8 +27,11 @@ public:
        ///
        virtual ~Menubar() {}
        /// Opens a top-level submenu given its name
-       virtual void openByName(std::string const &) = 0;
+       virtual void openByName(docstring const &) = 0;
        /// update the state of the menuitems
        virtual void update() = 0;
 };
+
+} // namespace lyx
+
 #endif // MENUBAR_H