with GNATCOM.Dispinterface;

package MSHTML.IWebGeolocation_Object is

   type IWebGeolocation_Type is
     new GNATCOM.Dispinterface.Dispinterface_Type with null record;

   procedure getCurrentPosition
     (This            : IWebGeolocation_Type;
      successCallback : GNATCOM.Types.VARIANT;
      errorCallback   : GNATCOM.Types.VARIANT
        := GNATCOM.Types.VARIANT_MISSING;
      options         : GNATCOM.Types.VARIANT
        := GNATCOM.Types.VARIANT_MISSING;
      Free            : Boolean := True);

   function watchPosition
     (This            : IWebGeolocation_Type;
      successCallback : GNATCOM.Types.VARIANT;
      errorCallback   : GNATCOM.Types.VARIANT
        := GNATCOM.Types.VARIANT_MISSING;
      options         : GNATCOM.Types.VARIANT
        := GNATCOM.Types.VARIANT_MISSING;
      Free            : Boolean := True)
     return GNATCOM.Types.VARIANT;

   procedure clearWatch
     (This    : IWebGeolocation_Type;
      watchId : GNATCOM.Types.VARIANT;
      Free    : Boolean := True);

end MSHTML.IWebGeolocation_Object;

