libdom
|
#include <stdlib.h>
#include "events/custom_event.h"
#include "core/document.h"
Functions | |
dom_exception | _dom_custom_event_create (struct dom_custom_event **evt) |
void | _dom_custom_event_destroy (struct dom_custom_event *evt) |
dom_exception | _dom_custom_event_initialise (struct dom_custom_event *evt) |
void | _dom_custom_event_finalise (struct dom_custom_event *evt) |
dom_exception | _dom_custom_event_get_detail (dom_custom_event *evt, void **detail) |
dom_exception | _dom_custom_event_init_ns (dom_custom_event *evt, dom_string *namespace, dom_string *type, bool bubble, bool cancelable, void *detail) |
dom_exception _dom_custom_event_create | ( | struct dom_custom_event ** | evt | ) |
void _dom_custom_event_destroy | ( | struct dom_custom_event * | evt | ) |
void _dom_custom_event_finalise | ( | struct dom_custom_event * | evt | ) |
dom_exception _dom_custom_event_get_detail | ( | dom_custom_event * | evt, |
void ** | detail ) |
Get the detail object of this custom event
evt | The Event object |
detail | The returned detail object |
dom_exception _dom_custom_event_init_ns | ( | dom_custom_event * | evt, |
dom_string * | namespace, | ||
dom_string * | type, | ||
bool | bubble, | ||
bool | cancelable, | ||
void * | detail ) |
Initialise this custom event
evt | The Event object |
namespace | The namespace of this new Event |
type | The Event type |
bubble | Whether this event can bubble |
cancelable | Whether this event is cancelable |
detail | The detail object of this custom event |
dom_exception _dom_custom_event_initialise | ( | struct dom_custom_event * | evt | ) |