-- 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/ValidityState.chs" #-}
module Graphics.UI.Gtk.WebKit.DOM.ValidityState
       (validityStateGetValueMissing, validityStateGetTypeMismatch,
        validityStateGetPatternMismatch, validityStateGetTooLong,
        validityStateGetRangeUnderflow, validityStateGetRangeOverflow,
        validityStateGetStepMismatch,
        validityStateGetBadInput,
        validityStateGetCustomError, validityStateGetValid, ValidityState,
        ValidityStateClass, castToValidityState, gTypeValidityState,
        toValidityState)
       where
import System.Glib.FFI
import System.Glib.UTFString
import Control.Applicative
import Graphics.UI.Gtk.WebKit.Types
{-# LINE 16 "./Graphics/UI/Gtk/WebKit/DOM/ValidityState.chs" #-}
import System.Glib.GError
import Graphics.UI.Gtk.WebKit.DOM.EventM
 
validityStateGetValueMissing ::
                             (ValidityStateClass self) => self -> IO Bool
validityStateGetValueMissing self
  = toBool <$>
      ((\(ValidityState arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_validity_state_get_value_missing argPtr1)
{-# LINE 24 "./Graphics/UI/Gtk/WebKit/DOM/ValidityState.chs" #-}
         (toValidityState self))
 
validityStateGetTypeMismatch ::
                             (ValidityStateClass self) => self -> IO Bool
validityStateGetTypeMismatch self
  = toBool <$>
      ((\(ValidityState arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_validity_state_get_type_mismatch argPtr1)
{-# LINE 31 "./Graphics/UI/Gtk/WebKit/DOM/ValidityState.chs" #-}
         (toValidityState self))
 
validityStateGetPatternMismatch ::
                                (ValidityStateClass self) => self -> IO Bool
validityStateGetPatternMismatch self
  = toBool <$>
      ((\(ValidityState arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_validity_state_get_pattern_mismatch argPtr1)
{-# LINE 38 "./Graphics/UI/Gtk/WebKit/DOM/ValidityState.chs" #-}
         (toValidityState self))
 
validityStateGetTooLong ::
                        (ValidityStateClass self) => self -> IO Bool
validityStateGetTooLong self
  = toBool <$>
      ((\(ValidityState arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_validity_state_get_too_long argPtr1)
{-# LINE 45 "./Graphics/UI/Gtk/WebKit/DOM/ValidityState.chs" #-}
         (toValidityState self))
 
validityStateGetRangeUnderflow ::
                               (ValidityStateClass self) => self -> IO Bool
validityStateGetRangeUnderflow self
  = toBool <$>
      ((\(ValidityState arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_validity_state_get_range_underflow argPtr1)
{-# LINE 52 "./Graphics/UI/Gtk/WebKit/DOM/ValidityState.chs" #-}
         (toValidityState self))
 
validityStateGetRangeOverflow ::
                              (ValidityStateClass self) => self -> IO Bool
validityStateGetRangeOverflow self
  = toBool <$>
      ((\(ValidityState arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_validity_state_get_range_overflow argPtr1)
{-# LINE 59 "./Graphics/UI/Gtk/WebKit/DOM/ValidityState.chs" #-}
         (toValidityState self))
 
validityStateGetStepMismatch ::
                             (ValidityStateClass self) => self -> IO Bool
validityStateGetStepMismatch self
  = toBool <$>
      ((\(ValidityState arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_validity_state_get_step_mismatch argPtr1)
{-# LINE 66 "./Graphics/UI/Gtk/WebKit/DOM/ValidityState.chs" #-}
         (toValidityState self))
 
validityStateGetBadInput ::
                         (ValidityStateClass self) => self -> IO Bool
validityStateGetBadInput self
  = toBool <$>
      ((\(ValidityState arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_validity_state_get_bad_input argPtr1)
{-# LINE 74 "./Graphics/UI/Gtk/WebKit/DOM/ValidityState.chs" #-}
         (toValidityState self))
 
validityStateGetCustomError ::
                            (ValidityStateClass self) => self -> IO Bool
validityStateGetCustomError self
  = toBool <$>
      ((\(ValidityState arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_validity_state_get_custom_error argPtr1)
{-# LINE 82 "./Graphics/UI/Gtk/WebKit/DOM/ValidityState.chs" #-}
         (toValidityState self))
 
validityStateGetValid ::
                      (ValidityStateClass self) => self -> IO Bool
validityStateGetValid self
  = toBool <$>
      ((\(ValidityState arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_validity_state_get_valid argPtr1)
{-# LINE 89 "./Graphics/UI/Gtk/WebKit/DOM/ValidityState.chs" #-}
         (toValidityState self))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/ValidityState.h webkit_dom_validity_state_get_value_missing"
  webkit_dom_validity_state_get_value_missing :: ((Ptr ValidityState) -> (IO CInt))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/ValidityState.h webkit_dom_validity_state_get_type_mismatch"
  webkit_dom_validity_state_get_type_mismatch :: ((Ptr ValidityState) -> (IO CInt))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/ValidityState.h webkit_dom_validity_state_get_pattern_mismatch"
  webkit_dom_validity_state_get_pattern_mismatch :: ((Ptr ValidityState) -> (IO CInt))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/ValidityState.h webkit_dom_validity_state_get_too_long"
  webkit_dom_validity_state_get_too_long :: ((Ptr ValidityState) -> (IO CInt))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/ValidityState.h webkit_dom_validity_state_get_range_underflow"
  webkit_dom_validity_state_get_range_underflow :: ((Ptr ValidityState) -> (IO CInt))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/ValidityState.h webkit_dom_validity_state_get_range_overflow"
  webkit_dom_validity_state_get_range_overflow :: ((Ptr ValidityState) -> (IO CInt))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/ValidityState.h webkit_dom_validity_state_get_step_mismatch"
  webkit_dom_validity_state_get_step_mismatch :: ((Ptr ValidityState) -> (IO CInt))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/ValidityState.h webkit_dom_validity_state_get_bad_input"
  webkit_dom_validity_state_get_bad_input :: ((Ptr ValidityState) -> (IO CInt))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/ValidityState.h webkit_dom_validity_state_get_custom_error"
  webkit_dom_validity_state_get_custom_error :: ((Ptr ValidityState) -> (IO CInt))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/ValidityState.h webkit_dom_validity_state_get_valid"
  webkit_dom_validity_state_get_valid :: ((Ptr ValidityState) -> (IO CInt))