Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  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 2012 Daniel Silverstone <dsilvers@netsurf-browser.org>
  6.  */
  7.  
  8. #ifndef dom_html_opt_group_element_h_
  9. #define dom_html_opt_group_element_h_
  10.  
  11. #include <stdbool.h>
  12. #include <dom/core/exceptions.h>
  13. #include <dom/core/string.h>
  14. #include <dom/html/html_form_element.h>
  15.  
  16. typedef struct dom_html_opt_group_element dom_html_opt_group_element;
  17.  
  18. dom_exception dom_html_opt_group_element_get_form(
  19.         dom_html_opt_group_element *opt_group, dom_html_form_element **form);
  20.  
  21. dom_exception dom_html_opt_group_element_get_disabled(
  22.         dom_html_opt_group_element *opt_group, bool *disabled);
  23.  
  24. dom_exception dom_html_opt_group_element_set_disabled(
  25.         dom_html_opt_group_element *opt_group, bool disabled);
  26.  
  27. dom_exception dom_html_opt_group_element_get_label(
  28.         dom_html_opt_group_element *opt_group, dom_string **label);
  29.  
  30. dom_exception dom_html_opt_group_element_set_label(
  31.         dom_html_opt_group_element *opt_group, dom_string *label);
  32.  
  33. #endif
  34.