serviceproviders/sapi_sysinfo/sysinfoservice/src/activestore.cpp
branchRCL_3
changeset 45 a9c0808a1095
parent 44 0b68a1b0c15e
child 46 5146369cfdc9
equal deleted inserted replaced
44:0b68a1b0c15e 45:a9c0808a1095
    98 
    98 
    99         else if( !Key.CompareF(KInfraRed) )
    99         else if( !Key.CompareF(KInfraRed) )
   100             aActiveObj = CPubSubNotifier::NewL(aSysRequest,
   100             aActiveObj = CPubSubNotifier::NewL(aSysRequest,
   101                                                 CPubSubNotifier::EInfraRed);
   101                                                 CPubSubNotifier::EInfraRed);
   102 
   102 
   103         else if( (!Key.CompareF(SysInfo::KConnectionStatus)) 
   103         else if( (!Key.CompareF(SysInfo::KActiveConnections)) && (aSysRequest.RequestType() == TSysRequest::EASyncONESHOT) )
   104                         || (!Key.CompareF(SysInfo::KActiveConnections)))
       
   105             aActiveObj = CConnection::NewL(aSysRequest);
   104             aActiveObj = CConnection::NewL(aSysRequest);
   106 
   105 
       
   106         else if( (!Key.CompareF(SysInfo::KConnectionStatus)) && (aSysRequest.RequestType() == TSysRequest::ENotification) )
       
   107             aActiveObj = CConnection::NewL(aSysRequest);
       
   108         
   107         else
   109         else
   108             User::Leave(KErrNotFound);
   110             User::Leave(KErrNotFound);
   109         }
   111         }
   110     else if( !Entity.CompareF(KDisplay))
   112     else if( !Entity.CompareF(KDisplay))
   111         {
   113         {