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
void Terminate ()

Member Functions Documentation

Register(TInt, CBase *, TInt)

TInt Register ( TInt aScreen,
CBase * aUpdateReceiver,
TInt aPriority
) [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()

void Terminate ( ) [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.