Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype ITPFirstParty = ITPFirstParty (ManagedPtr ITPFirstParty)
- iTPFirstPartyGetDomain :: (HasCallStack, MonadIO m) => ITPFirstParty -> m Text
- iTPFirstPartyGetLastUpdateTime :: (HasCallStack, MonadIO m) => ITPFirstParty -> m DateTime
- iTPFirstPartyGetWebsiteDataAccessAllowed :: (HasCallStack, MonadIO m) => ITPFirstParty -> m Bool
- iTPFirstPartyRef :: (HasCallStack, MonadIO m) => ITPFirstParty -> m ITPFirstParty
- iTPFirstPartyUnref :: (HasCallStack, MonadIO m) => ITPFirstParty -> m ()
Exported types
newtype ITPFirstParty Source #
Memory-managed wrapper type.
Instances
Eq ITPFirstParty Source # | |
Defined in GI.WebKit2.Structs.ITPFirstParty (==) :: ITPFirstParty -> ITPFirstParty -> Bool # (/=) :: ITPFirstParty -> ITPFirstParty -> Bool # | |
GBoxed ITPFirstParty Source # | |
Defined in GI.WebKit2.Structs.ITPFirstParty | |
ManagedPtrNewtype ITPFirstParty Source # | |
Defined in GI.WebKit2.Structs.ITPFirstParty | |
TypedObject ITPFirstParty Source # | |
Defined in GI.WebKit2.Structs.ITPFirstParty | |
HasParentTypes ITPFirstParty Source # | |
Defined in GI.WebKit2.Structs.ITPFirstParty | |
IsGValue (Maybe ITPFirstParty) Source # | Convert |
Defined in GI.WebKit2.Structs.ITPFirstParty gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe ITPFirstParty -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe ITPFirstParty) # | |
type ParentTypes ITPFirstParty Source # | |
Defined in GI.WebKit2.Structs.ITPFirstParty |
Methods
Click to display all available methods, including inherited ones
getDomain
iTPFirstPartyGetDomain Source #
:: (HasCallStack, MonadIO m) | |
=> ITPFirstParty |
|
-> m Text | Returns: the domain name |
Get the domain name of itpFirstParty
Since: 2.30
getLastUpdateTime
iTPFirstPartyGetLastUpdateTime Source #
:: (HasCallStack, MonadIO m) | |
=> ITPFirstParty |
|
-> m DateTime | Returns: the last update time as a |
Get the last time a ITPThirdParty
has been seen under itpFirstParty
.
Each webKitITPFirstParty
is created by iTPThirdPartyGetFirstParties
and
therefore corresponds to exactly one ITPThirdParty
.
Since: 2.30
getWebsiteDataAccessAllowed
iTPFirstPartyGetWebsiteDataAccessAllowed Source #
:: (HasCallStack, MonadIO m) | |
=> ITPFirstParty |
|
-> m Bool | Returns: |
Get whether itpFirstParty
has granted website data access to its ITPThirdParty
.
Each webKitITPFirstParty
is created by iTPThirdPartyGetFirstParties
and
therefore corresponds to exactly one ITPThirdParty
.
Since: 2.30
ref
:: (HasCallStack, MonadIO m) | |
=> ITPFirstParty |
|
-> m ITPFirstParty | Returns: The passed |
Atomically increments the reference count of itpFirstParty
by one.
This function is MT-safe and may be called from any thread.
Since: 2.30
unref
:: (HasCallStack, MonadIO m) | |
=> ITPFirstParty |
|
-> m () |
Atomically decrements the reference count of itpFirstParty
by one.
If the reference count drops to 0, all memory allocated by
ITPFirstParty
is released. This function is MT-safe and may be
called from any thread.
Since: 2.30