summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorrsk1994 <rsk1coder99@gmail.com>2014-05-01 08:14:33 +0530
committerrsk1994 <rsk1coder99@gmail.com>2014-05-01 08:14:33 +0530
commit23349bc58f238d7b1ecb28d9d344c06fae6650fa (patch)
treeda74c7bd95c88187381b2f07e7c4510bb2551480 /include
parentf15dc7a2bbf364bbea0ba5df2fa1b10dcd476c3c (diff)
downloadlibdom-23349bc58f238d7b1ecb28d9d344c06fae6650fa.tar.gz
libdom-23349bc58f238d7b1ecb28d9d344c06fae6650fa.tar.bz2
Menu Element
Diffstat (limited to 'include')
-rw-r--r--include/dom/dom.h1
-rw-r--r--include/dom/html/html_menu_element.h16
2 files changed, 17 insertions, 0 deletions
diff --git a/include/dom/dom.h b/include/dom/dom.h
index 0b727af..38bb996 100644
--- a/include/dom/dom.h
+++ b/include/dom/dom.h
@@ -58,6 +58,7 @@
#include <dom/html/html_hr_element.h>
#include <dom/html/html_dlist_element.h>
#include <dom/html/html_directory_element.h>
+#include <dom/html/html_menu_element.h>
/* DOM Events header */
#include <dom/events/events.h>
diff --git a/include/dom/html/html_menu_element.h b/include/dom/html/html_menu_element.h
index 2e182d5..f4dad74 100644
--- a/include/dom/html/html_menu_element.h
+++ b/include/dom/html/html_menu_element.h
@@ -3,5 +3,21 @@
* Licensed under the MIT License,
* http://www.opensource.org/licenses/mit-license.php
* Copyright 2009 Bo Yang <struggleyb.nku@gmail.com>
+ * Copyright 2014 Rupinder Singh Khokhar <rsk1coder99@gmail.com>
*/
+#ifndef dom_html_menu_element_h_
+#define dom_html_menu_element_h_
+#include <stdbool.h>
+#include <dom/core/exceptions.h>
+#include <dom/core/string.h>
+
+typedef struct dom_html_menu_element dom_html_menu_element;
+
+dom_exception dom_html_menu_element_get_compact(
+ dom_html_menu_element *ele, bool *compact);
+
+dom_exception dom_html_menu_element_set_compact(
+ dom_html_menu_element *ele, bool compact);
+
+#endif