equal
deleted
inserted
replaced
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
31 EUpdateServPanicBadRequest = 1, |
31 EUpdateServPanicBadRequest = 1, |
32 EUpdateServPanicNoMemory, |
32 EUpdateServPanicNoMemory, |
33 EUpdateServPanicStartUp, |
33 EUpdateServPanicStartUp, |
34 EUpdateServPanicDataIntegrity, |
34 EUpdateServPanicDataIntegrity, |
35 EUpdateServPanicRegister, |
35 EUpdateServPanicRegister, |
|
36 EUpdateServPanicGlobalFastLock, |
36 }; |
37 }; |
37 |
38 |
38 enum TSurfaceUpdateEvent |
39 enum TSurfaceUpdateEvent |
39 { |
40 { |
40 EUpdateServEventRegister = 1, |
41 EUpdateServEventRegister = 1, |
184 ~CUpdateReceiverNotificationBatch(); |
185 ~CUpdateReceiverNotificationBatch(); |
185 void ProcessNotificationEvent(CUpdateReceiverNotification* aReceiverNotification); |
186 void ProcessNotificationEvent(CUpdateReceiverNotification* aReceiverNotification); |
186 TBool IsActive() const; |
187 TBool IsActive() const; |
187 CUpdateReceiverNotification* UpdateReceiverNotification(TInt aReceiverPriority = 0); |
188 CUpdateReceiverNotification* UpdateReceiverNotification(TInt aReceiverPriority = 0); |
188 void CheckForReuse(); |
189 void CheckForReuse(); |
|
190 void SetNumUpdateReceivers(TInt aNumUpdateReceivers); |
189 #ifdef TEST_SURFACE_UPDATE |
191 #ifdef TEST_SURFACE_UPDATE |
190 CSurfaceUpdateServer* Server(); |
192 CSurfaceUpdateServer* Server(); |
191 void IncNumberPendingNotifications(); |
193 void IncNumberPendingNotifications(); |
192 #endif |
194 #endif |
193 public: |
195 public: |