equal
deleted
inserted
replaced
2039 EXPORT_DEFINE_SMELEMENT(CNoBearer::TNoTagOrBearerPresentForAutostart, NetStateMachine::MStateFork, CNoBearer::TContext) |
2039 EXPORT_DEFINE_SMELEMENT(CNoBearer::TNoTagOrBearerPresentForAutostart, NetStateMachine::MStateFork, CNoBearer::TContext) |
2040 EXPORT_C TInt CNoBearer::TNoTagOrBearerPresentForAutostart::TransitionTag() |
2040 EXPORT_C TInt CNoBearer::TNoTagOrBearerPresentForAutostart::TransitionTag() |
2041 { |
2041 { |
2042 TInt cntrlClients = iContext.Node().CountClients<TDefaultClientMatchPolicy>( |
2042 TInt cntrlClients = iContext.Node().CountClients<TDefaultClientMatchPolicy>( |
2043 /*include*/TClientType(TCFClientType::ECtrl)); |
2043 /*include*/TClientType(TCFClientType::ECtrl)); |
2044 if (cntrlClients > 0 && |
2044 if (cntrlClients == 0 && |
2045 iContext.Node().ServiceProvider() && |
2045 iContext.Node().ServiceProvider() && |
2046 !(iContext.Node().ServiceProvider()->Flags() & TCFClientType::EStarted)) |
2046 !(iContext.Node().ServiceProvider()->Flags() & TCFClientType::EStarted)) |
2047 { |
2047 { |
2048 //This fork calculates if the NoBearer activity (which this fork has been implemented for) |
2048 //This fork calculates if the NoBearer activity (which this fork has been implemented for) |
2049 //should attempt to autostart the service provider when returning it to the sender of TNoBearer. |
2049 //should attempt to autostart the service provider when returning it to the sender of TNoBearer. |