[GME-commit] GMESRC/GME/Gme GMEObjectInspector.h,1.9,1.10
gme-commit at list.isis.vanderbilt.edu
gme-commit at list.isis.vanderbilt.edu
Thu Mar 22 15:56:48 CST 2007
Update of /project/gme-repository/GMESRC/GME/Gme
In directory escher:/tmp/cvs-serv3998
Modified Files:
GMEObjectInspector.h
Log Message:
Previously ObjectInspector panel returned 0 as its interface.
CVS User: Zoltan Molnar, ISIS (zolmol)
Index: GMEObjectInspector.h
===================================================================
RCS file: /project/gme-repository/GMESRC/GME/Gme/GMEObjectInspector.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** GMEObjectInspector.h 6 Dec 2006 22:26:50 -0000 1.9
--- GMEObjectInspector.h 22 Mar 2007 21:56:45 -0000 1.10
***************
*** 20,24 ****
virtual ~CGMEObjectInspector(){theInstance = 0;};
! IDispatch * GetInterface() {return NULL;};
// Dialog Data
--- 20,31 ----
virtual ~CGMEObjectInspector(){theInstance = 0;};
! IDispatch * GetInterface() {
! LPUNKNOWN pUnk = m_ObjectInspector.GetControlUnknown();
!
! // From there get the IDispatch interface of control.
! LPDISPATCH pDisp = NULL;
! pUnk->QueryInterface(IID_IDispatch, (LPVOID*)&pDisp);
! return pDisp;
! }
// Dialog Data
More information about the GME-commit
mailing list