-- GENERATED by C->Haskell Compiler, version 0.13.12 (gtk2hs branch) "Bin IO", 27 May 2012 (Haskell)
-- Edit the ORIGNAL .chs file instead!


{-# LINE 1 "./Graphics/UI/Gtk/WebKit/DOM/Geolocation.chs" #-}
module Graphics.UI.Gtk.WebKit.DOM.Geolocation
       (geolocationClearWatch, Geolocation, GeolocationClass,
        castToGeolocation, gTypeGeolocation, toGeolocation)
       where
import System.Glib.FFI
import System.Glib.UTFString
import Control.Applicative
import Graphics.UI.Gtk.WebKit.Types
{-# LINE 8 "./Graphics/UI/Gtk/WebKit/DOM/Geolocation.chs" #-}
import System.Glib.GError
import Graphics.UI.Gtk.WebKit.DOM.EventM
 
geolocationClearWatch ::
                      (GeolocationClass self) => self -> Int -> IO ()
geolocationClearWatch self watchID
  = (\(Geolocation arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_geolocation_clear_watch argPtr1 arg2)
{-# LINE 15 "./Graphics/UI/Gtk/WebKit/DOM/Geolocation.chs" #-}
      (toGeolocation self)
      (fromIntegral watchID)

foreign import ccall safe "webkit_dom_geolocation_clear_watch"
  webkit_dom_geolocation_clear_watch :: ((Ptr Geolocation) -> (CLong -> (IO ())))