package body MSHTML.DispDOMProgressEvent_Object is

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

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

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

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

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

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

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

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

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

   procedure preventDefault
     (This : DispDOMProgressEvent_Type)
   is
   begin
      Invoke (This, DispDOMProgressEvent_preventDefault);
   end preventDefault;

   procedure stopPropagation
     (This : DispDOMProgressEvent_Type)
   is
   begin
      Invoke (This, DispDOMProgressEvent_stopPropagation);
   end stopPropagation;

   procedure stopImmediatePropagation
     (This : DispDOMProgressEvent_Type)
   is
   begin
      Invoke (This, DispDOMProgressEvent_stopImmediatePropagation);
   end stopImmediatePropagation;

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

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

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

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

   function Get_lengthComputable
     (This : DispDOMProgressEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMProgressEvent_Get_lengthComputable);
   end Get_lengthComputable;

   function Get_loaded
     (This : DispDOMProgressEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMProgressEvent_Get_loaded);
   end Get_loaded;

   function Get_total
     (This : DispDOMProgressEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMProgressEvent_Get_total);
   end Get_total;

   procedure initProgressEvent
     (This                : DispDOMProgressEvent_Type;
      eventType           : GNATCOM.Types.VARIANT;
      canBubble           : GNATCOM.Types.VARIANT;
      cancelable          : GNATCOM.Types.VARIANT;
      lengthComputableArg : GNATCOM.Types.VARIANT;
      loadedArg           : GNATCOM.Types.VARIANT;
      totalArg            : GNATCOM.Types.VARIANT;
      Free                : Boolean := True)
   is
   begin
      Invoke
        (This,
         DispDOMProgressEvent_initProgressEvent,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => totalArg,
          2 => loadedArg,
          3 => lengthComputableArg,
          4 => cancelable,
          5 => canBubble,
          6 => eventType),
         Free);
   end initProgressEvent;

end MSHTML.DispDOMProgressEvent_Object;

