X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fgraphics%2FGraphicsTypes.h;h=90d390cae1c01192a3b32b41887eaeaacab6530f;hb=8f3c95f7570f84effc4601e88f13ff48c6084f0c;hp=8a775374eed9c03852a5d482b91773cf1e609ebf;hpb=6fac1dc98003a6a6e02765f078b3d3426d426508;p=lyx.git diff --git a/src/graphics/GraphicsTypes.h b/src/graphics/GraphicsTypes.h index 8a775374ee..90d390cae1 100644 --- a/src/graphics/GraphicsTypes.h +++ b/src/graphics/GraphicsTypes.h @@ -1,26 +1,25 @@ // -*- 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/strfwd.h" -#include "support/translator.h" -namespace grfx { +namespace lyx { +namespace graphics { /// The status of the loading process enum ImageStatus { @@ -50,26 +49,7 @@ 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 DisplayType and the corresponding lyx string. -extern Translator displayTranslator; - -/// -void setDisplayTranslator(); - -} // namespace grfx +} // namespace graphics +} // namespace lyx #endif // GRAPHICSTYPES_H