Name

struct _EMFormatHTMLJob — A formatting job.

Synopsis

struct _EMFormatHTMLJob {
  struct _EMFormatHTMLJob * next;
  struct _EMFormatHTMLJob * prev;
  EMFormatHTML * format;
  struct _CamelStream * stream;
  /* We need to track the state of the visibility tree atthe point this uri was generated */struct _EMFormatPURITree * puri_level;
  struct _CamelURL * base;
  void (* callback (struct _EMFormatHTMLJob *job, int cancelled);
  union u;
};  

Members

next

Double linked list header.

prev

Double linked list header.

format

Set by allocation function.

stream

Free for use by caller.

puri_level

Set by allocation function.

base

Set by allocation function, used to save state.

callback

This callback will always be invoked, only once, even if the user cancelled the display. So the callback should free any extra data it allocated every time it is called.

u

Union data, free for caller to use.

Description

This object is used to queue a long-running-task which cannot be processed in the primary thread. When its turn comes, the job will be de-queued and the callback invoked to perform its processing, restoring various state to match the original state. This is used for image loading and other internal tasks.

This object is struct-subclassable. Only em_format_html_job_new may be used to allocate these.

Description

This object is used to queue a long-running-task which cannot be processed in the primary thread. When its turn comes, the job will be de-queued and the callback invoked to perform its processing, restoring various state to match the original state. This is used for image loading and other internal tasks.

This object is struct-subclassable. Only em_format_html_job_new may be used to allocate these.