package body MSHTML.DispDOMMutationEvent_Object is

   function Get_bubbles
     (This : DispDOMMutationEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMMutationEvent_Get_bubbles);
   end Get_bubbles;

   function Get_cancelable
     (This : DispDOMMutationEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMMutationEvent_Get_cancelable);
   end Get_cancelable;

   function Get_currentTarget
     (This : DispDOMMutationEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMMutationEvent_Get_currentTarget);
   end Get_currentTarget;

   function Get_defaultPrevented
     (This : DispDOMMutationEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMMutationEvent_Get_defaultPrevented);
   end Get_defaultPrevented;

   function Get_eventPhase
     (This : DispDOMMutationEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMMutationEvent_Get_eventPhase);
   end Get_eventPhase;

   function Get_target
     (This : DispDOMMutationEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMMutationEvent_Get_target);
   end Get_target;

   function Get_timeStamp
     (This : DispDOMMutationEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMMutationEvent_Get_timeStamp);
   end Get_timeStamp;

   function Get_type
     (This : DispDOMMutationEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMMutationEvent_Get_type);
   end Get_type;

   procedure initEvent
     (This       : DispDOMMutationEvent_Type;
      eventType  : GNATCOM.Types.VARIANT;
      canBubble  : GNATCOM.Types.VARIANT;
      cancelable : GNATCOM.Types.VARIANT;
      Free       : Boolean := True)
   is
   begin
      Invoke
        (This,
         DispDOMMutationEvent_initEvent,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => cancelable,
          2 => canBubble,
          3 => eventType),
         Free);
   end initEvent;

   procedure preventDefault
     (This : DispDOMMutationEvent_Type)
   is
   begin
      Invoke (This, DispDOMMutationEvent_preventDefault);
   end preventDefault;

   procedure stopPropagation
     (This : DispDOMMutationEvent_Type)
   is
   begin
      Invoke (This, DispDOMMutationEvent_stopPropagation);
   end stopPropagation;

   procedure stopImmediatePropagation
     (This : DispDOMMutationEvent_Type)
   is
   begin
      Invoke (This, DispDOMMutationEvent_stopImmediatePropagation);
   end stopImmediatePropagation;

   function Get_isTrusted
     (This : DispDOMMutationEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMMutationEvent_Get_isTrusted);
   end Get_isTrusted;

   procedure Put_cancelBubble
     (This : DispDOMMutationEvent_Type;
      P1   : GNATCOM.Types.VARIANT;
      Free : Boolean := True)
   is
   begin
      Put
        (This,
         DispDOMMutationEvent_Put_cancelBubble,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => P1),
         Free);
   end Put_cancelBubble;

   function Get_cancelBubble
     (This : DispDOMMutationEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMMutationEvent_Get_cancelBubble);
   end Get_cancelBubble;

   function Get_srcElement
     (This : DispDOMMutationEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMMutationEvent_Get_srcElement);
   end Get_srcElement;

   function Get_relatedNode
     (This : DispDOMMutationEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMMutationEvent_Get_relatedNode);
   end Get_relatedNode;

   function Get_prevValue
     (This : DispDOMMutationEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMMutationEvent_Get_prevValue);
   end Get_prevValue;

   function Get_newValue
     (This : DispDOMMutationEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMMutationEvent_Get_newValue);
   end Get_newValue;

   function Get_attrName
     (This : DispDOMMutationEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMMutationEvent_Get_attrName);
   end Get_attrName;

   function Get_attrChange
     (This : DispDOMMutationEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMMutationEvent_Get_attrChange);
   end Get_attrChange;

   procedure initMutationEvent
     (This           : DispDOMMutationEvent_Type;
      eventType      : GNATCOM.Types.VARIANT;
      canBubble      : GNATCOM.Types.VARIANT;
      cancelable     : GNATCOM.Types.VARIANT;
      relatedNodeArg : GNATCOM.Types.VARIANT;
      prevValueArg   : GNATCOM.Types.VARIANT;
      newValueArg    : GNATCOM.Types.VARIANT;
      attrNameArg    : GNATCOM.Types.VARIANT;
      attrChangeArg  : GNATCOM.Types.VARIANT;
      Free           : Boolean := True)
   is
   begin
      Invoke
        (This,
         DispDOMMutationEvent_initMutationEvent,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => attrChangeArg,
          2 => attrNameArg,
          3 => newValueArg,
          4 => prevValueArg,
          5 => relatedNodeArg,
          6 => cancelable,
          7 => canBubble,
          8 => eventType),
         Free);
   end initMutationEvent;

end MSHTML.DispDOMMutationEvent_Object;

