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/SrchHFT.h | 56 ++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/SrchHFT.h (limited to 'Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/SrchHFT.h') diff --git a/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/SrchHFT.h b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/SrchHFT.h new file mode 100644 index 0000000..88c54b1 --- /dev/null +++ b/Adobe_SigHandler/Adobe.PDF-AS-SigHandler/sources/import/API/SrchHFT.h @@ -0,0 +1,56 @@ +/********************************************************************* + + ADOBE SYSTEMS INCORPORATED + Copyright (C) 1994-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. + + --------------------------------------------------------------------- + + SrchHFT.h + + - Catalog of functions exported by Acrobat Search. + +*********************************************************************/ + +#ifndef _H_SrchHFT +#define _H_SrchHFT + +#include "SrchType.h" + +/* Extension name : "Search" */ + +#define SearchHFT_NAME "Search" +#define SearchHFT_LATEST_VERSION (0L) + +#define Init_SearchHFT ASExtensionMgrGetHFT(ASAtomFromString(SearchHFT_NAME), SearchHFT_LATEST_VERSION) + +/* Enumerate the selectors */ +#define PIPROC(returnType, name, params, ...) name##_SEL, + +typedef enum _SearchSelector { + SearchBAD_SELECTOR, + #include "SrchPrcs.h" + SearchNUMSELECTORSplusOne +} SearchSelector; + +#undef PIPROC + +#define SearchNUMSELECTORS (SearchNUMSELECTORSplusOne - 1) + + +/* Define API/Function prototypes +*/ +#define PIPROC(returnType, name, params, ...) typedef ACCBPROTO1 returnType (ACCBPROTO2 *name##_SELPROTO)params; +#include "SrchPrcs.h" +#undef PIPROC + +extern HFT gSearchHFT; +extern ASBool SetUpSearchHFTServer(void); +#endif + -- cgit v1.2.3