Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <W32STD.H>

Class MDirectScreenAccess

class MDirectScreenAccess : public MAbortDirectScreenAccess;

Description

The interface for restarting direct screen access.

The MDirectScreenAccess::Restart(RDirectScreenAccess::TTerminationReasons) function is called by the window server as soon as direct screen access can resume. It is called after the window server has called MAbortDirectScreenAccess::AbortNow(RDirectScreenAccess::TTerminationReasons).

An object of the derived class is passed to CDirectScreenAccess::NewL(RWsSession &,CWsScreenDevice &,RWindowBase &,MDirectScreenAccess &).

Derivation

See also:


Member functions


Restart(RDirectScreenAccess::TTerminationReasons)

virtual void Restart(RDirectScreenAccess::TTerminationReasons aReason)=0;

Description

This function is called by the window server as soon as direct screen access can resume.

This function should call CDirectScreenAccess::StartL() within a trap harness. If this leaves, e.g. through lack of memory, direct screen access cannot be restarted. StartL() re-calculates the clipping region, so that if direct screen access was aborted because another window appeared in front of it, that window will not be overwritten when direct screen access resumes.

In this function, you can resume calls to Window Server Client Side API functions.

Parameters

RDirectScreenAccess::TTerminationReasons aReason

Provides the reason why direct screen access was terminated.