X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=pdf%2Fxpdf%2FCMap.h;h=eff2a819ad80571784a9357e91aad31db82b8394;hb=bc616a247ff162f3a2cae01eff199630e51d65a0;hp=ce926baf3f54c7535b8ba12c4ea392975c5d8228;hpb=28c37dbcf87665a4ccec58bef9ef8ff0697022dd;p=evince.git diff --git a/pdf/xpdf/CMap.h b/pdf/xpdf/CMap.h index ce926baf..eff2a819 100644 --- a/pdf/xpdf/CMap.h +++ b/pdf/xpdf/CMap.h @@ -2,7 +2,7 @@ // // CMap.h // -// Copyright 2001-2002 Glyph & Cog, LLC +// Copyright 2001-2003 Glyph & Cog, LLC // //======================================================================== @@ -18,6 +18,10 @@ #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 }; //------------------------------------------------------------------------