Top |
AsSuggestedKind | as_suggested_kind_from_string () |
const gchar * | as_suggested_kind_to_string () |
AsSuggested * | as_suggested_new () |
AsSuggestedKind | as_suggested_get_kind () |
void | as_suggested_set_kind () |
GPtrArray * | as_suggested_get_ids () |
void | as_suggested_add_id () |
gboolean | as_suggested_is_valid () |
This class provides a list of other component-ids suggested by a software component, as well as an origin of the suggestion (manually suggested by the upstream project, or automatically determined by heuristics).
AsSuggestedKind
as_suggested_kind_from_string (const gchar *kind_str
);
Converts the text representation to an enumerated value.
const gchar *
as_suggested_kind_to_string (AsSuggestedKind kind
);
Converts the enumerated value to an text representation.
AsSuggestedKind
as_suggested_get_kind (AsSuggested *suggested
);
Gets the suggested kind.
void as_suggested_set_kind (AsSuggested *suggested
,AsSuggestedKind kind
);
Sets the suggested kind.
suggested |
a AsSuggested instance. |
|
kind |
the AsSuggestedKind, e.g. |
GPtrArray *
as_suggested_get_ids (AsSuggested *suggested
);
Get a list of components id that generated the suggestion
void as_suggested_add_id (AsSuggested *suggested
,const gchar *cid
);
Add a component id to this suggested object.
gboolean
as_suggested_is_valid (AsSuggested *suggested
);
Check if the essential properties of this suggestion are populated with useful data.