MAknServerAppExitObserver Class Reference

#include <mw/AknServerApp.h>

class MAknServerAppExitObserver : public MApaServerAppExitObserver

Inherits from

  • MAknServerAppExitObserver
    Public Member Functions
    virtual IMPORT_C voidHandleServerAppExit(TInt)
    Inherited Functions
    MApaServerAppExitObserver::MApaServerAppExitObserver()

    Detailed Description

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

    Member Function Documentation

    HandleServerAppExit ( TInt )

    IMPORT_C voidHandleServerAppExit(TIntaReason)[virtual]

    Reimplemented from MApaServerAppExitObserver::HandleServerAppExit(TInt)

    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.

    ParameterDescription
    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.