Method
AppStreamComponentget_system_compatibility_score
Declaration [src]
gint
as_component_get_system_compatibility_score (
AsComponent* cpt,
AsSystemInfo* sysinfo,
gboolean is_template,
GPtrArray** results
)
Description [src]
Return a score between 0 and 100 determining how compatible the component is with the system configuration provided as parameter.
0 means the componsnt will not work at all, while 100 is best compatibility.
Parameters
sysinfo |
AsSystemInfo |
An |
|
The data is owned by the caller of the function. | |
is_template |
gboolean |
If |
|
results |
An array of None |
Receive the resulting check results. |
|
The argument will be set by the function. | |
The argument can be NULL . | |
The instance takes ownership of the data container, but not the data inside it. |