upnpavcontrolpoint/avcpengine/src/upnpavcpmanager.cpp
changeset 30 5ec426854821
parent 0 7f85d04be362
equal deleted inserted replaced
25:52826dcbed74 30:5ec426854821
   120 	    else 
   120 	    else 
   121 	    	{
   121 	    	{
   122 	    	User::Leave(KErrNotFound);
   122 	    	User::Leave(KErrNotFound);
   123 	    	}
   123 	    	}
   124 	    CleanupStack::Pop(resolver);	
   124 	    CleanupStack::Pop(resolver);	
   125 	    iPathResolvers.Append(resolver);	    
   125 	    iPathResolvers.AppendL(resolver);	    
   126     	}  
   126     	}  
   127     	
   127     	
   128     resolver->RegisterSession(aSession);	
   128     resolver->RegisterSession(aSession);	
   129     return *resolver;	
   129     return *resolver;	
   130     }
   130     }
   161 // CUpnpAVCPManager::RegisterForAction
   161 // CUpnpAVCPManager::RegisterForAction
   162 // register for get action responses
   162 // register for get action responses
   163 // -----------------------------------------------------------------------------			
   163 // -----------------------------------------------------------------------------			
   164 void CUpnpAVCPManager::RegisterForAction(MUpnpResponseHandler& aHandler)	 
   164 void CUpnpAVCPManager::RegisterForAction(MUpnpResponseHandler& aHandler)	 
   165   {
   165   {
   166       iPendingHandlers.Append(&aHandler);
   166       iPendingHandlers.AppendL(&aHandler);
   167   }
   167   }
   168 
   168 
   169 // -----------------------------------------------------------------------------
   169 // -----------------------------------------------------------------------------
   170 // CUpnpAVCPManager::HandlerBySessionId
   170 // CUpnpAVCPManager::HandlerBySessionId
   171 // return index of handler for specific session
   171 // return index of handler for specific session
   187 // CUpnpAVCPManager::HandlerBySessionId
   187 // CUpnpAVCPManager::HandlerBySessionId
   188 // return index of handler for specific session
   188 // return index of handler for specific session
   189 // -----------------------------------------------------------------------------	
   189 // -----------------------------------------------------------------------------	
   190 void CUpnpAVCPManager::RegisterForHttp(MUpnpHttpResponseHandler& aHandler)	 
   190 void CUpnpAVCPManager::RegisterForHttp(MUpnpHttpResponseHandler& aHandler)	 
   191     {
   191     {
   192     iHttpPendingHandlers.Append(&aHandler);
   192     iHttpPendingHandlers.AppendL(&aHandler);
   193     }
   193     }
   194 
   194 
   195 // -----------------------------------------------------------------------------
   195 // -----------------------------------------------------------------------------
   196 // CUpnpAVCPManager::HandlerBySessionId
   196 // CUpnpAVCPManager::HandlerBySessionId
   197 // return index of handler for specific session
   197 // return index of handler for specific session