]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsTypes.h
Remove obsolete (and false) comment.
[lyx.git] / src / graphics / GraphicsTypes.h
index 053bcae5279926035618c04b512a0d2ebe4c5357..90d390cae1c01192a3b32b41887eaeaacab6530f 100644 (file)
@@ -1,65 +1,55 @@
 // -*- C++ -*-
 /**
- *  \file GraphicsTypes.h
- *  Copyright 2002 the LyX Team
- *  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 <leeming@lyx.org>
+ * \author Angus Leeming
  *
- *  All that header files outside the graphics subdirectory should need to
- *  access.
+ * Full author contact details are available in file CREDITS.
+ *
+ * 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/strfwd.h"
+
 
-namespace grfx {
+namespace lyx {
+namespace graphics {
 
-       /// The status of the loading process
-       enum ImageStatus {
-               /** The data is in the cache, but no request to display it
-                *  has been received.
-                */
-               WaitingToLoad,
-               /// The image is in a loadable format and is being loaded.
-               Loading,
-               /// The image is being converted to a loadable format.
-               Converting,
-               /// The image has been loaded into memory.
-               Loaded,
-               /// The image is in memory and is being scaled, rotated, etc.
-               ScalingEtc,
-               /// All finished. Can display the image.
-               Ready,
-               ///
-               ErrorNoFile,
-               ///
-               ErrorConverting,
-               ///
-               ErrorLoading,
-               ///
-               ErrorGeneratingPixmap,
-               /// The data is not in the cache at all!
-               ErrorUnknown
-       };
+/// The status of the loading process
+enum ImageStatus {
+       /** The data is in the cache, but no request to display it
+        *  has been received.
+        */
+       WaitingToLoad,
+       /// The image is in a loadable format and is being loaded.
+       Loading,
+       /// The image is being converted to a loadable format.
+       Converting,
+       /// The image has been loaded into memory.
+       Loaded,
+       /// The image is in memory and is being scaled, rotated, etc.
+       ScalingEtc,
+       /// All finished. Can display the image.
+       Ready,
+       ///
+       ErrorNoFile,
+       ///
+       ErrorConverting,
+       ///
+       ErrorLoading,
+       ///
+       ErrorGeneratingPixmap,
+       /// The data is not in the cache at all!
+       ErrorUnknown
+};
 
-       /// How is the image to be displayed on the LyX screen?
-       enum DisplayType {
-               ///
-               DefaultDisplay,
-               ///
-               MonochromeDisplay,
-               ///
-               GrayscaleDisplay,
-               ///
-               ColorDisplay,
-               ///
-               NoDisplay
-       };
-}
+} // namespace graphics
+} // namespace lyx
 
 #endif // GRAPHICSTYPES_H