equal
deleted
inserted
replaced
508 for ( TInt i = 0; i<iBridge.iAlfRegisteredEffects.Count(); i++ ) |
508 for ( TInt i = 0; i<iBridge.iAlfRegisteredEffects.Count(); i++ ) |
509 { |
509 { |
510 if ( iBridge.iAlfRegisteredEffects[i].iAction == aContext) |
510 if ( iBridge.iAlfRegisteredEffects[i].iAction == aContext) |
511 { |
511 { |
512 //RDebug::Print(_L("CAlfLayoutSwitchEffectCoordinator::SetLayoutSwitchEffectL - loading effect")); |
512 //RDebug::Print(_L("CAlfLayoutSwitchEffectCoordinator::SetLayoutSwitchEffectL - loading effect")); |
513 TRAP_IGNORE(engine->LoadEffectL(*iBridge.iAlfRegisteredEffects[i].iEffectFile, effect, effectable, NULL, this, iLayoutSwitchEffectContext, 0 ) ); |
513 TRAP_IGNORE(engine->LoadEffectL(*iBridge.iAlfRegisteredEffects[i].iEffectFile, effect, effectable, NULL, this, iLayoutSwitchEffectContext, KHuiFxDelayRunUntilFirstFrameHasBeenDrawn ) ); |
514 break; |
514 break; |
515 } |
515 } |
516 } |
516 } |
517 } |
517 } |
518 } |
518 } |
852 iAction = aAction; |
852 iAction = aAction; |
853 TInt operation = aStream.ReadInt32L(); |
853 TInt operation = aStream.ReadInt32L(); |
854 iHandle = aStream.ReadInt32L(); |
854 iHandle = aStream.ReadInt32L(); |
855 iClientHandle = aStream.ReadInt32L(); |
855 iClientHandle = aStream.ReadInt32L(); |
856 iClientGroupHandle = aStream.ReadInt32L(); |
856 iClientGroupHandle = aStream.ReadInt32L(); |
857 TInt screenNumber = aStream.ReadInt32L(); // this has always value 0 |
857 TInt screenNumber = aStream.ReadInt32L(); // this has always value 0 |
|
858 iSetDistractionWindow = ENoOperation; |
858 // Are Symbian full filename+directory combinations still max 256 characters long? |
859 // Are Symbian full filename+directory combinations still max 256 characters long? |
859 ResolveFileNameL(aStream); |
860 ResolveFileNameL(aStream); |
860 } |
861 } |
861 |
862 |
|
863 void CControlEffectState::ConstructL(TUint32 aClientHandle, TUint32 aClientGroupHandle, TInt aSetDistractionWindow) |
|
864 { |
|
865 iClientHandle = aClientHandle; |
|
866 iClientGroupHandle = aClientGroupHandle; |
|
867 if (aSetDistractionWindow) |
|
868 { |
|
869 iSetDistractionWindow = CControlEffectState::ESetDistractionWindow; |
|
870 } |
|
871 else |
|
872 { |
|
873 iSetDistractionWindow = CControlEffectState::ERemoveDistractionWindow; |
|
874 } |
|
875 } |