]> www.fi.muni.cz Git - evince.git/blobdiff - pdf/xpdf/CMap.h
implement get/set properties
[evince.git] / pdf / xpdf / CMap.h
index ce926baf3f54c7535b8ba12c4ea392975c5d8228..eff2a819ad80571784a9357e91aad31db82b8394 100644 (file)
@@ -2,7 +2,7 @@
 //
 // CMap.h
 //
 //
 // CMap.h
 //
-// 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;
 struct CMapVectorEntry;
 class CMapCache;
 class GString;
 struct CMapVectorEntry;
 class CMapCache;
@@ -69,6 +73,9 @@ private:
   CMapVectorEntry *vector;     // vector for first byte (NULL for
                                //   identity CMap)
   int refCnt;
   CMapVectorEntry *vector;     // vector for first byte (NULL for
                                //   identity CMap)
   int refCnt;
+#ifdef MULTITHREADED
+  GMutex mutex;
+#endif
 };
 
 //------------------------------------------------------------------------
 };
 
 //------------------------------------------------------------------------