From 65dc2802ca18f4ddba2bca00997eaf6084eb7cc1 Mon Sep 17 00:00:00 2001 From: Frank Warmerdam Date: Wed, 19 Oct 2005 03:18:15 +0000 Subject: New git-svn-id: http://svn.osgeo.org/metacrs/proj/trunk@1308 4e78687f-474d-0410-85f9-8d5e500ac6b2 --- com/COMTest1.idl | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100755 com/COMTest1.idl (limited to 'com/COMTest1.idl') diff --git a/com/COMTest1.idl b/com/COMTest1.idl new file mode 100755 index 00000000..ed5bc023 --- /dev/null +++ b/com/COMTest1.idl @@ -0,0 +1,44 @@ +// COMTest1.idl : IDL source for COMTest1.dll +// + +// This file will be processed by the MIDL tool to +// produce the type library (COMTest1.tlb) and marshalling code. + +import "oaidl.idl"; +import "ocidl.idl"; + [ + object, + uuid(28849AA6-E8FB-4077-8D7A-D83CDFC2DC44), + dual, + helpstring("IProjDef Interface"), + pointer_default(unique) + ] + interface IProjDef : IDispatch + { + [id(1), helpstring("method Initialize")] HRESULT Initialize([in] BSTR proj_string, [out, retval] int *success ); + [id(2), helpstring("method TransformPoint3D")] HRESULT TransformPoint3D([in] IUnknown *srcProj, + [in,out] double *x, [in, out] double *y, [in, out] double *z, [out, retval] int *success ); + [id(3), helpstring("method GetHandle")] HRESULT GetHandle([out, retval] long *pHandle ); + [id(4), helpstring("method IsLatLong")] HRESULT IsLatLong([out, retval] int *result); + [id(5), helpstring("method GetLastError")] HRESULT GetLastError([out, retval] BSTR *error ); + }; + +[ + uuid(A0ADE3D8-9A85-4BD3-AD56-BFEF42495130), + version(1.0), + helpstring("PROJ.4") +] +library PROJ4Lib +{ + importlib("stdole32.tlb"); + importlib("stdole2.tlb"); + + [ + uuid(B9B8F0A3-D9F8-4537-9A03-329DC9AE144C), + helpstring("ProjDef Class") + ] + coclass ProjDef + { + [default] interface IProjDef; + }; +}; -- cgit v1.2.3