Constructor

FoundryAcpContentBlocknew_resource_link

unstable since: 1.2

Declaration [src]

FoundryAcpContentBlock*
foundry_acp_content_block_new_resource_link (
  const char* uri,
  const char* name,
  const char* mime_type
)

Description [src]

Creates an ACP resource link content block.

Available since: 1.2

Parameters

uri

Type: const char*

A resource URI.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
name

Type: const char*

A display name.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
mime_type

Type: const char*

A MIME type.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

The caller of the function takes ownership of the data, and is responsible for freeing it.