with GNATCOM.IInterface;

with GNATCOM.Errors;

package body MSHTML.ISVGAnimatedLengthList_Interface is

   procedure Initialize (This : in out ISVGAnimatedLengthList_Type) is
   begin
      Set_IID (This, IID_ISVGAnimatedLengthList);
   end Initialize;

   function Pointer (This : ISVGAnimatedLengthList_Type)
     return Pointer_To_ISVGAnimatedLengthList
   is
   begin
      return To_Pointer_To_ISVGAnimatedLengthList (Address (This));
   end Pointer;

   procedure Attach (This    : in out ISVGAnimatedLengthList_Type;
                     Pointer : in     Pointer_To_ISVGAnimatedLengthList)
   is
   begin
      Attach (This, GNATCOM.IInterface.To_Pointer_To_IUnknown
              (Pointer.all'Address));
   end Attach;

   procedure PutRef_baseVal
     (This : ISVGAnimatedLengthList_Type;
      p    : Pointer_To_ISVGLengthList)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.PutRef_baseVal
         (Pointer (This),
          p));

   end PutRef_baseVal;

   function Get_baseVal
     (This : ISVGAnimatedLengthList_Type)
     return Pointer_To_ISVGLengthList
   is
       RetVal : aliased Pointer_To_ISVGLengthList;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_baseVal
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_baseVal;

   procedure PutRef_animVal
     (This : ISVGAnimatedLengthList_Type;
      p    : Pointer_To_ISVGLengthList)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.PutRef_animVal
         (Pointer (This),
          p));

   end PutRef_animVal;

   function Get_animVal
     (This : ISVGAnimatedLengthList_Type)
     return Pointer_To_ISVGLengthList
   is
       RetVal : aliased Pointer_To_ISVGLengthList;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_animVal
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_animVal;

end MSHTML.ISVGAnimatedLengthList_Interface;

