]> git.lyx.org Git - features.git/blobdiff - src/graphics/GraphicsTypes.h
Replace LString.h with support/std_string.h,
[features.git] / src / graphics / GraphicsTypes.h
index 8a775374eed9c03852a5d482b91773cf1e609ebf..2dfe4cba7142614badadcc8fcefd7e644ef4fff3 100644 (file)
@@ -1,26 +1,24 @@
 // -*- C++ -*-
 /**
- *  \file GraphicsTypes.h
- *  Read the file COPYING
+ * \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
 
-#ifdef __GNUG__
-#pragma interface
-#endif
+#include "support/std_string.h"
 
-#include "support/translator.h"
-
-namespace grfx {
+namespace lyx {
+namespace graphics {
 
 /// The status of the loading process
 enum ImageStatus {
@@ -64,12 +62,11 @@ enum DisplayType {
        NoDisplay
 };
 
-/// The translator between the DisplayType and the corresponding lyx string.
-extern Translator<DisplayType, string> displayTranslator;
 
 ///
 void setDisplayTranslator();
 
-} // namespace grfx
+} // namespace graphics
+} // namespace lyx
 
 #endif // GRAPHICSTYPES_H