]> git.lyx.org Git - lyx.git/blobdiff - src/Encoding.h
Embedding: saving inzip name to .lyx file so that embedded files can always be found...
[lyx.git] / src / Encoding.h
index b4e728ea67bcc6757df3640ec902efcf2542c449..b23e50b954a94942a435742063410e117e4cefad 100644 (file)
@@ -14,6 +14,7 @@
 #define ENCODING_H
 
 #include "support/docstring.h"
+#include "support/types.h"
 
 #include <map>
 #include <set>
@@ -24,6 +25,17 @@ namespace support { class FileName; }
 
 class LaTeXFeatures;
 
+class EncodingException : public std::exception {
+public:
+       EncodingException(char_type c);
+       virtual ~EncodingException() throw() {}
+       virtual const char * what() const throw();
+       char_type failed_char;
+       int par_id;
+       pos_type pos;
+};
+
 
 ///
 class Encoding {