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@gmail.com>
  6.  */
  7.  
  8. #ifndef dom_interntal_events_mutation_name_event_h_
  9. #define dom_interntal_events_mutation_name_event_h_
  10.  
  11. #include <dom/events/mutation_name_event.h>
  12.  
  13. #include "events/mutation_event.h"
  14.  
  15. /**
  16.  * The MutationName event
  17.  */
  18. struct dom_mutation_name_event {
  19.         struct dom_mutation_event base;
  20.  
  21.         dom_string *prev_namespace;
  22.         dom_string *prev_nodename;
  23. };
  24.  
  25. /* Constructor */
  26. dom_exception _dom_mutation_name_event_create(struct dom_document *doc,
  27.                 struct dom_mutation_name_event **evt);
  28.  
  29. /* Destructor */
  30. void _dom_mutation_name_event_destroy(struct dom_mutation_name_event *evt);
  31.  
  32. /* Initialise function */
  33. dom_exception _dom_mutation_name_event_initialise(struct dom_document *doc,
  34.                 struct dom_mutation_name_event *evt);
  35.  
  36. /* Finalise function */
  37. void _dom_mutation_name_event_finalise(struct dom_mutation_name_event *evt);
  38.  
  39. #endif
  40.  
  41.