CMMFEventReceiver Class Reference

#include <mmf/common/mmfcontrollerframeworkclasses.h>

Link against: mmfcontrollerframework.lib

class CMMFEventReceiver : public CBase

Inherits from

  • CMMFEventReceiver

    Detailed Description

    Used to hold on to an TMMFMessage so we can complete it asynchronously to send an event to the client.

    Since
    7.0s

    Constructor & Destructor Documentation

    ~CMMFEventReceiver ( )

    ~CMMFEventReceiver()

    Destructor.

    Completes the message with KErrCancel if the message hasn't already been completed.

    Since
    7.0s

    Member Function Documentation

    NewL ( const TMMFMessage & )

    CMMFEventReceiver *NewL(const TMMFMessage &aMessage)[static]

    Constructs a new event receiver.

    This method may leave with one of the system-wide error codes.

    Since
    7.0s
    ParameterDescription
    aMessageThe message to be completed when an event occurs.

    Returns: A pointer to the newly created event receiver.

    SendEvent ( const TMMFEvent & )

    voidSendEvent(const TMMFEvent &aEvent)

    Sends an event to the client.

    Since
    7.0s
    ParameterDescription
    aEventThe event.