package body MSHTML.DispDOMCloseEvent_Object is

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

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

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

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

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

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

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

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

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

   procedure preventDefault
     (This : DispDOMCloseEvent_Type)
   is
   begin
      Invoke (This, DispDOMCloseEvent_preventDefault);
   end preventDefault;

   procedure stopPropagation
     (This : DispDOMCloseEvent_Type)
   is
   begin
      Invoke (This, DispDOMCloseEvent_stopPropagation);
   end stopPropagation;

   procedure stopImmediatePropagation
     (This : DispDOMCloseEvent_Type)
   is
   begin
      Invoke (This, DispDOMCloseEvent_stopImmediatePropagation);
   end stopImmediatePropagation;

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

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

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

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

   function Get_wasClean
     (This : DispDOMCloseEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMCloseEvent_Get_wasClean);
   end Get_wasClean;

   procedure initCloseEvent
     (This       : DispDOMCloseEvent_Type;
      eventType  : GNATCOM.Types.VARIANT;
      canBubble  : GNATCOM.Types.VARIANT;
      cancelable : GNATCOM.Types.VARIANT;
      wasClean   : GNATCOM.Types.VARIANT;
      code       : GNATCOM.Types.VARIANT;
      reason     : GNATCOM.Types.VARIANT;
      Free       : Boolean := True)
   is
   begin
      Invoke
        (This,
         DispDOMCloseEvent_initCloseEvent,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => reason,
          2 => code,
          3 => wasClean,
          4 => cancelable,
          5 => canBubble,
          6 => eventType),
         Free);
   end initCloseEvent;

end MSHTML.DispDOMCloseEvent_Object;

