with GNATCOM.Dispinterface;

package MSHTML.IDOMMessageEvent_Interface is

   type IDOMMessageEvent_Type is
     new GNATCOM.Dispinterface.Dispinterface_Type with null record;

   procedure Initialize (This : in out IDOMMessageEvent_Type);

   function Pointer (This : IDOMMessageEvent_Type)
     return Pointer_To_IDOMMessageEvent;

   procedure Attach (This    : in out IDOMMessageEvent_Type;
                     Pointer : in     Pointer_To_IDOMMessageEvent);

   function Get_data
     (This : IDOMMessageEvent_Type)
     return GNATCOM.Types.BSTR;

   function Get_origin
     (This : IDOMMessageEvent_Type)
     return GNATCOM.Types.BSTR;

   function Get_source
     (This : IDOMMessageEvent_Type)
     return Pointer_To_IHTMLWindow2;

   procedure initMessageEvent
     (This        : IDOMMessageEvent_Type;
      eventType   : GNATCOM.Types.BSTR;
      canBubble   : GNATCOM.Types.VARIANT_BOOL;
      cancelable  : GNATCOM.Types.VARIANT_BOOL;
      data        : GNATCOM.Types.BSTR;
      origin      : GNATCOM.Types.BSTR;
      lastEventId : GNATCOM.Types.BSTR;
      source      : Pointer_To_IHTMLWindow2;
      Free        : Boolean := True);

end MSHTML.IDOMMessageEvent_Interface;

