]> www.fi.muni.cz Git - evince.git/blobdiff - pdf/xpdf/CMap.h
sssshhh
[evince.git] / pdf / xpdf / CMap.h
index b44f07a0d8d943becefbfc32dfff475ef212b935..eff2a819ad80571784a9357e91aad31db82b8394 100644 (file)
 #include "gtypes.h"
 #include "CharTypes.h"
 
+#if MULTITHREADED
+#include "GMutex.h"
+#endif
+
 class GString;
 struct CMapVectorEntry;
 class CMapCache;
@@ -69,6 +73,9 @@ private:
   CMapVectorEntry *vector;     // vector for first byte (NULL for
                                //   identity CMap)
   int refCnt;
+#ifdef MULTITHREADED
+  GMutex mutex;
+#endif
 };
 
 //------------------------------------------------------------------------