with GNATCOM.Dispinterface;

package MSHTML.DispWebGeolocation_Object is

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

   procedure getCurrentPosition
     (This            : DispWebGeolocation_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            : DispWebGeolocation_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    : DispWebGeolocation_Type;
      watchId : GNATCOM.Types.VARIANT;
      Free    : Boolean := True);

end MSHTML.DispWebGeolocation_Object;

