Virtual Method

IdeHtmlGeneratorgenerate_async

Declaration

void
generate_async (
  IdeHtmlGenerator* self,
  GCancellable* cancellable,
  GAsyncReadyCallback callback,
  gpointer user_data
)

Description

Asynchronously generate HTML.

This virtual function should be implemented by subclasses to generate HTML based on some form of input (which is left to the subclass).

Upon completion, callback is called and expected to call ide_html_generator_generate_finish() to retrieve the result.

Parameters

cancellable

Type: GCancellable

A GCancellable.

The argument can be NULL.
The data is owned by the caller of the function.
callback

Type: GAsyncReadyCallback

A function to call after completion.

user_data

Type: gpointer

Closure data for callback.

The argument can be NULL.
The data is owned by the caller of the function.