| Top |
| #define | AS_TYPE_PROBLEM |
| 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 () |
Problems have a unlocalized message and also contain a line number and kind.
See also: AsApp
const gchar *
as_problem_kind_to_string (AsProblemKind kind);
Converts the enumerated value to an text representation.
Since: 0.1.4
AsProblemKind
as_problem_get_kind (AsProblem *problem);
Gets the problem kind.
Since: 0.1.4
guint
as_problem_get_line_number (AsProblem *problem);
Gets the line number of the problem if known.
Since: 0.1.4
const gchar *
as_problem_get_message (AsProblem *problem);
Gets the specific message for the problem.
Since: 0.1.4
void as_problem_set_kind (AsProblem *problem,AsProblemKind kind);
Sets the problem kind.
Since: 0.1.4
void as_problem_set_line_number (AsProblem *problem,guint line_number);
Adds an line_number to the problem.
Since: 0.1.4
The problem type.
|
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 |