API published in: S60 1st Ed
Link against: commonui.lib
Required Capabilities
None
#include <errorui.h>
This is the default error display class to be used by applications. The features of the class are:
Usage (typically as instance variable) iErrorUI = CErrorUI::NewL(); // iCoeEnv can be given as argument, no need to that though ... some code causing an error ... if ( err != KErrNone ) iErrorUI->ShowGlobalErrorNoteL(err);
Public Member Functions |
|
IMPORT_C | ~CErrorUI () |
Destructor. |
|
IMPORT_C TBool | ShowGlobalErrorNoteL (TInt aError, CTextResolver::TErrorContext aContext=CTextResolver::ECtxAutomatic) |
Shows a global error note which is created by resolving to a display text from the given error code. |
|
CTextResolver & | TextResolver () |
Offers a reference to internal TextResolver instance. |
|
IMPORT_C TBool | ShowGlobalErrorQueryL (TInt aError, CTextResolver::TErrorContext aContext=CTextResolver::ECtxAutomatic) |
Shows a global error query with OK key, which is created by resolving to a display text from the given error code. |
|
Static Public Member Functions |
|
static IMPORT_C CErrorUI * | NewL () |
This constructor method should be used by servers, does not put the created object into CleanupStack. |
|
static IMPORT_C CErrorUI * | NewLC () |
This constructor method should be used by servers, puts the created object into CleanupStack. |
|
static IMPORT_C CErrorUI * | NewL (CCoeEnv &aEnv) |
This constructor method should be used by applications, does not put the created object into CleanupStack. |
|
static IMPORT_C CErrorUI * | NewLC (CCoeEnv &aEnv) |
This constructor method should be used by applications, puts the created object into CleanupStack. |
|
Destructor. |
|
This constructor method should be used by applications, does not put the created object into CleanupStack.
|
|
This constructor method should be used by servers, does not put the created object into CleanupStack. |
|
This constructor method should be used by applications, puts the created object into CleanupStack.
|
|
This constructor method should be used by servers, puts the created object into CleanupStack. |
|
Shows a global error note which is created by resolving to a display text from the given error code. The is the default method to be called by applications to display error messages.
|
|
Shows a global error query with OK key, which is created by resolving to a display text from the given error code. The is the default method to be called by applications to display error queries.
|
|
Offers a reference to internal TextResolver instance.
|