]> git.lyx.org Git - lyx.git/blobdiff - src/Format.h
Revert "Fix commented out code"
[lyx.git] / src / Format.h
index b4cc9f4fc4a926e2b6430e9afd3d5c47ab46c80f..d1d6d74183cf8c78b8fb26c4fdaadc298308d3b0 100644 (file)
@@ -16,6 +16,7 @@
 #include "support/trivstring.h"
 
 #include <vector>
+#include <string>
 
 namespace lyx {
 
@@ -23,7 +24,7 @@ namespace support { class FileName; }
 
 class Buffer;
 
-enum class FLAVOR : int;
+enum class Flavor : int;
 
 class Format {
 public:
@@ -219,9 +220,9 @@ private:
 };
 
 ///
-std::string flavor2format(FLAVOR flavor);
+std::string flavor2format(Flavor flavor);
 // Not currently used.
-// FLAVOR format2flavor(std::string fmt);
+// Flavor format2flavor(std::string fmt);
 
 /// The global instance.
 /// Implementation is in LyX.cpp.