diff options
| author | Mateusz Loskot <mateusz@loskot.net> | 2018-02-01 20:14:55 +0100 |
|---|---|---|
| committer | Mateusz Loskot <mateusz@loskot.net> | 2018-02-01 20:14:55 +0100 |
| commit | c6bcc0e4b806179c4f904a2df2652f51b27068f1 (patch) | |
| tree | 750785f958921e8c29ebf920fb78f9775c32cfb3 /com/ProjDef.h | |
| parent | dd9cd3f821295f4095d3a261bfd9be26065e60b7 (diff) | |
| download | PROJ-c6bcc0e4b806179c4f904a2df2652f51b27068f1.tar.gz PROJ-c6bcc0e4b806179c4f904a2df2652f51b27068f1.zip | |
Remove COM/VB6 cruft
Diffstat (limited to 'com/ProjDef.h')
| -rw-r--r-- | com/ProjDef.h | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/com/ProjDef.h b/com/ProjDef.h deleted file mode 100644 index 017bf48f..00000000 --- a/com/ProjDef.h +++ /dev/null @@ -1,49 +0,0 @@ -// ProjDef.h : Declaration of the CProjDef - -#ifndef __PROJDEF_H_ -#define __PROJDEF_H_ - -#include "resource.h" // main symbols - -///////////////////////////////////////////////////////////////////////////// -// CProjDef -class ATL_NO_VTABLE CProjDef : - public CComObjectRootEx<CComMultiThreadModel>, - public CComCoClass<CProjDef, &CLSID_ProjDef>, - public IDispatchImpl<IProjDef, &IID_IProjDef, &LIBID_PROJ4Lib> -{ -public: - CProjDef() - { - psProj = NULL; - sLastError = NULL; - SetError(""); - } - -DECLARE_REGISTRY_RESOURCEID(IDR_PROJDEF) - -DECLARE_PROTECT_FINAL_CONSTRUCT() - -BEGIN_COM_MAP(CProjDef) - COM_INTERFACE_ENTRY(IProjDef) - COM_INTERFACE_ENTRY(IDispatch) -END_COM_MAP() - -// IProjDef -public: - STDMETHOD(GetLastError)( BSTR *error ); - STDMETHOD(IsLatLong)(/*[out]*/ int *result); - STDMETHOD(GetHandle)(long *pHandle); - STDMETHOD(TransformPoint3D)(IUnknown *srcProj, double *x, double *y, double *z, int *success); - STDMETHOD(Initialize)(BSTR proj_string, int *success); - -private: - void SetError( const char *pszMessage ); - void SetProjError( const char *pszMessage ); - - BSTR sLastError; - void *psProj; - -}; - -#endif //__PROJDEF_H_ |
