summaryrefslogtreecommitdiff
path: root/include/dom/events/keyboard_event.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-04-07 23:28:32 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-04-07 23:28:32 +0000
commit4ade8ad1c7b23e6eeeee6681acbdb43fb10cab43 (patch)
tree545dfc0006eeddcd000a1071c7c62afe3e47e5b5 /include/dom/events/keyboard_event.h
parentd24960dac782ef8e54ed91692f6aec1dd6d08bc1 (diff)
downloadlibdom-4ade8ad1c7b23e6eeeee6681acbdb43fb10cab43.tar.gz
libdom-4ade8ad1c7b23e6eeeee6681acbdb43fb10cab43.tar.bz2
s/struct dom_string/dom_string/g
svn path=/trunk/libdom/; revision=12172
Diffstat (limited to 'include/dom/events/keyboard_event.h')
-rw-r--r--include/dom/events/keyboard_event.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/include/dom/events/keyboard_event.h b/include/dom/events/keyboard_event.h
index bbac4a1..132049e 100644
--- a/include/dom/events/keyboard_event.h
+++ b/include/dom/events/keyboard_event.h
@@ -10,8 +10,8 @@
#include <stdbool.h>
#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
-struct dom_string;
struct dom_abstract_view;
typedef struct dom_keyboard_event dom_keyboard_event;
@@ -24,10 +24,10 @@ typedef enum {
} dom_key_location;
dom_exception _dom_keyboard_event_get_key_identifier(dom_keyboard_event *evt,
- struct dom_string **ident);
+ dom_string **ident);
#define dom_keyboard_event_get_key_identifier(e, i) \
_dom_keyboard_event_get_key_identifier( \
- (dom_keyboard_event *) (e), (struct dom_string **) (i))
+ (dom_keyboard_event *) (e), (dom_string **) (i))
dom_exception _dom_keyboard_event_get_key_location(dom_keyboard_event *evt,
dom_key_location *loc);
@@ -57,33 +57,33 @@ dom_exception _dom_keyboard_event_get_meta_key(dom_keyboard_event *evt,
(dom_keyboard_event *) (e), (bool *) (k))
dom_exception _dom_keyboard_event_get_modifier_state(dom_keyboard_event *evt,
- struct dom_string *m, bool *state);
+ dom_string *m, bool *state);
#define dom_keyboard_event_get_modifier_state(e, m, s) \
_dom_keyboard_event_get_modifier_state( \
- (dom_keyboard_event *) (e), (struct dom_string *) (m),\
+ (dom_keyboard_event *) (e), (dom_string *) (m),\
(bool *) (s))
dom_exception _dom_keyboard_event_init(dom_keyboard_event *evt,
- struct dom_string *type, bool bubble, bool cancelable,
- struct dom_abstract_view *view, struct dom_string *key_ident,
- dom_key_location key_loc, struct dom_string *modifier_list);
+ dom_string *type, bool bubble, bool cancelable,
+ struct dom_abstract_view *view, dom_string *key_ident,
+ dom_key_location key_loc, dom_string *modifier_list);
#define dom_keyboard_event_init(e, t, b, c, v, ki, kl, m) \
_dom_keyboard_event_init((dom_keyboard_event *) (e), \
- (struct dom_string *) (t), (bool) (b), (bool) (c), \
- (struct dom_abstract_view *) (v), (struct dom_string *) (ki), \
- (dom_key_location) (kl), (struct dom_string *) (m))
+ (dom_string *) (t), (bool) (b), (bool) (c), \
+ (struct dom_abstract_view *) (v), (dom_string *) (ki), \
+ (dom_key_location) (kl), (dom_string *) (m))
dom_exception _dom_keyboard_event_init_ns(dom_keyboard_event *evt,
- struct dom_string *namespace, struct dom_string *type,
+ dom_string *namespace, dom_string *type,
bool bubble, bool cancelable, struct dom_abstract_view *view,
- struct dom_string *key_ident, dom_key_location key_loc,
- struct dom_string *modifier_list);
+ dom_string *key_ident, dom_key_location key_loc,
+ dom_string *modifier_list);
#define dom_keyboard_event_init_ns(e, n, t, b, c, v, ki, kl, m) \
_dom_keyboard_event_init_ns((dom_keyboard_event *) (e), \
- (struct dom_string *) (n), (struct dom_string *) (t), \
+ (dom_string *) (n), (dom_string *) (t), \
(bool) (b), (bool) (c), (struct dom_abstract_view *) (v), \
- (struct dom_string *) (ki), (dom_key_location) (kl), \
- (struct dom_string *) (m))
+ (dom_string *) (ki), (dom_key_location) (kl), \
+ (dom_string *) (m))
#endif