Method

GrlRegistryget_sources_by_operations

since: 0.2.0

Declaration [src]

GList*
grl_registry_get_sources_by_operations (
  GrlRegistry* registry,
  GrlSupportedOps ops,
  gboolean ranked
)

Description [src]

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

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

Available since: 0.2.0

Parameters

ops

Type: GrlSupportedOps

A bitwise mangle of the requested operations.

ranked

Type: gboolean

Whether the returned list shall be returned ordered by rank.

Return value

Type: A list of None

A GList of available GrlSources. The content of the list should not be modified or freed. Use g_list_free() when done using the list.

The caller of the method takes ownership of the data container, but not the data inside it.