]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsTypes.h
Avoid duplicate generation of the same preview
[lyx.git] / src / graphics / GraphicsTypes.h
index 9a71f59f4a6ec76d2d73aa1d3ef80fa0959616a8..90d390cae1c01192a3b32b41887eaeaacab6530f 100644 (file)
@@ -15,9 +15,7 @@
 #ifndef GRAPHICSTYPES_H
 #define GRAPHICSTYPES_H
 
-#include "support/Translator.h"
-
-#include <string>
+#include "support/strfwd.h"
 
 
 namespace lyx {
@@ -51,24 +49,6 @@ enum ImageStatus {
        ErrorUnknown
 };
 
-/// How is the image to be displayed on the LyX screen?
-enum DisplayType {
-       ///
-       DefaultDisplay,
-       ///
-       MonochromeDisplay,
-       ///
-       GrayscaleDisplay,
-       ///
-       ColorDisplay,
-       ///
-       NoDisplay
-};
-
-
-/// The translator between the Display enum and corresponding lyx string.
-Translator<DisplayType, std::string> const & displayTranslator();
-
 } // namespace graphics
 } // namespace lyx