Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: 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:
TVwsViewIdAndMessage(), TVwsViewIdAndMessage(), TVwsViewIdAndMessage(), iCustomMessage, iCustomMessageId, iCustomMessageLength, iViewId, operator=()


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()

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()

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=()

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