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 2007 John-Mark Bell <jmb@netsurf-browser.org>
  6.  */
  7.  
  8. /** \file
  9.  * This is the top-level header file for libdom. The intention of this is
  10.  * to allow client applications to simply include this file and get access
  11.  * to all the libdom API.
  12.  */
  13.  
  14. #ifndef dom_dom_h_
  15. #define dom_dom_h_
  16.  
  17. /* Base library headers */
  18. #include <dom/functypes.h>
  19.  
  20. /* DOM core headers */
  21. #include <dom/core/attr.h>
  22. #include <dom/core/characterdata.h>
  23. #include <dom/core/document.h>
  24. #include <dom/core/document_type.h>
  25. #include <dom/core/element.h>
  26. #include <dom/core/exceptions.h>
  27. #include <dom/core/implementation.h>
  28. #include <dom/core/namednodemap.h>
  29. #include <dom/core/node.h>
  30. #include <dom/core/cdatasection.h>
  31. #include <dom/core/doc_fragment.h>
  32. #include <dom/core/entity_ref.h>
  33. #include <dom/core/nodelist.h>
  34. #include <dom/core/string.h>
  35. #include <dom/core/text.h>
  36. #include <dom/core/pi.h>
  37. #include <dom/core/typeinfo.h>
  38. #include <dom/core/comment.h>
  39.  
  40. /* DOM HTML headers */
  41. #include <dom/html/html_collection.h>
  42. #include <dom/html/html_document.h>
  43. #include <dom/html/html_element.h>
  44. #include <dom/html/html_html_element.h>
  45. #include <dom/html/html_head_element.h>
  46. #include <dom/html/html_link_element.h>
  47. #include <dom/html/html_title_element.h>
  48. #include <dom/html/html_body_element.h>
  49. #include <dom/html/html_meta_element.h>
  50. #include <dom/html/html_form_element.h>
  51. #include <dom/html/html_input_element.h>
  52. #include <dom/html/html_button_element.h>
  53. #include <dom/html/html_text_area_element.h>
  54. #include <dom/html/html_opt_group_element.h>
  55. #include <dom/html/html_option_element.h>
  56. #include <dom/html/html_select_element.h>
  57.  
  58. /* DOM Events header */
  59. #include <dom/events/events.h>
  60.  
  61. typedef enum dom_namespace {
  62.         DOM_NAMESPACE_NULL    = 0,
  63.         DOM_NAMESPACE_HTML    = 1,
  64.         DOM_NAMESPACE_MATHML  = 2,
  65.         DOM_NAMESPACE_SVG     = 3,
  66.         DOM_NAMESPACE_XLINK   = 4,
  67.         DOM_NAMESPACE_XML     = 5,
  68.         DOM_NAMESPACE_XMLNS   = 6,
  69.  
  70.         DOM_NAMESPACE_COUNT   = 7
  71. } dom_namespace;
  72.  
  73. extern dom_string *dom_namespaces[DOM_NAMESPACE_COUNT];
  74.  
  75. #endif
  76.