CAknGlobalNote Class Reference

#include <mw/AknGlobalNote.h>

class CAknGlobalNote : public CAknNotifyBase

Inherits from

Detailed Description

This class handles the global notes.

Since
S60 0.9

Constructor & Destructor Documentation

~CAknGlobalNote ( )

IMPORT_C~CAknGlobalNote()

Destructor.

Member Function Documentation

CancelNoteL ( TInt )

IMPORT_C voidCancelNoteL(TIntaNoteId)

Cancels the global note.

ParameterDescription
aNoteIdNote ID.

DoGlobaNoteBufferL ( TInt16, TInt16, TInt, TInt16, TInt16, TInt, TInt16, TBool, TBool, const TDesC &, CBufFlat * )

IMPORT_C voidDoGlobaNoteBufferL(TInt16aType,
TInt16aPriority,
TIntaSoftkeys,
TInt16aGraphic,
TInt16aGraphicMask,
TIntaAnimation,
TInt16aTone,
TBoolaAdapterUsed,
TBoolaTextProcessingEnabled,
const TDesC &aNoteText,
CBufFlat *aBuffer
)[static]

Internal, please do not use.

DoGlobalNoteBufferL ( TInt16, TInt16, TInt, TInt16, TInt16, TInt, TInt16, TBool, TBool, const TDesC &, CBufFlat *, TInt32 )

voidDoGlobalNoteBufferL(TInt16aType,
TInt16aPriority,
TIntaSoftkeys,
TInt16aGraphic,
TInt16aGraphicMask,
TIntaAnimation,
TInt16aTone,
TBoolaAdapterUsed,
TBoolaTextProcessingEnabled,
const TDesC &aNoteText,
CBufFlat *aBuffer,
TInt32aPreallocatedGlobalNoteId
)[static]

NewL ( )

IMPORT_C CAknGlobalNote *NewL()[static]

Two-phased constructor.

Returns: Pointer to new global note object.

NewLC ( )

IMPORT_C CAknGlobalNote *NewLC()[static]

Two-phased constructor.

Returns: Pointer to new global note object.

SetAnimation ( TInt )

IMPORT_C voidSetAnimation(TIntaResourceId)

Sets the animation.

ParameterDescription
aResourceIdResource ID of the animation.

SetGraphic ( TInt, TInt )

IMPORT_C voidSetGraphic(TIntaId,
TIntaMaskId = -1
)

Sets the graphic ID and the graphic mask ID.

ParameterDescription
aIdGraphic ID
aMaskIdGraphic mask ID.

SetPriority ( TInt )

IMPORT_C voidSetPriority(TIntaPriority)

Sets the priority.

ParameterDescription
aPriorityAn integer specifying the new priority.

SetSoftkeys ( TInt )

IMPORT_C voidSetSoftkeys(TIntaId)

Sets the softkey ID. (Not used)

ParameterDescription
aIdsoftkey ID

SetTextProcessing ( TBool )

IMPORT_C voidSetTextProcessing(TBoolaEnabled)

Enable or disable all text processing done by the dialog. This includes text wrapping, text truncation and reordering of bidirectional text.

By default, it is enabled.

If text processing is disabled, lines are broken only at explicit line end characters and they are not truncated, but drawn as long as they fit. Also, the dialog does not handle reordering of bidirectional text.

Since
S60 2.0
ParameterDescription
aEnabledEnable or disable all text processing.

SetTone ( TInt )

IMPORT_C voidSetTone(TIntaTone)

Sets the tone.

ParameterDescription
aToneNew tone.

ShowNoteL ( TAknGlobalNoteType, const TDesC & )

IMPORT_C TIntShowNoteL(TAknGlobalNoteTypeaType,
const TDesC &aNoteText
)

Displays the global note.

ParameterDescription
aTypeNote type.
aNoteTextNote text.

Returns: Note ID.

ShowNoteL ( TRequestStatus &, TAknGlobalNoteType, const TDesC & )

IMPORT_C TIntShowNoteL(TRequestStatus &aStatus,
TAknGlobalNoteTypeaType,
const TDesC &aNoteText
)

Displays the global note.

ParameterDescription
aStatusReference to request status.
aTypeNote type.
aNoteTextNote text.

Returns: Note ID.