with GNATCOM.IInterface;

with GNATCOM.Errors;

package body MSHTML.ISVGAnimatedNumberList_Interface is

   procedure Initialize (This : in out ISVGAnimatedNumberList_Type) is
   begin
      Set_IID (This, IID_ISVGAnimatedNumberList);
   end Initialize;

   function Pointer (This : ISVGAnimatedNumberList_Type)
     return Pointer_To_ISVGAnimatedNumberList
   is
   begin
      return To_Pointer_To_ISVGAnimatedNumberList (Address (This));
   end Pointer;

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

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

   end PutRef_baseVal;

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

      return RetVal;
   end Get_baseVal;

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

   end PutRef_animVal;

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

      return RetVal;
   end Get_animVal;

end MSHTML.ISVGAnimatedNumberList_Interface;

