MSurfaceUpdateServerProvider Class Reference

class MSurfaceUpdateServerProvider

The class is aimed for use within WSERV process only by the Content update receiver. It provides interface for registering Content update receiver instances for each screen.

Public Member Functions
TInt Register(TInt, CBase *, TInt)
Private Member Functions
voidTerminate()

Member Functions Documentation

Register(TInt, CBase *, TInt)

TInt Register(TIntaScreen,
CBase *aUpdateReceiver,
TIntaPriority
)[pure virtual]

Assign Content update receiver instance to particular screen. The following calls of this function for the same screen will override the previous.

panic
EUpdateServPanicRegister If another registration method has already been used.

Parameters

TInt aScreen- screen number, associated with the output, varies from 0 to number of screens present - 1
CBase * aUpdateReceiver- pointer to a Content update receiver interface associated with the aScreen. NULL signifies that particular screen doesn't correspond any composition receiver. The ownership of this parameter will not be transferred.
TInt aPriority- priority of the Content update receiver. The higher the number is the higher the priority of the screen. This number will be used to identify the master screen for any particular surface. It is not acceptable to have more than one screen with the same priority.

Terminate()

voidTerminate()[private, pure virtual]

Close the Surface Update Server This function is intended for test/debugging only The implementation will do nothing in released builds

WARNING: Function for internal use ONLY. Compatibility is not guaranteed in future releases.