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 2009 Bo Yang <struggleyb.nku.com>
  6.  */
  7.  
  8. #ifndef dom_html_form_element_h_
  9. #define dom_html_form_element_h_
  10.  
  11. #include <dom/core/exceptions.h>
  12. #include <dom/core/string.h>
  13.  
  14. struct dom_html_collection;
  15.  
  16. typedef struct dom_html_form_element dom_html_form_element;
  17.  
  18. dom_exception dom_html_form_element_get_elements(dom_html_form_element *ele,
  19.                 struct dom_html_collection **col);
  20. dom_exception dom_html_form_element_get_length(dom_html_form_element *ele,
  21.                 uint32_t *len);
  22.  
  23. dom_exception dom_html_form_element_get_accept_charset(
  24.         dom_html_form_element *ele, dom_string **accept_charset);
  25.  
  26. dom_exception dom_html_form_element_set_accept_charset(
  27.         dom_html_form_element *ele, dom_string *accept_charset);
  28.  
  29. dom_exception dom_html_form_element_get_action(
  30.         dom_html_form_element *ele, dom_string **action);
  31.  
  32. dom_exception dom_html_form_element_set_action(
  33.         dom_html_form_element *ele, dom_string *action);
  34.  
  35. dom_exception dom_html_form_element_get_enctype(
  36.         dom_html_form_element *ele, dom_string **enctype);
  37.  
  38. dom_exception dom_html_form_element_set_enctype(
  39.         dom_html_form_element *ele, dom_string *enctype);
  40.  
  41. dom_exception dom_html_form_element_get_method(
  42.         dom_html_form_element *ele, dom_string **method);
  43.  
  44. dom_exception dom_html_form_element_set_method(
  45.         dom_html_form_element *ele, dom_string *method);
  46.  
  47. dom_exception dom_html_form_element_get_target(
  48.         dom_html_form_element *ele, dom_string **target);
  49.  
  50. dom_exception dom_html_form_element_set_target(
  51.         dom_html_form_element *ele, dom_string *target);
  52.  
  53. dom_exception dom_html_form_element_submit(dom_html_form_element *ele);
  54. dom_exception dom_html_form_element_reset(dom_html_form_element *ele);
  55.  
  56. #endif
  57.  
  58.