]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsTypes.h
Move loadableImageFormats() to the frontend.
[lyx.git] / src / graphics / GraphicsTypes.h
index a11f80c95219fa65f9e6ffa6b319d9380e90e4f5..50533eb64a222d1b87d4f7d2f83edd53daec9f97 100644 (file)
@@ -1,21 +1,23 @@
 // -*- C++ -*-
 /**
- *  \file GraphicsTypes.h
+ * \file GraphicsTypes.h
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- *  \author Angus Leeming
+ * \author Angus Leeming
  *
- *  Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  *
- *  All that header files outside the graphics subdirectory should need to
- *  access.
+ * All that header files outside the graphics subdirectory should need to
+ * access.
  */
 
 #ifndef GRAPHICSTYPES_H
 #define GRAPHICSTYPES_H
 
-#include "LString.h"
+#include "support/Translator.h"
+#include "support/strfwd.h"
+
 
 namespace lyx {
 namespace graphics {
@@ -63,8 +65,8 @@ enum DisplayType {
 };
 
 
-///
-void setDisplayTranslator();
+/// The translator between the Display enum and corresponding lyx string.
+Translator<DisplayType, std::string> const & displayTranslator();
 
 } // namespace graphics
 } // namespace lyx