From 15b53055eeb4da06805153df5b9952e3e1f9114e Mon Sep 17 00:00:00 2001 From: Jos Groot Lipman Date: Wed, 11 Jan 2012 19:28:42 +0000 Subject: [PATCH] Label was altijd al key Versie 2.80 svn path=/Slnkdwf/trunk/; revision=12532 --- SlnkDWFCom/SLNKEvent.h | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/SlnkDWFCom/SLNKEvent.h b/SlnkDWFCom/SLNKEvent.h index d54a659..2e8326f 100644 --- a/SlnkDWFCom/SLNKEvent.h +++ b/SlnkDWFCom/SLNKEvent.h @@ -9,7 +9,7 @@ // CSLNKEvent -class ATL_NO_VTABLE CSLNKEvent : +class ATL_NO_VTABLE CSLNKEvent : public CComObjectRootEx, public CComCoClass, public IDispatchImpl @@ -57,21 +57,21 @@ END_COM_MAP() return S_OK; } - - void FinalRelease() + + void FinalRelease() { } private: - CComQIPtr m_dwgBounding; - CComQIPtr m_viewBounding; + CComQIPtr m_dwgBounding; + CComQIPtr m_viewBounding; double m_DwgX, m_DwgY; double m_EdgeAngle; double m_EdgeDistance; double m_minDwgX, m_maxDwgY; double m_maxDwgX, m_minDwgY; - CString m_ContourLabel, m_ContourLayer; + CString m_ContourKey, m_ContourLayer; CString m_TextLabel, m_TextLayer; public: @@ -79,8 +79,10 @@ public: STDMETHOD(put_DwgX)(DOUBLE newVal); STDMETHOD(get_DwgY)(DOUBLE* pVal); STDMETHOD(put_DwgY)(DOUBLE newVal); - STDMETHOD(get_ContourLabel)(BSTR* pVal); - STDMETHOD(put_ContourLabel)(BSTR newVal); + STDMETHOD(get_ContourLabel)(BSTR* pVal); // DEPRECATED 2.80 + STDMETHOD(put_ContourLabel)(BSTR newVal); // DEPRECATED 2.80 + STDMETHOD(get_ContourKey)(BSTR* pVal); + STDMETHOD(put_ContourKey)(BSTR newVal); STDMETHOD(get_ContourLayer)(BSTR* pVal); STDMETHOD(put_ContourLayer)(BSTR newVal); STDMETHOD(get_TextLabel)(BSTR* pVal);