serviceproviders/sapi_sysinfo/sysinfoservice/src/activestore.cpp
branchRCL_3
changeset 65 0b68a1b0c15e
parent 64 1790c2f1027c
child 66 a9c0808a1095
equal deleted inserted replaced
64:1790c2f1027c 65:0b68a1b0c15e
    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::KActiveConnections)) && (aSysRequest.RequestType() == TSysRequest::EASyncONESHOT) )
   103         else if( (!Key.CompareF(SysInfo::KConnectionStatus)) 
       
   104                         || (!Key.CompareF(SysInfo::KActiveConnections)))
   104             aActiveObj = CConnection::NewL(aSysRequest);
   105             aActiveObj = CConnection::NewL(aSysRequest);
   105 
   106 
   106         else if( (!Key.CompareF(SysInfo::KConnectionStatus)) && (aSysRequest.RequestType() == TSysRequest::ENotification) )
       
   107             aActiveObj = CConnection::NewL(aSysRequest);
       
   108         
       
   109         else
   107         else
   110             User::Leave(KErrNotFound);
   108             User::Leave(KErrNotFound);
   111         }
   109         }
   112     else if( !Entity.CompareF(KDisplay))
   110     else if( !Entity.CompareF(KDisplay))
   113         {
   111         {