Top | ![]() |
![]() |
![]() |
![]() |
GrlCaps * | grl_caps_new () |
GList * | grl_caps_get_key_filter () |
GList * | grl_caps_get_key_range_filter () |
GrlTypeFilter | grl_caps_get_type_filter () |
gboolean | grl_caps_is_key_filter () |
gboolean | grl_caps_is_key_range_filter () |
void | grl_caps_set_key_filter () |
void | grl_caps_set_key_range_filter () |
void | grl_caps_set_type_filter () |
gboolean | grl_caps_test_option () |
A GrlCaps instance is here to help you know if a given set of operation options is supported for a given operation.
Here is an example of how this would be used.
1 |
A GrlCaps can also be passed to grl_operation_options_new()
. The created
GrlOperationOptions instance would then check any change against its caps.
GList *
grl_caps_get_key_range_filter (GrlCaps *caps
);
Since: 0.2.0
gboolean grl_caps_is_key_filter (GrlCaps *caps
,GrlKeyID key
);
Checks if key
is supported for filtering in caps
.
Since: 0.2.0
gboolean grl_caps_is_key_range_filter (GrlCaps *caps
,GrlKeyID key
);
Checks if key
is supported for filtering by range in caps
.
Since: 0.2.0
void grl_caps_set_key_range_filter (GrlCaps *caps
,GList *keys
);
Since: 0.2.0
void grl_caps_set_type_filter (GrlCaps *caps
,GrlTypeFilter filter
);
Sets the supported filter capability.
Since: 0.2.0
Type of media to allow.
allow no content (only GrlMediaBox) |
||
allow audio content |
||
allow video content |
||
allow image content |
||
allow any type of content |