diff options
author | portix <portix@gmx.net> | 2013-01-28 23:06:32 +0100 |
---|---|---|
committer | portix <portix@gmx.net> | 2013-01-28 23:06:32 +0100 |
commit | 4f22692289c584a03414b042351725845900d9d5 (patch) | |
tree | b6b6b215b5cc8ef9e399e65e891d1d1b2b6891c7 /src/dom.h | |
parent | 422e28fd748f3c2b0e89aa14614a0ac42c1847fb (diff) | |
download | dwb-4f22692289c584a03414b042351725845900d9d5.zip |
Creating files {dom,editor}.{c,h}; fixing segfault after leaving a site when editor is closed
Diffstat (limited to 'src/dom.h')
-rw-r--r-- | src/dom.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/dom.h b/src/dom.h new file mode 100644 index 00000000..e1b4ed4a --- /dev/null +++ b/src/dom.h @@ -0,0 +1,26 @@ +/* + * Copyright (c) 2010-2013 Stefan Bolte <portix@gmx.net> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +#ifndef DOM_H +#define DOM_H + +gboolean dom_add_frame_listener(WebKitWebFrame *frame, const char *signal, GCallback callback, gboolean bubble, GList *gl); +gboolean dom_get_editable(WebKitDOMElement *element); +WebKitDOMElement * dom_get_active_element(WebKitDOMDocument *doc); +gboolean dom_remove_from_parent(WebKitDOMNode *node, GError **error); +#endif |