aboutsummaryrefslogtreecommitdiff
path: root/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/PETypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/PETypes.h')
-rw-r--r--Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/PETypes.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/PETypes.h b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/PETypes.h
new file mode 100644
index 0000000..59826b5
--- /dev/null
+++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/PETypes.h
@@ -0,0 +1,57 @@
+/*********************************************************************
+
+ ADOBE SYSTEMS INCORPORATED
+ Copyright (C) 2000-2006 Adobe Systems Incorporated
+ All rights reserved.
+
+ NOTICE: Adobe permits you to use, modify, and distribute this file
+ in accordance with the terms of the Adobe license agreement
+ accompanying it. If you have received this file from a source other
+ than Adobe, then your use, modification, or distribution of it
+ requires the prior written permission of Adobe.
+
+ ---------------------------------------------------------------------
+
+ PETypes.h
+
+ - Defines PDFEdit error codes.
+
+*********************************************************************/
+
+#ifndef _H_PETypes
+#define _H_PETypes
+
+#include "ASBasic.h"
+#include "ASStm.h"
+#include "ASTypes.h"
+#include "CosTypes.h"
+#include "PDFErrorCodes.h"
+
+#if PRAGMA_STRUCT_ALIGN
+ #pragma options align=power
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Build Type-specific error codes.
+** Use these macros with the errors defined in the header files listed below,
+** For example: RAISE(CosError(cosErrDocTableFull), NULL);
+**
+** Note that the default severity of an error changes depending on the
+** category.
+*/
+
+#define PDFEditError(e) ASErrBuildCode(ASErrAlways, ASErrSysPDFEdit, e)
+// See PEError.h or PEError.asf for error codes
+
+#ifdef __cplusplus
+}
+#endif
+
+#if PRAGMA_STRUCT_ALIGN
+ #pragma options align=reset
+#endif
+
+#endif /* _H_PETypes */