equal
deleted
inserted
replaced
143 // |
143 // |
144 CXnNodeAppIf& target = Target(); |
144 CXnNodeAppIf& target = Target(); |
145 |
145 |
146 // Create new new label attribute value |
146 // Create new new label attribute value |
147 CXnDomPropertyValue* propertyValue = |
147 CXnDomPropertyValue* propertyValue = |
148 CXnDomPropertyValue::NewL( target.UiEngineL()->StringPool() ); |
148 CXnDomPropertyValue::NewL( &target.UiEngineL()->StringPool() ); |
149 |
149 |
150 CleanupStack::PushL( propertyValue ); |
150 CleanupStack::PushL( propertyValue ); |
151 |
151 |
152 propertyValue->SetStringValueL( CXnDomPropertyValue::EString, |
152 propertyValue->SetStringValueL( CXnDomPropertyValue::EString, |
153 iNewData ); |
153 iNewData ); |
176 |
176 |
177 TInt32 volume = 0; |
177 TInt32 volume = 0; |
178 User::LeaveIfError( AiUtility::ParseInt( volume, iNewData ) ); |
178 User::LeaveIfError( AiUtility::ParseInt( volume, iNewData ) ); |
179 volumeControl->SetValue( volume ); |
179 volumeControl->SetValue( volume ); |
180 } |
180 } |
181 else if ( type == XnNewstickerInterface::MXnNewstickerInterface::Type() ) |
|
182 { |
|
183 // Get newsticker interface |
|
184 XnNewstickerInterface::MXnNewstickerInterface* newsTicker = NULL; |
|
185 XnComponentInterface::MakeInterfaceL( newsTicker, Target() ); |
|
186 LeaveIfNull( newsTicker, KErrNotSupported ); |
|
187 |
|
188 // Append new SVG title |
|
189 newsTicker->AppendSvgTitleL( iNewData ); |
|
190 } |
|
191 else |
181 else |
192 { |
182 { |
193 User::Leave( KErrNotSupported ); |
183 User::Leave( KErrNotSupported ); |
194 } |
184 } |
195 } |
185 } |