Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3584 | sourcerer | 1 | /* |
2 | * This file is part of libdom. |
||
3 | * Licensed under the MIT License, |
||
4 | * http://www.opensource.org/licenses/mit-license.php |
||
5 | * Copyright 2009 Bo Yang |
||
6 | */ |
||
7 | |||
8 | #ifndef dom_events_mutation_name_event_h_ |
||
9 | #define dom_events_mutation_name_event_h_ |
||
10 | |||
11 | #include |
||
12 | #include |
||
13 | #include |
||
14 | |||
15 | struct dom_node; |
||
16 | |||
17 | typedef struct dom_mutation_name_event dom_mutation_name_event; |
||
18 | |||
19 | dom_exception _dom_mutation_name_event_get_prev_namespace( |
||
20 | dom_mutation_name_event *evt, dom_string **namespace); |
||
21 | #define dom_mutation_name_event_get_prev_namespace(e, n) \ |
||
22 | _dom_mutation_name_event_get_prev_namespace(\ |
||
23 | (dom_mutation_name_event *) (e), (dom_string **) (n)) |
||
24 | |||
25 | dom_exception _dom_mutation_name_event_get_prev_node_name( |
||
26 | dom_mutation_name_event *evt, dom_string **name); |
||
27 | #define dom_mutation_name_event_get_prev_node_name(e, n) \ |
||
28 | _dom_mutation_name_event_get_prev_node_name(\ |
||
29 | (dom_mutation_name_event *) (e), (dom_string **) (n)) |
||
30 | |||
31 | dom_exception _dom_mutation_name_event_init(dom_mutation_name_event *evt, |
||
32 | dom_string *type, bool bubble, bool cancelable, |
||
33 | struct dom_node *node, dom_string *prev_ns, |
||
34 | dom_string *prev_name); |
||
35 | #define dom_mutation_name_event_init(e, t, b, c, n, p, pn) \ |
||
36 | _dom_mutation_name_event_init((dom_mutation_name_event *) (e), \ |
||
37 | (dom_string *) (t), (bool) (b), (bool) (c), \ |
||
38 | (struct dom_node *) (n), (dom_string *) (p), \ |
||
39 | (dom_string *) (pn)) |
||
40 | |||
41 | dom_exception _dom_mutation_name_event_init_ns(dom_mutation_name_event *evt, |
||
42 | dom_string *namespace, dom_string *type, |
||
43 | bool bubble, bool cancelable, struct dom_node *node, |
||
44 | dom_string *prev_ns, dom_string *prev_name); |
||
45 | #define dom_mutation_name_event_init_ns(e, n, t, b, c, nv, p, pn) \ |
||
46 | _dom_mutation_name_event_init_ns(\ |
||
47 | (dom_mutation_name_event *) (e), (dom_string *) (n),\ |
||
48 | (dom_string *) (t), (bool) (b), (bool) (c),\ |
||
49 | (struct dom_node *) (nv), (dom_string *) (p), \ |
||
50 | (dom_string *) (pn)) |
||
51 | |||
52 | #endif |
||
53 |