filters
ErrorCodes.h
00001 //======================================================================== 00002 // 00003 // ErrorCodes.h 00004 // 00005 // Copyright 2002 Glyph & Cog, LLC 00006 // 00007 //======================================================================== 00008 00009 #ifndef ERRORCODES_H 00010 #define ERRORCODES_H 00011 00012 #define errNone 0 // no error 00013 00014 #define errOpenFile 1 // couldn't open the PDF file 00015 00016 #define errBadCatalog 2 // couldn't read the page catalog 00017 00018 #define errDamaged 3 // PDF file was damaged and couldn't be 00019 // repaired 00020 00021 #define errEncrypted 4 // file was encrypted and password was 00022 // incorrect or not supplied 00023 00024 #endif