git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
moved clockwise checker to gfxfillToSVP()
[swftools.git]
/
pdf2swf
/
xpdf
/
CMap.h
diff --git
a/pdf2swf/xpdf/CMap.h
b/pdf2swf/xpdf/CMap.h
index
fe49acf
..
c321a57
100644
(file)
--- a/
pdf2swf/xpdf/CMap.h
+++ b/
pdf2swf/xpdf/CMap.h
@@
-2,20
+2,26
@@
//
// CMap.h
//
//
// CMap.h
//
-// Copyright 2001-2002 Glyph & Cog, LLC
+// Copyright 2001-2003 Glyph & Cog, LLC
//
//========================================================================
#ifndef CMAP_H
#define CMAP_H
//
//========================================================================
#ifndef CMAP_H
#define CMAP_H
-#ifdef __GNUC__
+#include <aconf.h>
+
+#ifdef USE_GCC_PRAGMAS
#pragma interface
#endif
#include "gtypes.h"
#include "CharTypes.h"
#pragma interface
#endif
#include "gtypes.h"
#include "CharTypes.h"
+#if MULTITHREADED
+#include "GMutex.h"
+#endif
+
class GString;
struct CMapVectorEntry;
class CMapCache;
class GString;
struct CMapVectorEntry;
class CMapCache;
@@
-67,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;
+#if MULTITHREADED
+ GMutex mutex;
+#endif
};
//------------------------------------------------------------------------
};
//------------------------------------------------------------------------