diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-03-20 07:35:59 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-03-20 07:35:59 +0000 |
commit | 70a2688732ce8e027c0bbf4cbdc55621c9ca5b57 (patch) | |
tree | 0a618c7df46f5a6c6334bcc5b2264cc23ebdbc89 /Build/source/libs/xpdf/fofi/FoFiBase.h | |
parent | 200cfaafaed3d870382579503f73a3838b427d51 (diff) |
new build system
git-svn-id: svn://tug.org/texlive/trunk@12443 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/xpdf/fofi/FoFiBase.h')
-rw-r--r-- | Build/source/libs/xpdf/fofi/FoFiBase.h | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/Build/source/libs/xpdf/fofi/FoFiBase.h b/Build/source/libs/xpdf/fofi/FoFiBase.h deleted file mode 100644 index b78840b2a00..00000000000 --- a/Build/source/libs/xpdf/fofi/FoFiBase.h +++ /dev/null @@ -1,57 +0,0 @@ -//======================================================================== -// -// FoFiBase.h -// -// Copyright 1999-2003 Glyph & Cog, LLC -// -//======================================================================== - -#ifndef FOFIBASE_H -#define FOFIBASE_H - -#include <aconf.h> - -#ifdef USE_GCC_PRAGMAS -#pragma interface -#endif - -#include "gtypes.h" - -//------------------------------------------------------------------------ - -typedef void (*FoFiOutputFunc)(void *stream, char *data, int len); - -//------------------------------------------------------------------------ -// FoFiBase -//------------------------------------------------------------------------ - -class FoFiBase { -public: - - virtual ~FoFiBase(); - -protected: - - FoFiBase(char *fileA, int lenA, GBool freeFileDataA); - static char *readFile(char *fileName, int *fileLen); - - // S = signed / U = unsigned - // 8/16/32/Var = word length, in bytes - // BE = big endian - int getS8(int pos, GBool *ok); - int getU8(int pos, GBool *ok); - int getS16BE(int pos, GBool *ok); - int getU16BE(int pos, GBool *ok); - int getS32BE(int pos, GBool *ok); - Guint getU32BE(int pos, GBool *ok); - Guint getUVarBE(int pos, int size, GBool *ok); - - GBool checkRegion(int pos, int size); - - Guchar *fileData; - Guchar *file; - int len; - GBool freeFileData; -}; - -#endif |