|
From: <ma...@us...> - 2002-10-03 05:28:13
|
Update of /cvsroot/decaldev/source/Decal
In directory usw-pr-cvs1:/tmp/cvs-serv10071
Modified Files:
DecalManager.cpp
Log Message:
Allow get_Hooks to succeed if m_pHooks is non-NULL, so that services can request it during startup.
Index: DecalManager.cpp
===================================================================
RCS file: /cvsroot/decaldev/source/Decal/DecalManager.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** DecalManager.cpp 22 Sep 2002 08:15:27 -0000 1.10
--- DecalManager.cpp 3 Oct 2002 05:28:11 -0000 1.11
***************
*** 627,631 ****
STDMETHODIMP cDecal::get_Hooks(IACHooks** pVal)
{
! if( !m_bServicesStarted )
return E_FAIL;
--- 627,631 ----
STDMETHODIMP cDecal::get_Hooks(IACHooks** pVal)
{
! if( m_pHooks == NULL )
return E_FAIL;
|