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


{-# LINE 1 "./Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.chs" #-}
module Graphics.UI.Gtk.WebKit.DOM.PerformanceTiming(
getNavigationStart,
getUnloadEventStart,
getUnloadEventEnd,
getRedirectStart,
getRedirectEnd,
getFetchStart,
getDomainLookupStart,
getDomainLookupEnd,
getConnectStart,
getConnectEnd,
getSecureConnectionStart,
getRequestStart,
getResponseStart,
getResponseEnd,
getDomLoading,
getDomInteractive,
getDomContentLoadedEventStart,
getDomContentLoadedEventEnd,
getDomComplete,
getLoadEventStart,
getLoadEventEnd,
PerformanceTiming,
castToPerformanceTiming,
gTypePerformanceTiming,
PerformanceTimingClass,
toPerformanceTiming,
) where
import Prelude hiding (drop, error, print)
import Data.Typeable (Typeable)
import Foreign.Marshal (maybePeek, maybeWith)
import System.Glib.FFI (maybeNull, withForeignPtr, nullForeignPtr, Ptr, nullPtr, castPtr, Word, Int64, Word64, CChar(..), CInt(..), CUInt(..), CLong(..), CULong(..), CLLong(..), CULLong(..), CShort(..), CUShort(..), CFloat(..), CDouble(..), toBool, fromBool)
import System.Glib.UTFString (GlibString(..), readUTFString)
import Control.Applicative ((<$>))
import Control.Monad (void)
import Control.Monad.IO.Class (MonadIO(..))
import System.Glib.GError
import Graphics.UI.Gtk.WebKit.DOM.EventTargetClosures
import Graphics.UI.Gtk.WebKit.DOM.EventM
import Graphics.UI.Gtk.WebKit.Types
{-# LINE 43 "./Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.chs" #-}
import Graphics.UI.Gtk.WebKit.DOM.Enums

 
getNavigationStart ::
                   (MonadIO m, PerformanceTimingClass self) => self -> m Word64
getNavigationStart self
  = liftIO
      (fromIntegral <$>
         ((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_navigation_start argPtr1)
{-# LINE 52 "./Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.chs" #-}
            (toPerformanceTiming self)))
 
getUnloadEventStart ::
                    (MonadIO m, PerformanceTimingClass self) => self -> m Word64
getUnloadEventStart self
  = liftIO
      (fromIntegral <$>
         ((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_unload_event_start argPtr1)
{-# LINE 60 "./Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.chs" #-}
            (toPerformanceTiming self)))
 
getUnloadEventEnd ::
                  (MonadIO m, PerformanceTimingClass self) => self -> m Word64
getUnloadEventEnd self
  = liftIO
      (fromIntegral <$>
         ((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_unload_event_end argPtr1)
{-# LINE 68 "./Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.chs" #-}
            (toPerformanceTiming self)))
 
getRedirectStart ::
                 (MonadIO m, PerformanceTimingClass self) => self -> m Word64
getRedirectStart self
  = liftIO
      (fromIntegral <$>
         ((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_redirect_start argPtr1)
{-# LINE 76 "./Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.chs" #-}
            (toPerformanceTiming self)))
 
getRedirectEnd ::
               (MonadIO m, PerformanceTimingClass self) => self -> m Word64
getRedirectEnd self
  = liftIO
      (fromIntegral <$>
         ((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_redirect_end argPtr1)
{-# LINE 84 "./Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.chs" #-}
            (toPerformanceTiming self)))
 
getFetchStart ::
              (MonadIO m, PerformanceTimingClass self) => self -> m Word64
getFetchStart self
  = liftIO
      (fromIntegral <$>
         ((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_fetch_start argPtr1)
{-# LINE 92 "./Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.chs" #-}
            (toPerformanceTiming self)))
 
getDomainLookupStart ::
                     (MonadIO m, PerformanceTimingClass self) => self -> m Word64
getDomainLookupStart self
  = liftIO
      (fromIntegral <$>
         ((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_domain_lookup_start argPtr1)
{-# LINE 100 "./Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.chs" #-}
            (toPerformanceTiming self)))
 
getDomainLookupEnd ::
                   (MonadIO m, PerformanceTimingClass self) => self -> m Word64
getDomainLookupEnd self
  = liftIO
      (fromIntegral <$>
         ((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_domain_lookup_end argPtr1)
{-# LINE 108 "./Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.chs" #-}
            (toPerformanceTiming self)))
 
getConnectStart ::
                (MonadIO m, PerformanceTimingClass self) => self -> m Word64
getConnectStart self
  = liftIO
      (fromIntegral <$>
         ((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_connect_start argPtr1)
{-# LINE 116 "./Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.chs" #-}
            (toPerformanceTiming self)))
 
getConnectEnd ::
              (MonadIO m, PerformanceTimingClass self) => self -> m Word64
getConnectEnd self
  = liftIO
      (fromIntegral <$>
         ((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_connect_end argPtr1)
{-# LINE 124 "./Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.chs" #-}
            (toPerformanceTiming self)))
 
getSecureConnectionStart ::
                         (MonadIO m, PerformanceTimingClass self) => self -> m Word64
getSecureConnectionStart self
  = liftIO
      (fromIntegral <$>
         ((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_secure_connection_start argPtr1)
{-# LINE 133 "./Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.chs" #-}
            (toPerformanceTiming self)))
 
getRequestStart ::
                (MonadIO m, PerformanceTimingClass self) => self -> m Word64
getRequestStart self
  = liftIO
      (fromIntegral <$>
         ((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_request_start argPtr1)
{-# LINE 141 "./Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.chs" #-}
            (toPerformanceTiming self)))
 
getResponseStart ::
                 (MonadIO m, PerformanceTimingClass self) => self -> m Word64
getResponseStart self
  = liftIO
      (fromIntegral <$>
         ((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_response_start argPtr1)
{-# LINE 149 "./Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.chs" #-}
            (toPerformanceTiming self)))
 
getResponseEnd ::
               (MonadIO m, PerformanceTimingClass self) => self -> m Word64
getResponseEnd self
  = liftIO
      (fromIntegral <$>
         ((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_response_end argPtr1)
{-# LINE 157 "./Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.chs" #-}
            (toPerformanceTiming self)))
 
getDomLoading ::
              (MonadIO m, PerformanceTimingClass self) => self -> m Word64
getDomLoading self
  = liftIO
      (fromIntegral <$>
         ((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_dom_loading argPtr1)
{-# LINE 165 "./Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.chs" #-}
            (toPerformanceTiming self)))
 
getDomInteractive ::
                  (MonadIO m, PerformanceTimingClass self) => self -> m Word64
getDomInteractive self
  = liftIO
      (fromIntegral <$>
         ((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_dom_interactive argPtr1)
{-# LINE 173 "./Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.chs" #-}
            (toPerformanceTiming self)))
 
getDomContentLoadedEventStart ::
                              (MonadIO m, PerformanceTimingClass self) => self -> m Word64
getDomContentLoadedEventStart self
  = liftIO
      (fromIntegral <$>
         ((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_dom_content_loaded_event_start argPtr1)
{-# LINE 183 "./Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.chs" #-}
            (toPerformanceTiming self)))
 
getDomContentLoadedEventEnd ::
                            (MonadIO m, PerformanceTimingClass self) => self -> m Word64
getDomContentLoadedEventEnd self
  = liftIO
      (fromIntegral <$>
         ((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_dom_content_loaded_event_end argPtr1)
{-# LINE 193 "./Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.chs" #-}
            (toPerformanceTiming self)))
 
getDomComplete ::
               (MonadIO m, PerformanceTimingClass self) => self -> m Word64
getDomComplete self
  = liftIO
      (fromIntegral <$>
         ((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_dom_complete argPtr1)
{-# LINE 201 "./Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.chs" #-}
            (toPerformanceTiming self)))
 
getLoadEventStart ::
                  (MonadIO m, PerformanceTimingClass self) => self -> m Word64
getLoadEventStart self
  = liftIO
      (fromIntegral <$>
         ((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_load_event_start argPtr1)
{-# LINE 209 "./Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.chs" #-}
            (toPerformanceTiming self)))
 
getLoadEventEnd ::
                (MonadIO m, PerformanceTimingClass self) => self -> m Word64
getLoadEventEnd self
  = liftIO
      (fromIntegral <$>
         ((\(PerformanceTiming arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_performance_timing_get_load_event_end argPtr1)
{-# LINE 217 "./Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.chs" #-}
            (toPerformanceTiming self)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_navigation_start"
  webkit_dom_performance_timing_get_navigation_start :: ((Ptr PerformanceTiming) -> (IO CULong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_unload_event_start"
  webkit_dom_performance_timing_get_unload_event_start :: ((Ptr PerformanceTiming) -> (IO CULong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_unload_event_end"
  webkit_dom_performance_timing_get_unload_event_end :: ((Ptr PerformanceTiming) -> (IO CULong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_redirect_start"
  webkit_dom_performance_timing_get_redirect_start :: ((Ptr PerformanceTiming) -> (IO CULong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_redirect_end"
  webkit_dom_performance_timing_get_redirect_end :: ((Ptr PerformanceTiming) -> (IO CULong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_fetch_start"
  webkit_dom_performance_timing_get_fetch_start :: ((Ptr PerformanceTiming) -> (IO CULong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_domain_lookup_start"
  webkit_dom_performance_timing_get_domain_lookup_start :: ((Ptr PerformanceTiming) -> (IO CULong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_domain_lookup_end"
  webkit_dom_performance_timing_get_domain_lookup_end :: ((Ptr PerformanceTiming) -> (IO CULong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_connect_start"
  webkit_dom_performance_timing_get_connect_start :: ((Ptr PerformanceTiming) -> (IO CULong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_connect_end"
  webkit_dom_performance_timing_get_connect_end :: ((Ptr PerformanceTiming) -> (IO CULong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_secure_connection_start"
  webkit_dom_performance_timing_get_secure_connection_start :: ((Ptr PerformanceTiming) -> (IO CULong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_request_start"
  webkit_dom_performance_timing_get_request_start :: ((Ptr PerformanceTiming) -> (IO CULong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_response_start"
  webkit_dom_performance_timing_get_response_start :: ((Ptr PerformanceTiming) -> (IO CULong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_response_end"
  webkit_dom_performance_timing_get_response_end :: ((Ptr PerformanceTiming) -> (IO CULong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_dom_loading"
  webkit_dom_performance_timing_get_dom_loading :: ((Ptr PerformanceTiming) -> (IO CULong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_dom_interactive"
  webkit_dom_performance_timing_get_dom_interactive :: ((Ptr PerformanceTiming) -> (IO CULong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_dom_content_loaded_event_start"
  webkit_dom_performance_timing_get_dom_content_loaded_event_start :: ((Ptr PerformanceTiming) -> (IO CULong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_dom_content_loaded_event_end"
  webkit_dom_performance_timing_get_dom_content_loaded_event_end :: ((Ptr PerformanceTiming) -> (IO CULong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_dom_complete"
  webkit_dom_performance_timing_get_dom_complete :: ((Ptr PerformanceTiming) -> (IO CULong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_load_event_start"
  webkit_dom_performance_timing_get_load_event_start :: ((Ptr PerformanceTiming) -> (IO CULong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/PerformanceTiming.h webkit_dom_performance_timing_get_load_event_end"
  webkit_dom_performance_timing_get_load_event_end :: ((Ptr PerformanceTiming) -> (IO CULong))