256 } |
256 } |
257 INFO_PRINTF2(_L("Component Size : %d"), aStartData.ComponentSize()); |
257 INFO_PRINTF2(_L("Component Size : %d"), aStartData.ComponentSize()); |
258 INFO_PRINTF2(_L("Icon Path : %S"), &aStartData.IconPath()); |
258 INFO_PRINTF2(_L("Icon Path : %S"), &aStartData.IconPath()); |
259 INFO_PRINTF2(_L("Component Icon : %S"), &aStartData.ComponentIcon()); |
259 INFO_PRINTF2(_L("Component Icon : %S"), &aStartData.ComponentIcon()); |
260 INFO_PRINTF2(_L("Software Type: %S"), &aStartData.SoftwareType()); |
260 INFO_PRINTF2(_L("Software Type: %S"), &aStartData.SoftwareType()); |
261 |
261 INFO_PRINTF2(_L("Operation Phase : %d"), (TInt)aStartData.OperationPhase()); |
262 |
262 |
263 } |
263 } |
264 } |
264 } |
265 |
265 |
266 |
266 |
338 if(GetBoolFromConfig(ConfigSection(),KPrintDetails, print)) |
338 if(GetBoolFromConfig(ConfigSection(),KPrintDetails, print)) |
339 { |
339 { |
340 INFO_PRINTF2(_L("Global Component Id : %S"), &aProgressData.GlobalComponentId()); |
340 INFO_PRINTF2(_L("Global Component Id : %S"), &aProgressData.GlobalComponentId()); |
341 INFO_PRINTF2(_L("Phase : %d"), (TInt)aProgressData.Phase()); |
341 INFO_PRINTF2(_L("Phase : %d"), (TInt)aProgressData.Phase()); |
342 INFO_PRINTF2(_L("Sub Phase : %d"), (TInt)aProgressData.SubPhase()); |
342 INFO_PRINTF2(_L("Sub Phase : %d"), (TInt)aProgressData.SubPhase()); |
343 INFO_PRINTF2(_L("Current Progress : %d"), aProgressData.CurrentProgess()); |
343 INFO_PRINTF2(_L("Current Progress : %d"), aProgressData.CurrentProgress()); |
344 INFO_PRINTF2(_L("Total Value : %d"), aProgressData.Total()); |
344 INFO_PRINTF2(_L("Total Value : %d"), aProgressData.Total()); |
345 |
345 |
346 } |
346 } |
347 } |
347 } |
348 |
348 |
416 { |
416 { |
417 TPtrC globalCompId, compName, compIcon, appName, appIcon, iconPath, softwareType; |
417 TPtrC globalCompId, compName, compIcon, appName, appIcon, iconPath, softwareType; |
418 TInt appNameCount =0; |
418 TInt appNameCount =0; |
419 TInt appIconCount =0; |
419 TInt appIconCount =0; |
420 TInt compSize = 0; |
420 TInt compSize = 0; |
|
421 TInt phase = 0; |
421 GetStringFromConfig(*configsection,KGlobalCompId, globalCompId); |
422 GetStringFromConfig(*configsection,KGlobalCompId, globalCompId); |
422 GetStringFromConfig(*configsection,KComponentName, compName); |
423 GetStringFromConfig(*configsection,KComponentName, compName); |
423 GetStringFromConfig(*configsection,KComponentIcon, compIcon); |
424 GetStringFromConfig(*configsection,KComponentIcon, compIcon); |
424 GetIntFromConfig(*configsection, KAppNameCount, appNameCount); |
425 GetIntFromConfig(*configsection, KAppNameCount, appNameCount); |
425 RPointerArray<HBufC> appNameArray; |
426 RPointerArray<HBufC> appNameArray; |
451 } |
452 } |
452 |
453 |
453 GetIntFromConfig(*configsection, KComponentSize, compSize); |
454 GetIntFromConfig(*configsection, KComponentSize, compSize); |
454 GetStringFromConfig(*configsection, KIconPath, iconPath); |
455 GetStringFromConfig(*configsection, KIconPath, iconPath); |
455 GetStringFromConfig(*configsection, KSoftwareType, softwareType); |
456 GetStringFromConfig(*configsection, KSoftwareType, softwareType); |
456 |
457 GetIntFromConfig(*configsection, KPhase, phase); |
457 CSifOperationStartData* startdata = CSifOperationStartData::NewLC(globalCompId, compName, appNameArray, appIconArray, compSize, iconPath, compIcon, softwareType); |
458 |
|
459 TSifOperationPhase enumPhase = static_cast<TSifOperationPhase>(phase); |
|
460 CSifOperationStartData* startdata = CSifOperationStartData::NewLC(globalCompId, compName, appNameArray, appIconArray, compSize, iconPath, compIcon, softwareType, enumPhase); |
458 iPublisher->PublishStartL(*startdata); |
461 iPublisher->PublishStartL(*startdata); |
459 CleanupStack::PopAndDestroy(3, &appNameArray); |
462 CleanupStack::PopAndDestroy(3, &appNameArray); |
460 } |
463 } |
461 else if(op.Compare(_L("progress")) == 0) |
464 else if(op.Compare(_L("progress")) == 0) |
462 { |
465 { |