Subversion Repositories Kolibri OS

Rev

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

  1. /* Binding to generate event interface
  2.  *
  3.  * Copyright 2012 Vincent Sanders <vince@netsurf-browser.org>
  4.  *
  5.  * This file is part of NetSurf, http://www.netsurf-browser.org/
  6.  *
  7.  * Released under the terms of the MIT License,
  8.  *         http://www.opensource.org/licenses/mit-license
  9.  */
  10.  
  11. webidlfile "dom.idl";
  12.  
  13. hdrcomment "Copyright 2012 Vincent Sanders <vince@netsurf-browser.org>";
  14. hdrcomment "This file is part of NetSurf, http://www.netsurf-browser.org/";
  15. hdrcomment "Released under the terms of the MIT License,";
  16. hdrcomment "        http://www.opensource.org/licenses/mit-license";
  17.  
  18. preamble %{
  19. #include <stdlib.h>
  20.  
  21. #include <dom/dom.h>
  22.        
  23. #include "utils/config.h"
  24. #include "utils/log.h"
  25. #include "javascript/jsapi.h"
  26.  
  27. #include "event.h"
  28.  
  29. %}
  30.  
  31. binding node {
  32.     type js_libdom; /* the binding type */
  33.  
  34.     interface Event; /* Web IDL interface to generate */
  35.  
  36.     private "dom_event *" event;
  37. }
  38.