diff options
Diffstat (limited to 'fofi/FoFiIdentifier.h')
-rw-r--r-- | fofi/FoFiIdentifier.h | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/fofi/FoFiIdentifier.h b/fofi/FoFiIdentifier.h index af1323b7..2414b849 100644 --- a/fofi/FoFiIdentifier.h +++ b/fofi/FoFiIdentifier.h @@ -6,6 +6,20 @@ // //======================================================================== +//======================================================================== +// +// 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) 2018 Albert Astals Cid <aacid@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 FOFIIDENTIFIER_H #define FOFIIDENTIFIER_H @@ -33,8 +47,8 @@ enum FoFiIdentifierType { class FoFiIdentifier { public: - static FoFiIdentifierType identifyMem(char *file, int len); - static FoFiIdentifierType identifyFile(char *fileName); + static FoFiIdentifierType identifyMem(const char *file, int len); + static FoFiIdentifierType identifyFile(const char *fileName); static FoFiIdentifierType identifyStream(int (*getChar)(void *data), void *data); }; |