[poppler] poppler/Annot.h poppler/Catalog.h poppler/CharCodeToUnicode.h poppler/CompactFontTables.h poppler/FontInfo.h poppler/GfxState_helpers.h poppler/NameToUnicodeTable.h

Albert Astals Cid aacid at kemper.freedesktop.org
Sat Jul 9 16:55:47 PDT 2011


 poppler/Annot.h              |    4 +++-
 poppler/Catalog.h            |    2 ++
 poppler/CharCodeToUnicode.h  |    4 +++-
 poppler/CompactFontTables.h  |   16 ++++++++++++++++
 poppler/FontInfo.h           |    6 +++++-
 poppler/GfxState_helpers.h   |    4 +++-
 poppler/NameToUnicodeTable.h |   18 ++++++++++++++++++
 7 files changed, 50 insertions(+), 4 deletions(-)

New commits:
commit 866c6d1b0daa8b28f259e1faba075026cf9007e0
Author: Albert Astals Cid <aacid at kde.org>
Date:   Sun Jul 10 00:55:25 2011 +0100

    Name most of the classes in poppler/ includable by themselves

diff --git a/poppler/Annot.h b/poppler/Annot.h
index 93f82bf..59d610b 100644
--- a/poppler/Annot.h
+++ b/poppler/Annot.h
@@ -21,7 +21,7 @@
 // Copyright (C) 2008 Hugo Mercier <hmercier31 at gmail.com>
 // Copyright (C) 2008 Pino Toscano <pino at kde.org>
 // Copyright (C) 2008 Tomas Are Haavet <tomasare at gmail.com>
-// Copyright (C) 2009, 2010 Albert Astals Cid <aacid at kde.org>
+// Copyright (C) 2009-2011 Albert Astals Cid <aacid at kde.org>
 //
 // To see a description of the changes please see the Changelog file that
 // came with your tarball or type make ChangeLog if you are building from git
@@ -35,6 +35,8 @@
 #pragma interface
 #endif
 
+#include "Object.h"
+
 class XRef;
 class Gfx;
 class Catalog;
diff --git a/poppler/Catalog.h b/poppler/Catalog.h
index cc1daf2..41be3b6 100644
--- a/poppler/Catalog.h
+++ b/poppler/Catalog.h
@@ -33,6 +33,8 @@
 #pragma interface
 #endif
 
+#include "Object.h"
+
 #include <vector>
 
 class XRef;
diff --git a/poppler/CharCodeToUnicode.h b/poppler/CharCodeToUnicode.h
index 1daedd7..3fdbf0f 100644
--- a/poppler/CharCodeToUnicode.h
+++ b/poppler/CharCodeToUnicode.h
@@ -17,7 +17,7 @@
 //
 // Copyright (C) 2007 Julien Rebetez <julienr at svn.gnome.org>
 // Copyright (C) 2007 Koji Otani <sho at bbr.jp>
-// Copyright (C) 2008 Albert Astals Cid <aacid at kde.org>
+// Copyright (C) 2008, 2011 Albert Astals Cid <aacid at kde.org>
 //
 // To see a description of the changes please see the Changelog file that
 // came with your tarball or type make ChangeLog if you are building from git
@@ -33,12 +33,14 @@
 
 #include "poppler-config.h"
 #include "CharTypes.h"
+#include "goo/gtypes.h"
 
 #if MULTITHREADED
 #include "goo/GooMutex.h"
 #endif
 
 struct CharCodeToUnicodeString;
+class GooString;
 
 //------------------------------------------------------------------------
 
diff --git a/poppler/CompactFontTables.h b/poppler/CompactFontTables.h
index 757e1cb..cfbfdaf 100644
--- a/poppler/CompactFontTables.h
+++ b/poppler/CompactFontTables.h
@@ -6,9 +6,25 @@
 //
 //========================================================================
 
+//========================================================================
+//
+// Modified under the Poppler project - http://poppler.freedesktop.org
+//
+// All changes made under the Poppler project to this file are licensed
+// under GPL version 2 or later
+//
+// Copyright (C) 2011 Albert Astals Cid <aacid at kde.org>
+//
+// To see a description of the changes please see the Changelog file that
+// came with your tarball or type make ChangeLog if you are building from git
+//
+//========================================================================
+
 #ifndef COMPACTFONTINFO_H
 #define COMPACTFONTINFO_H
 
+#include "goo/gtypes.h"
+
 static char *type1CStdStrings[391] = {
   ".notdef",
   "space",
diff --git a/poppler/FontInfo.h b/poppler/FontInfo.h
index 43ab019..733194d 100644
--- a/poppler/FontInfo.h
+++ b/poppler/FontInfo.h
@@ -3,7 +3,7 @@
 // FontInfo.h
 //
 // Copyright (C) 2005 Kristian Høgsberg <krh at redhat.com>
-// Copyright (C) 2005-2008, 2010 Albert Astals Cid <aacid at kde.org>
+// Copyright (C) 2005-2008, 2010, 2011 Albert Astals Cid <aacid at kde.org>
 // Copyright (C) 2005 Brad Hards <bradh at frogmouth.net>
 // Copyright (C) 2009 Pino Toscano <pino at kde.org>
 //
@@ -23,9 +23,13 @@
 #ifndef FONT_INFO_H
 #define FONT_INFO_H
 
+#include "Object.h"
 #include "goo/gtypes.h"
 #include "goo/GooList.h"
 
+class GfxFont;
+class PDFDoc;
+
 class FontInfo {
 public:
   enum Type {
diff --git a/poppler/GfxState_helpers.h b/poppler/GfxState_helpers.h
index 77ac710..bc0024e 100644
--- a/poppler/GfxState_helpers.h
+++ b/poppler/GfxState_helpers.h
@@ -13,13 +13,15 @@
 // All changes made under the Poppler project to this file are licensed
 // under GPL version 2 or later
 //
-// Copyright (C) 2009 Albert Astals Cid <aacid at kde.org>
+// Copyright (C) 2009, 2011 Albert Astals Cid <aacid at kde.org>
 //
 // To see a description of the changes please see the Changelog file that
 // came with your tarball or type make ChangeLog if you are building from git
 //
 //========================================================================
 
+#include "GfxState.h"
+
 static inline GfxColorComp clip01(GfxColorComp x) {
   return (x < 0) ? 0 : (x > gfxColorComp1) ? gfxColorComp1 : x;
 }
diff --git a/poppler/NameToUnicodeTable.h b/poppler/NameToUnicodeTable.h
index 0b1812c..650f62e 100644
--- a/poppler/NameToUnicodeTable.h
+++ b/poppler/NameToUnicodeTable.h
@@ -6,6 +6,24 @@
 //
 //========================================================================
 
+//========================================================================
+//
+// Modified under the Poppler project - http://poppler.freedesktop.org
+//
+// All changes made under the Poppler project to this file are licensed
+// under GPL version 2 or later
+//
+// Copyright (C) 2011 Albert Astals Cid <aacid at kde.org>
+//
+// To see a description of the changes please see the Changelog file that
+// came with your tarball or type make ChangeLog if you are building from git
+//
+//========================================================================
+
+#include "CharTypes.h"
+
+#include <stddef.h>
+
 static struct {
   Unicode u;
   char *name;


More information about the poppler mailing list