]> git.lyx.org Git - features.git/blobdiff - src/Language.h
Unify naming of menu items
[features.git] / src / Language.h
index a535f980cb2beceb199a85cb94e702eb375f471a..30173be3f4751e5b6b92b030dda54d431c936f0f 100644 (file)
@@ -15,9 +15,7 @@
 #ifndef LANGUAGE_H
 #define LANGUAGE_H
 
-#include "BufferParams.h"
-
-#include "support/docstring.h"
+#include "support/strfwd.h"
 #include "support/trivstring.h"
 
 #include <map>
@@ -29,6 +27,7 @@ namespace lyx {
 
 namespace support { class FileName; }
 
+class BufferParams;
 class Encoding;
 class Lexer;
 
@@ -57,7 +56,7 @@ public:
        /// active characters
        std::string const activeChars() const { return active_chars_; }
        /// requirement (package, function)
-       std::string const requires() const { return requires_; }
+       std::string const required() const { return required_; }
        /// provides feature
        std::string const provides() const { return provides_; }
        /// translatable GUI name
@@ -125,7 +124,7 @@ private:
        ///
        trivstring active_chars_;
        ///
-       trivstring requires_;
+       trivstring required_;
        ///
        trivstring provides_;
        ///