gi-webkit2-4.0.11: WebKit2 bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.WebKit2.Structs.MimeInfo

Contents

Description

 

Synopsis

Exported types

newtype MimeInfo Source #

Constructors

MimeInfo (ManagedPtr MimeInfo) 

Instances

BoxedObject MimeInfo Source # 

Methods

boxedType :: MimeInfo -> IO GType #

((~) * info (ResolveMimeInfoMethod t MimeInfo), MethodInfo * info MimeInfo p) => IsLabel t (MimeInfo -> p) Source # 

Methods

fromLabel :: Proxy# Symbol t -> MimeInfo -> p #

((~) * info (ResolveMimeInfoMethod t MimeInfo), MethodInfo * info MimeInfo p) => IsLabelProxy t (MimeInfo -> p) Source # 

Methods

fromLabelProxy :: Proxy Symbol t -> MimeInfo -> p #

HasAttributeList * MimeInfo Source # 
((~) * signature (m ()), MonadIO m) => MethodInfo * MimeInfoUnrefMethodInfo MimeInfo signature Source # 
((~) * signature (m MimeInfo), MonadIO m) => MethodInfo * MimeInfoRefMethodInfo MimeInfo signature Source # 
((~) * signature (m Text), MonadIO m) => MethodInfo * MimeInfoGetMimeTypeMethodInfo MimeInfo signature Source # 
((~) * signature (m [Text]), MonadIO m) => MethodInfo * MimeInfoGetExtensionsMethodInfo MimeInfo signature Source # 
((~) * signature (m Text), MonadIO m) => MethodInfo * MimeInfoGetDescriptionMethodInfo MimeInfo signature Source # 
type AttributeList MimeInfo Source # 

Methods

getDescription

mimeInfoGetDescription Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> MimeInfo

info: a MimeInfo

-> m Text

Returns: the description of the MIME type of info

No description available in the introspection data.

getExtensions

mimeInfoGetExtensions Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> MimeInfo

info: a MimeInfo

-> m [Text]

Returns: a Nothing-terminated array of strings

Get the list of file extensions associated to the MIME type of info

getMimeType

mimeInfoGetMimeType Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> MimeInfo

info: a MimeInfo

-> m Text

Returns: the MIME type of info

No description available in the introspection data.

ref

mimeInfoRef Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> MimeInfo

info: a MimeInfo

-> m MimeInfo

Returns: The passed in MimeInfo

Atomically increments the reference count of info by one. This function is MT-safe and may be called from any thread.

unref

mimeInfoUnref Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> MimeInfo

info: a MimeInfo

-> m () 

Atomically decrements the reference count of info by one. If the reference count drops to 0, all memory allocated by the MimeInfo is released. This function is MT-safe and may be called from any thread.