summaryrefslogtreecommitdiff
path: root/src/events/document_event.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2013-02-19 23:27:10 +0000
committerVincent Sanders <vince@kyllikki.org>2013-02-19 23:27:10 +0000
commitddb2d27f4206905f2ed2ac7d61b74ce88d68401c (patch)
treec482500d137ff527279e15f1167ac3d2022fb013 /src/events/document_event.h
parenteb41fa70373b4f54fca3eab5a00521be4e48e5fe (diff)
downloadlibdom-ddb2d27f4206905f2ed2ac7d61b74ce88d68401c.tar.gz
libdom-ddb2d27f4206905f2ed2ac7d61b74ce88d68401c.tar.bz2
add context for default action function
Diffstat (limited to 'src/events/document_event.h')
-rw-r--r--src/events/document_event.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/events/document_event.h b/src/events/document_event.h
index 2458508..1e04045 100644
--- a/src/events/document_event.h
+++ b/src/events/document_event.h
@@ -38,6 +38,7 @@ typedef enum {
struct dom_document_event_internal {
dom_events_default_action_fetcher actions;
/**< The default action fetecher */
+ void *actions_ctx; /**< The default action fetcher context */
struct lwc_string_s *event_types[DOM_EVENT_COUNT];
/**< Events type names */
};
@@ -53,7 +54,8 @@ typedef struct dom_document_event_internal dom_document_event_internal;
/* Initialise this DocumentEvent */
dom_exception _dom_document_event_internal_initialise(struct dom_document *doc,
dom_document_event_internal *dei,
- dom_events_default_action_fetcher actions);
+ dom_events_default_action_fetcher actions,
+ void *actions_ctx);
/* Finalise this DocumentEvent */
void _dom_document_event_internal_finalise(struct dom_document *doc,