Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
Loading...
Searching...
No Matches
MDirectScreenAccess Class Referenceabstract

The interface for restarting direct screen access. More...

#include <w32std.h>

Inheritance diagram for MDirectScreenAccess:
MAbortDirectScreenAccess

Public Member Functions

virtual void Restart (RDirectScreenAccess::TTerminationReasons aReason)=0
 This function is called by the window server as soon as direct screen access can resume.
 
- Public Member Functions inherited from MAbortDirectScreenAccess
virtual void AbortNow (RDirectScreenAccess::TTerminationReasons aReason)=0
 This function is called by the window server when direct screen access must stop (for example because a dialogue is moved in front of the area where direct screen access is taking place).
 

Detailed Description

The interface for restarting direct screen access.

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

An object of the derived class is passed to CDirectScreenAccess::NewL().

See also
CDirectScreenAccess::NewL()
API status
Published to all clients. Released API.

Definition at line 2690 of file w32std.h.

Member Function Documentation

◆ Restart()

virtual void MDirectScreenAccess::Restart ( RDirectScreenAccess::TTerminationReasons  aReason)
pure virtual

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
aReasonProvides the reason why direct screen access was terminated.

The documentation for this class was generated from the following file: