]> www.fi.muni.cz Git - evince.git/blobdiff - pdf/xpdf/UnicodeMap.h
Scroll at the top of the page when changing page
[evince.git] / pdf / xpdf / UnicodeMap.h
index 60c0c279296871477c39ffab11884a7a00b1519b..6fd4ed24fb0f2c9acdccb6cafecf24def21d84a0 100644 (file)
@@ -4,7 +4,7 @@
 //
 // Mapping from Unicode to an encoding.
 //
 //
 // Mapping from Unicode to an encoding.
 //
-// Copyright 2001-2002 Glyph & Cog, LLC
+// Copyright 2001-2003 Glyph & Cog, LLC
 //
 //========================================================================
 
 //
 //========================================================================
 
 #include "gtypes.h"
 #include "CharTypes.h"
 
 #include "gtypes.h"
 #include "CharTypes.h"
 
+#if MULTITHREADED
+#include "GMutex.h"
+#endif
+
 class GString;
 
 //------------------------------------------------------------------------
 class GString;
 
 //------------------------------------------------------------------------
@@ -91,6 +95,9 @@ private:
   UnicodeMapExt *eMaps;                // (user)
   int eMapsLen;                        // (user)
   int refCnt;
   UnicodeMapExt *eMaps;                // (user)
   int eMapsLen;                        // (user)
   int refCnt;
+#ifdef MULTITHREADED
+  GMutex mutex;
+#endif
 };
 
 //------------------------------------------------------------------------
 };
 
 //------------------------------------------------------------------------