#include <mw/AknGlobalNote.h>
class CAknGlobalNote : public CAknNotifyBase |
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 &) |
This class handles the global notes.
IMPORT_C CAknGlobalNote * | NewL | ( | ) | [static] |
Two-phased constructor.
Returns: Pointer to new global note object.
IMPORT_C CAknGlobalNote * | NewLC | ( | ) | [static] |
Two-phased constructor.
Returns: Pointer to new global note object.
IMPORT_C void | SetAnimation | ( | TInt | aResourceId | ) |
Sets the animation.
Parameter | Description |
---|---|
aResourceId | Resource ID of the animation. |
IMPORT_C void | SetPriority | ( | TInt | aPriority | ) |
Sets the priority.
Parameter | Description |
---|---|
aPriority | An integer specifying the new priority. |
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.
Parameter | Description |
---|---|
aEnabled | Enable or disable all text processing. |
IMPORT_C TInt | ShowNoteL | ( | TAknGlobalNoteType | aType, |
const TDesC & | aNoteText | |||
) |
Displays the global note.
Parameter | Description |
---|---|
aType | Note type. |
aNoteText | Note text. |
Returns: Note ID.
IMPORT_C TInt | ShowNoteL | ( | TRequestStatus & | aStatus, |
TAknGlobalNoteType | aType, | |||
const TDesC & | aNoteText | |||
) |
Displays the global note.
Parameter | Description |
---|---|
aStatus | Reference to request status. |
aType | Note type. |
aNoteText | Note text. |
Returns: Note ID.