X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fgraphics%2FGraphicsTypes.h;h=50533eb64a222d1b87d4f7d2f83edd53daec9f97;hb=9d00e2ec0a26dba68b90252b7fe8c02e2e448b28;hp=455c26f1f7ed1f0217127bfc32641e50fb64e7ee;hpb=99d1627a471b92f403598d03dfc861ddc3c11be0;p=lyx.git diff --git a/src/graphics/GraphicsTypes.h b/src/graphics/GraphicsTypes.h index 455c26f1f7..50533eb64a 100644 --- a/src/graphics/GraphicsTypes.h +++ b/src/graphics/GraphicsTypes.h @@ -1,23 +1,26 @@ // -*- 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 "support/translator.h" +#include "support/Translator.h" +#include "support/strfwd.h" -namespace grfx { + +namespace lyx { +namespace graphics { /// The status of the loading process enum ImageStatus { @@ -61,12 +64,11 @@ enum DisplayType { NoDisplay }; -/// The translator between the DisplayType and the corresponding lyx string. -extern Translator displayTranslator; -/// -void setDisplayTranslator(); +/// The translator between the Display enum and corresponding lyx string. +Translator const & displayTranslator(); -} // namespace grfx +} // namespace graphics +} // namespace lyx #endif // GRAPHICSTYPES_H