linklayercontrol/networkinterfacemgr/netcfgext/src/netcfgextnotify.cpp
changeset 51 78fceed50f62
parent 0 af10295192d8
equal deleted inserted replaced
42:88121cf79045 51:78fceed50f62
    33 CNetCfgExtNotify::CNetCfgExtNotify(CSubConnectionProviderBase* aScpr)
    33 CNetCfgExtNotify::CNetCfgExtNotify(CSubConnectionProviderBase* aScpr)
    34 	: iScpr(aScpr)
    34 	: iScpr(aScpr)
    35 	{
    35 	{
    36 	}
    36 	}
    37 
    37 
       
    38 CNetCfgExtNotify::~CNetCfgExtNotify()
       
    39     {
       
    40     iScpr = NULL;
       
    41     }
    38 void CNetCfgExtNotify::IfProgress(TInt aStage, TInt aError)
    42 void CNetCfgExtNotify::IfProgress(TInt aStage, TInt aError)
    39 	{
    43 	{
    40 	TStateChange change(aStage, aError);
    44 	TStateChange change(aStage, aError);
       
    45 	if(iScpr)
       
    46 	    {
    41 	RClientInterface::OpenPostMessageClose(iScpr->Id(), iScpr->Id(),
    47 	RClientInterface::OpenPostMessageClose(iScpr->Id(), iScpr->Id(),
    42 		TCFMessage::TStateChange(change).CRef());
    48 		TCFMessage::TStateChange(change).CRef());
       
    49 	    }
    43 	}
    50 	}
    44 
    51 
    45 TInt CNetCfgExtNotify::DoReadInt(const TDesC& aField, TUint32& aValue,const RMessagePtr2* /*aMessage*/)
    52 TInt CNetCfgExtNotify::DoReadInt(const TDesC& aField, TUint32& aValue,const RMessagePtr2* /*aMessage*/)
    46 	{
    53 	{
    47 	const ESock::RMetaExtensionContainerC& apc = iScpr->AccessPointConfig();
    54 	const ESock::RMetaExtensionContainerC& apc = iScpr->AccessPointConfig();