public bool get_application_info (string uri, string name, out string exec, out uint count, out unowned DateTime? stamp) throws BookmarkFileError
Gets the registration information of
app_name for the bookmark for
See set_application_info for more information about the returned data.
The string returned in
app_exec must be freed.
In the event the URI cannot be found, false is returned and throws is set
to URI_NOT_FOUND. In the event that no application with name
app_name has registered a bookmark for
uri, false is returned and error is set to
APP_NOT_REGISTERED. In the event that unquoting the
command line fails, an error of the ShellError domain is set and
false is returned.
a valid URI
an application's name
return location for the command line of the application, or null
return location for the registration count, or null
return location for the last registration time, or null
true on success.