equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2006-2008 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
138 case MAlfHintObserver::EWsObjectInterfaceId: |
138 case MAlfHintObserver::EWsObjectInterfaceId: |
139 return static_cast<MAlfHintObserver*>(this); |
139 return static_cast<MAlfHintObserver*>(this); |
140 |
140 |
141 case MWsDrawAnnotationObserver::EWsObjectInterfaceId: |
141 case MWsDrawAnnotationObserver::EWsObjectInterfaceId: |
142 return static_cast<MWsDrawAnnotationObserver*>(this); |
142 return static_cast<MWsDrawAnnotationObserver*>(this); |
|
143 case KAlfSynchronizationInterfaceUid: |
|
144 return static_cast<MAlfSynchronizationInterface*>(this); |
143 default: |
145 default: |
144 return CWsRenderStage::ResolveObjectInterface(aTypeId); |
146 return CWsRenderStage::ResolveObjectInterface(aTypeId); |
145 } |
147 } |
146 } |
148 } |
147 |
149 |
160 } |
162 } |
161 |
163 |
162 iUpdateRegion = aRegion; |
164 iUpdateRegion = aRegion; |
163 iNext->Begin(aRegion); |
165 iNext->Begin(aRegion); |
164 } |
166 } |
|
167 |
|
168 // --------------------------------------------------------------------------- |
|
169 // Synchronize |
|
170 // --------------------------------------------------------------------------- |
|
171 // |
|
172 TInt CAlfRenderStage::Synchronize(TInt& aId) |
|
173 { |
|
174 if ( iAlfSendBuffer ) |
|
175 { |
|
176 ++iSyncId; |
|
177 aId = iSyncId; |
|
178 iAlfSendBuffer->Synchronize(iSyncId); |
|
179 return KErrNone; |
|
180 } |
|
181 return KErrGeneral; |
|
182 } |
165 |
183 |
166 // --------------------------------------------------------------------------- |
184 // --------------------------------------------------------------------------- |
167 // End |
185 // End |
168 // --------------------------------------------------------------------------- |
186 // --------------------------------------------------------------------------- |
169 // |
187 // |
418 |
436 |
419 #ifndef __WINS__ |
437 #ifndef __WINS__ |
420 if( iScreenNumber == 0 ) |
438 if( iScreenNumber == 0 ) |
421 { |
439 { |
422 if ( secureId != 0x10207218 && // Capserver / AKA goom |
440 if ( secureId != 0x10207218 && // Capserver / AKA goom |
423 secureId != 0x10204c27 ) // Policy server |
441 secureId != 0x10204c27 && // Policy server |
|
442 secureId != 0x2000f85a ) // IAD application updater |
424 { |
443 { |
425 // Todo: Must actually check whether the configuration uses goom |
444 // Todo: Must actually check whether the configuration uses goom |
426 // would create drastic performance hit in a system that does not need |
445 // would create drastic performance hit in a system that does not need |
427 // (and construct) goom |
446 // (and construct) goom |
428 if ( !iGoomSession ) |
447 if ( !iGoomSession ) |