Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <VWSDEF.H>

Class TVwsViewIdAndMessage

class TVwsViewIdAndMessage;

Description

The TVwsViewIdAndMessage class identifies a view and encapsulates a message to be read by the view when it is activated.

Members

Defined in TVwsViewIdAndMessage:


Construction and destruction


TVwsViewIdAndMessage()

inline TVwsViewIdAndMessage();

Description

Constructs a TVwsViewIdAndMessage object, and initialises it to contain a NULL view UID and an empty message


TVwsViewIdAndMessage(const TVwsViewId &)

inline TVwsViewIdAndMessage(const TVwsViewId &aId);

Description

Constructs a TVwsViewIdAndMessage object, and initialises it to contain the specified view UID and an empty message

Parameters

const TVwsViewId &aId

A reference to the TVwsViewId to be used


TVwsViewIdAndMessage(const TVwsViewId &,TUid,const TDesC8 &)

inline TVwsViewIdAndMessage(const TVwsViewId &aId, TUid aCustomMessageId, const TDesC8 &aCustomMessage);

Description

Constructs a TVwsViewIdAndMessage object, and initialises it to contain the specified view UID and the specified message

Parameters

const TVwsViewId &aId

A reference to the TVwsViewId to be used

TUid aCustomMessageId

The message Id to use

const TDesC8 &aCustomMessage

A narrow descriptor containing the message

[Top]


Member functions


operator=(const TVwsViewIdAndMessage &)

inline TVwsViewIdAndMessage& operator=(const TVwsViewIdAndMessage &aVwsViewIdAndMessage);

Description

Copies the contents of another TVwsViewIdAndMessage into this one

Parameters

const TVwsViewIdAndMessage &aVwsViewIdAndMessage

A reference to the TVwsViewIdAndMessage to be copied

Return value

TVwsViewIdAndMessage &

A reference to the object being copied into

[Top]


Member data


iViewId

TVwsViewId iViewId;

Description


iCustomMessageId

TUid iCustomMessageId;

Description


iCustomMessageLength

TInt iCustomMessageLength;

Description


iCustomMessage

TPtrC8 iCustomMessage;

Description