file(s) added by xpdf 1.01.
[swftools.git] / pdf2swf / xpdf / ErrorCodes.h
diff --git a/pdf2swf/xpdf/ErrorCodes.h b/pdf2swf/xpdf/ErrorCodes.h
new file mode 100644 (file)
index 0000000..4e0d38a
--- /dev/null
@@ -0,0 +1,24 @@
+//========================================================================
+//
+// ErrorCodes.h
+//
+// Copyright 2002 Glyph & Cog, LLC
+//
+//========================================================================
+
+#ifndef ERRORCODES_H
+#define ERRORCODES_H
+
+#define errNone             0  // no error
+
+#define errOpenFile         1  // couldn't open the PDF file
+
+#define errBadCatalog       2  // couldn't read the page catalog
+
+#define errDamaged          3  // PDF file was damaged and couldn't be
+                               // repaired
+
+#define errEncrypted        4  // file was encrypted and password was
+                               // incorrect or not supplied
+
+#endif