get_sources_by_operations


Description:

[ Version ( since = "0.2.0" ) ]
public List<unowned Source> get_sources_by_operations (SupportedOps ops, bool ranked)

Give an array of all the available sources in the this capable of perform the operations requested in ops.

If ranked is true, the source list will be ordered by rank.

Parameters:

this

the registry instance

ops

a bitwise mangle of the requested operations.

ranked

whether the returned list shall be returned ordered by rank

Returns:

a List of available Source<!-- -->s. The content of the list should not be modified or freed. Use g_list_free when done using the list.