| Top |  |  |  |  | 
Functions
| AsProblem * | as_problem_new () | 
| const gchar * | as_problem_kind_to_string () | 
| AsProblemKind | as_problem_get_kind () | 
| guint | as_problem_get_line_number () | 
| const gchar * | as_problem_get_message () | 
| void | as_problem_set_kind () | 
| void | as_problem_set_line_number () | 
| void | as_problem_set_message () | 
Description
Problems have a unlocalized message and also contain a line number and kind.
See also: AsApp
Functions
as_problem_kind_to_string ()
const gchar *
as_problem_kind_to_string (AsProblemKind kind);
Converts the enumerated value to an text representation.
Since: 0.1.4
as_problem_get_kind ()
AsProblemKind
as_problem_get_kind (AsProblem *problem);
Gets the problem kind.
Since: 0.1.4
as_problem_get_line_number ()
guint
as_problem_get_line_number (AsProblem *problem);
Gets the line number of the problem if known.
Since: 0.1.4
as_problem_get_message ()
const gchar *
as_problem_get_message (AsProblem *problem);
Gets the specific message for the problem.
Since: 0.1.4
as_problem_set_kind ()
void as_problem_set_kind (AsProblem *problem,AsProblemKind kind);
Sets the problem kind.
Since: 0.1.4
as_problem_set_line_number ()
void as_problem_set_line_number (AsProblem *problem,guint line_number);
Adds an line_number to the problem.
Since: 0.1.4
Types and Values
enum AsProblemKind
The problem type.
Members
| Type invalid or not known | ||
| A tag is duplicated | ||
| A required tag is missing | ||
| A tag value is invalid | ||
| A required attribute is missing | ||
| An attribute is invalid | ||
| The XML markup is invalid | ||
| Style guidelines are incorrect | ||
| Translations are required | ||
| Some data is duplicated | ||
| A value is required | ||
| The URL is not found | ||
| The file is invalid | ||
| The image aspect ratio is wrong | ||
| The image resolution is wrong | 
