with GNATCOM.IInterface;

with GNATCOM.Errors;

package body MSHTML.ISVGAnimatedLength_Interface is

   procedure Initialize (This : in out ISVGAnimatedLength_Type) is
   begin
      Set_IID (This, IID_ISVGAnimatedLength);
   end Initialize;

   function Pointer (This : ISVGAnimatedLength_Type)
     return Pointer_To_ISVGAnimatedLength
   is
   begin
      return To_Pointer_To_ISVGAnimatedLength (Address (This));
   end Pointer;

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

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

   end PutRef_baseVal;

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

      return RetVal;
   end Get_baseVal;

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

   end PutRef_animVal;

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

      return RetVal;
   end Get_animVal;

end MSHTML.ISVGAnimatedLength_Interface;

