]> git.lyx.org Git - lyx.git/blobdiff - src/bufferparams.h
* Application.C (Application): initialize correctly current_view_.
[lyx.git] / src / bufferparams.h
index 578645f3ee4488e4ec92a5588745f7f0a6e7816f..036a8efbca8b1ac0e6b62fc31cb466cfb0c89091 100644 (file)
@@ -31,6 +31,7 @@ namespace lyx {
 class AuthorList;
 class BranchList;
 class Bullet;
+class Encoding;
 class LyXLex;
 class LatexFeatures;
 class Spacing;
@@ -185,6 +186,9 @@ public:
         * do with this setting.
         */
        std::string inputenc;
+       /// The main encoding used by this buffer for LaTeX output.
+       /// Individual pieces of text can use different encodings.
+       Encoding const & encoding() const;
        ///
        std::string preamble;
        ///