AppInfoIF.getDefaultForType

Gets the GAppInfo that corresponds to a given content type.

interface AppInfoIF
static
getDefaultForType

Parameters

contentType string

the content type to find a GAppInfo for

mustSupportUris int

if TRUE, the GAppInfo is expected to support URIs

Return Value

Type: AppInfoIF

GAppInfo for given content_type or NULL on error. [transfer full]

Meta