From 43d65dc03325bcce8561423b9607f7e114355f7d Mon Sep 17 00:00:00 2001 From: ferbas Date: Wed, 13 Jan 2010 09:41:29 +0000 Subject: initial import git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@545 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- .../sources/import/API/PDClassDefs.h | 55 ++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/PDClassDefs.h (limited to 'Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/PDClassDefs.h') diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/PDClassDefs.h b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/PDClassDefs.h new file mode 100644 index 0000000..233af1d --- /dev/null +++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/PDClassDefs.h @@ -0,0 +1,55 @@ +/********************************************************************************* + File: PDClassDefs.h + Created: June 16, 2003 + Purpose: This class contains macros commonly used by all PDClasses +* +* ___________________ +* +* (c) Copyright 2002,2005,2006 Adobe Systems, Inc. +* 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. +************************************************************************************/ +#ifndef _PDCLASSDEFS_H +#define _PDCLASSDEFS_H + +#if defined (__cplusplus) + +/* Common macros used by classes contained within this header */ +#include "ASRaiseAware.h" + +/* + - The base class for the common C++ objects differs depending + on the place it is being used. The below macro defines a constant + BASECLASS that will contain the required base class based on the context + + - INTERNAL_PLUGIN is for plugins internal to Acrobat. This define + allows the class to use classes that are internal to Acrobat. This is a new + define and needs to be added to internal plugins that use this class. +*/ +#if (EXCHANGE || READER) +#define BASECLASS AcroStdBase +#elif INTERNAL_PLUGIN +#define BASECLASS CmiAlloc +#endif + +/* Way for clients of this header to define their own exception handling mechanism + for exception raised as a result of calls made by the class methods. A sample + CPPError.h file could contain the following lines + #define ASTRY DURING + #define END_ASTRY HANDLER { throw ERRORCODE; } END_HANDLER +*/ +#if CPP_EXCEPTIONS +#include "CPPError.h" +#else +#define ASTRY +#define END_ASTRY +#endif /* CPP_EXCEPTIONS */ + +#endif /* __cplusplus */ + +#endif /* _PDCLASSDEFS_H */ -- cgit v1.2.3