with GNATCOM.Events.Event_Object;
with GNATCOM.Create.COM_Interface;
with GNATCOM.IInterface;

package MSHTML.DWebBridgeEvents_Events is

   type DWebBridgeEvents_Event is
     new GNATCOM.Events.Event_Object.Event_Type with null record;

   function Create (From : in GNATCOM.Events.Event_Object.Event_Pointer)
     return GNATCOM.Create.COM_Interface.Pointer_To_COM_Interface_Type;

   procedure Set_Events
     (This            : in out GNATCOM.Events.IConnectionPoint_Type;
      For_Object      : in     GNATCOM.IInterface.Interface_Type'Class;
      Event_Interface :
        access GNATCOM.Create.COM_Interface.COM_Interface_Type;
      Free            : Boolean := True);

   procedure onscriptletevent
     (This      : DWebBridgeEvents_Event;
      name      : GNATCOM.Types.VARIANT;
      eventData : GNATCOM.Types.VARIANT);

   procedure onreadystatechange
     (This : DWebBridgeEvents_Event);

   procedure onclick
     (This : DWebBridgeEvents_Event);

   procedure ondblclick
     (This : DWebBridgeEvents_Event);

   procedure onkeydown
     (This : DWebBridgeEvents_Event);

   procedure onkeyup
     (This : DWebBridgeEvents_Event);

   procedure onkeypress
     (This : DWebBridgeEvents_Event);

   procedure onmousedown
     (This : DWebBridgeEvents_Event);

   procedure onmousemove
     (This : DWebBridgeEvents_Event);

   procedure onmouseup
     (This : DWebBridgeEvents_Event);

end MSHTML.DWebBridgeEvents_Events;

