with GNATCOM.IInterface;

with GNATCOM.Errors;

package body MSHTML.ISVGAnimatedPoints_Interface is

   procedure Initialize (This : in out ISVGAnimatedPoints_Type) is
   begin
      Set_IID (This, IID_ISVGAnimatedPoints);
   end Initialize;

   function Pointer (This : ISVGAnimatedPoints_Type)
     return Pointer_To_ISVGAnimatedPoints
   is
   begin
      return To_Pointer_To_ISVGAnimatedPoints (Address (This));
   end Pointer;

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

   procedure PutRef_points
     (This : ISVGAnimatedPoints_Type;
      p    : Pointer_To_ISVGPointList)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.PutRef_points
         (Pointer (This),
          p));

   end PutRef_points;

   function Get_points
     (This : ISVGAnimatedPoints_Type)
     return Pointer_To_ISVGPointList
   is
       RetVal : aliased Pointer_To_ISVGPointList;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_points
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_points;

   procedure PutRef_animatedPoints
     (This : ISVGAnimatedPoints_Type;
      p    : Pointer_To_ISVGPointList)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.PutRef_animatedPoints
         (Pointer (This),
          p));

   end PutRef_animatedPoints;

   function Get_animatedPoints
     (This : ISVGAnimatedPoints_Type)
     return Pointer_To_ISVGPointList
   is
       RetVal : aliased Pointer_To_ISVGPointList;
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Get_animatedPoints
         (Pointer (This),
          RetVal'Unchecked_Access));

      return RetVal;
   end Get_animatedPoints;

end MSHTML.ISVGAnimatedPoints_Interface;

