Error String Manager
[Error Manager]


Functions

gint alp_err_display_string (GtkWindow *iParentWindowP, alp_status_t iStatus, bool iShowErrorCode)
char * alp_err_get_string (alp_status_t iStatus, bool iShowErrorCode)
bool alp_err_string_exists (alp_status_t iStatus)


Function Documentation

gint alp_err_display_string GtkWindow *  iParentWindowP,
alp_status_t  iStatus,
bool  iShowErrorCode
 

Display a GTK error dialog with the string corresponding to the given status

Parameters:
[in] iParentWindowP The parent window of the alert dialog
[in] iStatus The status value
[in] iShowErrorCode If true, append the error code to the string
Returns:
dialog return code

char* alp_err_get_string alp_status_t  iStatus,
bool  iShowErrorCode
 

Returns the string associated to the given status

Parameters:
[in] iStatus The status value
[in] iShowErrorCode If true, append the error code to the string
Returns:
char* A pointer on the error string allocated on the heap It is the responsability of the caller to free this string

bool alp_err_string_exists alp_status_t  iStatus  ) 
 

Returns TRUE if there's a string associated to the given status, FALSE otherwise.

Parameters:
[in] iStatus The status value
Returns:
bool TRUE if error string was found FALSE if the error string is not present


Generated on Wed Jul 30 07:06:42 2008 by Doxygen 1.4.6 for ALP SDK + Hiker Documentation

Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.