with GNATCOM.Dispinterface;

package MSHTML.IHTMLDOMTextNode_Interface is

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

   procedure Initialize (This : in out IHTMLDOMTextNode_Type);

   function Pointer (This : IHTMLDOMTextNode_Type)
     return Pointer_To_IHTMLDOMTextNode;

   procedure Attach (This    : in out IHTMLDOMTextNode_Type;
                     Pointer : in     Pointer_To_IHTMLDOMTextNode);

   procedure Put_data
     (This : IHTMLDOMTextNode_Type;
      p    : GNATCOM.Types.BSTR;
      Free : Boolean := True);

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

   function toString
     (This   : IHTMLDOMTextNode_Type)
     return GNATCOM.Types.BSTR;

   function Get_length
     (This : IHTMLDOMTextNode_Type)
     return Interfaces.C.long;

   function splitText
     (This     : IHTMLDOMTextNode_Type;
      offset   : Interfaces.C.long)
     return Pointer_To_IHTMLDOMNode;

end MSHTML.IHTMLDOMTextNode_Interface;

