package body MSHTML.DispDOMSiteModeEvent_Object is

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

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

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

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

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

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

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

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

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

   procedure preventDefault
     (This : DispDOMSiteModeEvent_Type)
   is
   begin
      Invoke (This, DispDOMSiteModeEvent_preventDefault);
   end preventDefault;

   procedure stopPropagation
     (This : DispDOMSiteModeEvent_Type)
   is
   begin
      Invoke (This, DispDOMSiteModeEvent_stopPropagation);
   end stopPropagation;

   procedure stopImmediatePropagation
     (This : DispDOMSiteModeEvent_Type)
   is
   begin
      Invoke (This, DispDOMSiteModeEvent_stopImmediatePropagation);
   end stopImmediatePropagation;

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

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

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

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

   function Get_buttonID
     (This : DispDOMSiteModeEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMSiteModeEvent_Get_buttonID);
   end Get_buttonID;

   function Get_actionURL
     (This : DispDOMSiteModeEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, DispDOMSiteModeEvent_Get_actionURL);
   end Get_actionURL;

end MSHTML.DispDOMSiteModeEvent_Object;

