with GNATCOM.IInterface;

with GNATCOM.Errors;

package body MSHTML.ISVGAnimatedBoolean_Interface is

   procedure Initialize (This : in out ISVGAnimatedBoolean_Type) is
   begin
      Set_IID (This, IID_ISVGAnimatedBoolean);
   end Initialize;

   function Pointer (This : ISVGAnimatedBoolean_Type)
     return Pointer_To_ISVGAnimatedBoolean
   is
   begin
      return To_Pointer_To_ISVGAnimatedBoolean (Address (This));
   end Pointer;

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

   procedure Put_baseVal
     (This : ISVGAnimatedBoolean_Type;
      p    : GNATCOM.Types.VARIANT_BOOL)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Put_baseVal
         (Pointer (This),
          p));

   end Put_baseVal;

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

      return RetVal;
   end Get_baseVal;

   procedure Put_animVal
     (This : ISVGAnimatedBoolean_Type;
      p    : GNATCOM.Types.VARIANT_BOOL)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Put_animVal
         (Pointer (This),
          p));

   end Put_animVal;

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

      return RetVal;
   end Get_animVal;

end MSHTML.ISVGAnimatedBoolean_Interface;

