equal
deleted
inserted
replaced
3047 criteria->SetServiceClass(TUid::Uid(KLiwClassBase)); |
3047 criteria->SetServiceClass(TUid::Uid(KLiwClassBase)); |
3048 |
3048 |
3049 |
3049 |
3050 |
3050 |
3051 interest.AppendL(criteria); |
3051 interest.AppendL(criteria); |
3052 TInt status = 0; |
3052 TInt status; |
3053 // Attach the MyServiceName provider to the LIW framework. |
3053 // Attach the MyServiceName provider to the LIW framework. |
3054 TRAPD(status1,status = iServiceHandler->AttachL(interest)); |
3054 TRAPD(status1,status = iServiceHandler->AttachL(interest)); |
3055 |
3055 |
3056 if(!status || status1) |
3056 if(!status || status1) |
3057 { |
3057 { |
3117 _LIT8(KLongCmd,"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"); |
3117 _LIT8(KLongCmd,"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"); |
3118 CLiwCriteriaItem* criteria = CLiwCriteriaItem::NewLC(1, KNoCmd, KLongCmd); |
3118 CLiwCriteriaItem* criteria = CLiwCriteriaItem::NewLC(1, KNoCmd, KLongCmd); |
3119 criteria->SetServiceClass(TUid::Uid(KLiwClassBase)); |
3119 criteria->SetServiceClass(TUid::Uid(KLiwClassBase)); |
3120 |
3120 |
3121 interest.AppendL(criteria); |
3121 interest.AppendL(criteria); |
3122 TInt status = 0; |
3122 TInt status ; |
3123 // Attach the MyServiceName provider to the LIW framework. |
3123 // Attach the MyServiceName provider to the LIW framework. |
3124 TRAPD(status1,status = iServiceHandler->AttachL(interest)); |
3124 TRAPD(status1,status = iServiceHandler->AttachL(interest)); |
3125 |
3125 |
3126 |
3126 |
3127 // Detach The MyServiceName Provider |
3127 // Detach The MyServiceName Provider |
3181 _LIT8(KLongCmd,"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"); //220 |
3181 _LIT8(KLongCmd,"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"); //220 |
3182 CLiwCriteriaItem* criteria = CLiwCriteriaItem::NewLC(1, KNoCmd, KLongCmd); |
3182 CLiwCriteriaItem* criteria = CLiwCriteriaItem::NewLC(1, KNoCmd, KLongCmd); |
3183 criteria->SetServiceClass(TUid::Uid(KLiwClassBase)); |
3183 criteria->SetServiceClass(TUid::Uid(KLiwClassBase)); |
3184 |
3184 |
3185 interest.AppendL(criteria); |
3185 interest.AppendL(criteria); |
3186 TInt status = 0; |
3186 TInt status ; |
3187 // Attach the MyServiceName provider to the LIW framework. |
3187 // Attach the MyServiceName provider to the LIW framework. |
3188 TRAPD(status1,status = iServiceHandler->AttachL(interest)); |
3188 TRAPD(status1,status = iServiceHandler->AttachL(interest)); |
3189 |
3189 |
3190 |
3190 |
3191 // Detach The MyServiceName Provider |
3191 // Detach The MyServiceName Provider |