MAknServerAppExitObserver Class Reference

class MAknServerAppExitObserver : public MApaServerAppExitObserver

Interface for monitoring the lifetime of a server app. This class adds Series 60 common behavior to the handling of server app exits.

Inherits from

Public Member Functions
IMPORT_C voidHandleServerAppExit(TInt)
Inherited Functions
MApaServerAppExitObserver::MApaServerAppExitObserver()

Member Functions Documentation

HandleServerAppExit(TInt)

IMPORT_C voidHandleServerAppExit(TIntaReason)[virtual]

Handle the exit of a connected server app. This implementation provides Series 60 default behavior for handling of the EAknCmdExit exit code. Derived classes should base-call this implementation if they override this function.

Parameters

TInt aReasonThe reason that the server application exited. This will either be an error code, or the command id that caused the server app to exit.