with GNATCOM.Dispinterface;

package MSHTML.IHTMLNamespace_Interface is

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

   procedure Initialize (This : in out IHTMLNamespace_Type);

   function Pointer (This : IHTMLNamespace_Type)
     return Pointer_To_IHTMLNamespace;

   procedure Attach (This    : in out IHTMLNamespace_Type;
                     Pointer : in     Pointer_To_IHTMLNamespace);

   function Get_name
     (This : IHTMLNamespace_Type)
     return GNATCOM.Types.BSTR;

   function Get_urn
     (This : IHTMLNamespace_Type)
     return GNATCOM.Types.BSTR;

   function Get_tagNames
     (This : IHTMLNamespace_Type)
     return GNATCOM.Types.Pointer_To_IDispatch;

   function Get_readyState
     (This : IHTMLNamespace_Type)
     return GNATCOM.Types.VARIANT;

   procedure Put_onreadystatechange
     (This : IHTMLNamespace_Type;
      p    : GNATCOM.Types.VARIANT;
      Free : Boolean := True);

   function Get_onreadystatechange
     (This : IHTMLNamespace_Type)
     return GNATCOM.Types.VARIANT;

   procedure doImport
     (This                  : IHTMLNamespace_Type;
      bstrImplementationUrl : GNATCOM.Types.BSTR;
      Free                  : Boolean := True);

   function attachEvent
     (This     : IHTMLNamespace_Type;
      event    : GNATCOM.Types.BSTR;
      pdisp    : GNATCOM.Types.Pointer_To_IDispatch;
      Free     : Boolean := True)
     return GNATCOM.Types.VARIANT_BOOL;

   procedure detachEvent
     (This  : IHTMLNamespace_Type;
      event : GNATCOM.Types.BSTR;
      pdisp : GNATCOM.Types.Pointer_To_IDispatch;
      Free  : Boolean := True);

end MSHTML.IHTMLNamespace_Interface;

