Home · All Classes · Main Classes · Deprecated |
Static Public Member Functions | |
static MAppletMessage * | create (MAppletMessage::MAppletMessageType messageType) |
Factory class for creating applet messages.
The factory class offers a service to create applet messages of the correct type. The applet message type is passed as a parameter to the create()
function and the function constructs and returns a correct message object. If an invalid message type is requested, the factory returns NULL
.
creator()
function is static
so you don't need an instance of the factory. Actually you can't even create instances of it since the constructor is hidden. MAppletMessage * MAppletMessageFactory::create | ( | MAppletMessage::MAppletMessageType | messageType | ) | [static] |
Creates an applet message object of the requested type.
The function constructs and returns a correct message object. If an invalid message type is requested, the factory returns NULL
.
messageType | the type of the requested message. |
NULL
on invalid request. Copyright © 2010 Nokia Corporation | MeeGo Touch |