graphicscomposition/surfaceupdate/inc/surfaceupdateserver.h
branchRCL_3
changeset 164 25ffed67c7ef
parent 163 bbf46f59e123
equal deleted inserted replaced
163:bbf46f59e123 164:25ffed67c7ef
     1 // Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2006-2009 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,
       
    37 	};
    36 	};
    38 
    37 
    39 enum TSurfaceUpdateEvent
    38 enum TSurfaceUpdateEvent
    40 	{
    39 	{
    41 	EUpdateServEventRegister = 1,
    40 	EUpdateServEventRegister = 1,
   185 	~CUpdateReceiverNotificationBatch();
   184 	~CUpdateReceiverNotificationBatch();
   186 	void ProcessNotificationEvent(CUpdateReceiverNotification* aReceiverNotification);
   185 	void ProcessNotificationEvent(CUpdateReceiverNotification* aReceiverNotification);
   187 	TBool IsActive() const;
   186 	TBool IsActive() const;
   188 	CUpdateReceiverNotification* UpdateReceiverNotification(TInt aReceiverPriority = 0);
   187 	CUpdateReceiverNotification* UpdateReceiverNotification(TInt aReceiverPriority = 0);
   189 	void CheckForReuse();
   188 	void CheckForReuse();
   190 	void SetNumUpdateReceivers(TInt aNumUpdateReceivers);
       
   191 #ifdef TEST_SURFACE_UPDATE
   189 #ifdef TEST_SURFACE_UPDATE
   192 	CSurfaceUpdateServer* Server();
   190 	CSurfaceUpdateServer* Server();
   193 	void IncNumberPendingNotifications();
   191 	void IncNumberPendingNotifications();
   194 #endif
   192 #endif
   195 public:
   193 public: