class CAknGlobalNote : public CAknNotifyBase |
This class handles the global notes.
S60 0.9
Public Member Functions | |
---|---|
~CAknGlobalNote() | |
IMPORT_C void | CancelNoteL(TInt) |
IMPORT_C void | DoGlobaNoteBufferL(TInt16, TInt16, TInt, TInt16, TInt16, TInt, TInt16, TBool, TBool, const TDesC &, CBufFlat *) |
void | DoGlobalNoteBufferL(TInt16, TInt16, TInt, TInt16, TInt16, TInt, TInt16, TBool, TBool, const TDesC &, CBufFlat *, TInt32) |
IMPORT_C CAknGlobalNote * | NewL() |
IMPORT_C CAknGlobalNote * | NewLC() |
IMPORT_C void | SetAnimation(TInt) |
IMPORT_C void | SetGraphic(TInt, TInt) |
IMPORT_C void | SetPriority(TInt) |
IMPORT_C void | SetSoftkeys(TInt) |
IMPORT_C void | SetTextProcessing(TBool) |
IMPORT_C void | SetTone(TInt) |
IMPORT_C TInt | ShowNoteL(TAknGlobalNoteType, const TDesC &) |
IMPORT_C TInt | ShowNoteL(TRequestStatus &, TAknGlobalNoteType, const TDesC &) |
Private Member Functions | |
---|---|
CAknGlobalNote() | |
IMPORT_C void | CAknNotifyBase_Reserved() |
void | ConstructL() |
void | PrepareBufferL(TAknGlobalNoteType, const TDesC &, TInt) |
IMPORT_C void | CancelNoteL | ( | TInt | aNoteId | ) |
Cancels the global note.
TInt aNoteId | Note ID. |
IMPORT_C void | DoGlobaNoteBufferL | ( | TInt16 | aType, |
TInt16 | aPriority, | |||
TInt | aSoftkeys, | |||
TInt16 | aGraphic, | |||
TInt16 | aGraphicMask, | |||
TInt | aAnimation, | |||
TInt16 | aTone, | |||
TBool | aAdapterUsed, | |||
TBool | aTextProcessingEnabled, | |||
const TDesC & | aNoteText, | |||
CBufFlat * | aBuffer | |||
) | [static] |
Internal, please do not use.
void | DoGlobalNoteBufferL | ( | TInt16 | aType, |
TInt16 | aPriority, | |||
TInt | aSoftkeys, | |||
TInt16 | aGraphic, | |||
TInt16 | aGraphicMask, | |||
TInt | aAnimation, | |||
TInt16 | aTone, | |||
TBool | aAdapterUsed, | |||
TBool | aTextProcessingEnabled, | |||
const TDesC & | aNoteText, | |||
CBufFlat * | aBuffer, | |||
TInt32 | aPreallocatedGlobalNoteId | |||
) | [static] |
IMPORT_C CAknGlobalNote * | NewL | ( | ) | [static] |
Two-phased constructor. Pointer to new global note object.
IMPORT_C CAknGlobalNote * | NewLC | ( | ) | [static] |
Two-phased constructor. Pointer to new global note object.
void | PrepareBufferL | ( | TAknGlobalNoteType | aType, |
const TDesC & | aNoteText, | |||
TInt | aPreallocatedGlobalNoteId = 0 | |||
) | [private] |
TAknGlobalNoteType aType | |
const TDesC & aNoteText | |
TInt aPreallocatedGlobalNoteId = 0 |
IMPORT_C void | SetAnimation | ( | TInt | aResourceId | ) |
Sets the animation.
TInt aResourceId | Resource ID of the animation. |
IMPORT_C void | SetGraphic | ( | TInt | aId, |
TInt | aMaskId = -1 | |||
) |
Sets the graphic ID and the graphic mask ID.
IMPORT_C void | SetPriority | ( | TInt | aPriority | ) |
Sets the priority.
TInt aPriority | An integer specifying the new priority. |
IMPORT_C void | SetSoftkeys | ( | TInt | aId | ) |
Sets the softkey ID. (Not used)
TInt aId | softkey ID |
IMPORT_C void | SetTextProcessing | ( | TBool | aEnabled | ) |
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.
S60 2.0
TBool aEnabled | Enable or disable all text processing. |
IMPORT_C TInt | ShowNoteL | ( | TAknGlobalNoteType | aType, |
const TDesC & | aNoteText | |||
) |
Displays the global note. Note ID.
TAknGlobalNoteType aType | Note type. |
const TDesC & aNoteText | Note text. |
IMPORT_C TInt | ShowNoteL | ( | TRequestStatus & | aStatus, |
TAknGlobalNoteType | aType, | |||
const TDesC & | aNoteText | |||
) |
Displays the global note. Note ID.
TRequestStatus & aStatus | Reference to request status. |
TAknGlobalNoteType aType | Note type. |
const TDesC & aNoteText | Note text. |
TPckgBuf< SAknGlobalNoteReturnParams > | iRetPckg | [private] |