{- | Copyright : Will Thompson, Iñaki García Etxebarria and Jonas Platte License : LGPL-2.1 Maintainer : Iñaki García Etxebarria (garetxe@gmail.com) -} module GI.Soup.Objects.AuthNTLM ( -- * Exported types AuthNTLM(..) , AuthNTLMK , toAuthNTLM , noAuthNTLM , ) where import Prelude () import Data.GI.Base.ShortPrelude import qualified Data.Text as T import qualified Data.ByteString.Char8 as B import qualified Data.Map as Map import GI.Soup.Types import GI.Soup.Callbacks import qualified GI.GObject as GObject newtype AuthNTLM = AuthNTLM (ForeignPtr AuthNTLM) foreign import ccall "soup_auth_ntlm_get_type" c_soup_auth_ntlm_get_type :: IO GType type instance ParentTypes AuthNTLM = AuthNTLMParentTypes type AuthNTLMParentTypes = '[Auth, GObject.Object] instance GObject AuthNTLM where gobjectIsInitiallyUnowned _ = False gobjectType _ = c_soup_auth_ntlm_get_type class GObject o => AuthNTLMK o instance (GObject o, IsDescendantOf AuthNTLM o) => AuthNTLMK o toAuthNTLM :: AuthNTLMK o => o -> IO AuthNTLM toAuthNTLM = unsafeCastTo AuthNTLM noAuthNTLM :: Maybe AuthNTLM noAuthNTLM = Nothing type instance AttributeList AuthNTLM = AuthNTLMAttributeList type AuthNTLMAttributeList = ('[ '("host", AuthHostPropertyInfo), '("is-authenticated", AuthIsAuthenticatedPropertyInfo), '("is-for-proxy", AuthIsForProxyPropertyInfo), '("realm", AuthRealmPropertyInfo), '("scheme-name", AuthSchemeNamePropertyInfo)] :: [(Symbol, *)]) type instance SignalList AuthNTLM = AuthNTLMSignalList type AuthNTLMSignalList = ('[ '("notify", GObject.ObjectNotifySignalInfo), '("notify::[property]", GObjectNotifySignalInfo)] :: [(Symbol, *)])