]> git.lyx.org Git - lyx.git/blobdiff - src/encoding.h
do not create invalid .lyx files when importing \i{}, \j{}, \l{} or \L{}.
[lyx.git] / src / encoding.h
index cce42157aa27003685985de4d6c0c1f354cd1f0a..d83211adce3bd1ac81f411e566c013b113e69613 100644 (file)
@@ -20,6 +20,8 @@
 
 namespace lyx {
 
+namespace support { class FileName; }
+
 ///
 class Encoding {
 public:
@@ -53,7 +55,7 @@ public:
        ///
        Encodings();
        ///
-       void read(std::string const & filename);
+       void read(support::FileName const & filename);
        /// Get encoding from LyX name \p name
        Encoding const * getFromLyXName(std::string const & name) const;
        /// Get encoding from LaTeX name \p name