]> git.lyx.org Git - features.git/blobdiff - src/graphics/GraphicsTypes.h
Rob's followup (nr. 1 ;)
[features.git] / src / graphics / GraphicsTypes.h
index 053bcae5279926035618c04b512a0d2ebe4c5357..2fa791da8db58a560204398e8c54d086c71c252c 100644 (file)
@@ -13,6 +13,8 @@
 #ifndef GRAPHICSTYPES_H
 #define GRAPHICSTYPES_H
 
+#include "support/translator.h"
+
 #ifdef __GNUG__
 #pragma interface
 #endif
@@ -60,6 +62,12 @@ namespace grfx {
                ///
                NoDisplay
        };
-}
+       
+       /// The translator between the Display enum and corresponding lyx string.
+       extern Translator< DisplayType, string > displayTranslator;
+
+       void setDisplayTranslator();
+       
+} // namespace grfx
 
 #endif // GRAPHICSTYPES_H