// CodeGear C++Builder
// Copyright (c) 1995, 2014 by Embarcadero Technologies, Inc.
// All rights reserved

// (DO NOT EDIT: machine generated header) 'FPdfAttachment.pas' rev: 27.00 (Windows)

#ifndef FpdfattachmentHPP
#define FpdfattachmentHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member 
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <FPdfView.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Fpdfattachment
{
//-- type declarations -------------------------------------------------------
typedef int __cdecl (*TFPDFDoc_GetAttachmentCount)(void * document);

typedef void * __cdecl (*TFPDFDoc_AddAttachment)(void * document, System::WideChar * name);

typedef void * __cdecl (*TFPDFDoc_GetAttachment)(void * document, int index);

typedef int __cdecl (*TFPDFDoc_DeleteAttachment)(void * document, int index);

typedef unsigned __cdecl (*TFPDFAttachment_GetName)(void * attachment, System::Word &buffer, unsigned buflen);

typedef int __cdecl (*TFPDFAttachment_HasKey)(void * attachment, char * key);

typedef int __cdecl (*TFPDFAttachment_GetValueType)(void * attachment, char * key);

typedef int __cdecl (*TFPDFAttachment_SetStringValue)(void * attachment, char * key, char * value);

typedef unsigned __cdecl (*TFPDFAttachment_GetStringValue)(void * attachment, char * key, System::Word &buffer, unsigned buflen);

typedef int __cdecl (*TFPDFAttachment_SetFile)(void * attachment, void * document, void * contents, unsigned len);

typedef int __cdecl (*TFPDFAttachment_GetFile)(void * attachment, void * buffer, unsigned buflen, /* out */ unsigned &out_buflen);

//-- var, const, procedure ---------------------------------------------------
}	/* namespace Fpdfattachment */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE) && !defined(NO_USING_NAMESPACE_FPDFATTACHMENT)
using namespace Fpdfattachment;
#endif
#pragma pack(pop)
#pragma option pop

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// FpdfattachmentHPP
