AppInfoIF.getDefaultForType

Gets the default GAppInfo for a given content type.

interface AppInfoIF
static
getDefaultForType

Parameters

contentType string

the content type to find a GAppInfo for

mustSupportUris bool

if TRUE, the GAppInfo is expected to support URIs

Return Value

Type: AppInfoIF

GAppInfo for given content_type or NULL on error.