]> git.lyx.org Git - lyx.git/blobdiff - src/language.h
* output_plaintext.C: cosmetics in comment: line length cannot be < 0
[lyx.git] / src / language.h
index 66d1d5066446e65fa21e922afcd5f960b67f377d..77a0a0a43267a72504fcbe7882458428f5d4facb 100644 (file)
 #include <string>
 
 
+namespace lyx {
+
+namespace support { class FileName; }
+
 class Encoding;
 
 ///
@@ -40,7 +44,7 @@ public:
        ///
        std::string const & display() const { return display_; }
        ///
-       bool RightToLeft() const { return rightToLeft_; }
+       bool rightToLeft() const { return rightToLeft_; }
        ///
        Encoding const * encoding() const { return encoding_; }
        ///
@@ -78,7 +82,7 @@ public:
        ///
        typedef LanguageList::size_type size_type;
        ///
-       void read(std::string const & filename);
+       void read(support::FileName const & filename);
        ///
        Language const * getLanguage(std::string const & language) const;
        ///
@@ -100,4 +104,7 @@ extern Language const * english_language;
 extern Language const * ignore_language;
 extern Language const * latex_language;
 
+
+} // namespace lyx
+
 #endif