gi-soup-2.4.9: Libsoup 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.Soup.Objects.Cache

Contents

Description

 

Synopsis

Exported types

newtype Cache Source #

Constructors

Cache (ManagedPtr Cache) 

Instances

GObject Cache Source # 
IsObject Cache Source # 
IsSessionFeature Cache Source # 
IsCache Cache Source # 
((~) * info (ResolveCacheMethod t Cache), MethodInfo * info Cache p) => IsLabel t (Cache -> p) Source # 

Methods

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

((~) * info (ResolveCacheMethod t Cache), MethodInfo * info Cache p) => IsLabelProxy t (Cache -> p) Source # 

Methods

fromLabelProxy :: Proxy Symbol t -> Cache -> p

HasAttributeList * Cache Source # 
type SignalList Cache Source # 
type SignalList Cache
type AttributeList Cache Source # 
type AttributeList Cache

class GObject o => IsCache o Source #

Instances

(GObject a, UnknownAncestorError Constraint Cache a) => IsCache a Source # 
IsCache Cache Source # 

Methods

clear

data CacheClearMethodInfo Source #

Instances

((~) * signature (m ()), MonadIO m, IsCache a) => MethodInfo * CacheClearMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy CacheClearMethodInfo a -> signature -> s

cacheClear :: (MonadIO m, IsCache a) => a -> m () Source #

dump

data CacheDumpMethodInfo Source #

Instances

((~) * signature (m ()), MonadIO m, IsCache a) => MethodInfo * CacheDumpMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy CacheDumpMethodInfo a -> signature -> s

cacheDump :: (MonadIO m, IsCache a) => a -> m () Source #

flush

data CacheFlushMethodInfo Source #

Instances

((~) * signature (m ()), MonadIO m, IsCache a) => MethodInfo * CacheFlushMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy CacheFlushMethodInfo a -> signature -> s

cacheFlush :: (MonadIO m, IsCache a) => a -> m () Source #

getMaxSize

data CacheGetMaxSizeMethodInfo Source #

Instances

((~) * signature (m Word32), MonadIO m, IsCache a) => MethodInfo * CacheGetMaxSizeMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy CacheGetMaxSizeMethodInfo a -> signature -> s

load

data CacheLoadMethodInfo Source #

Instances

((~) * signature (m ()), MonadIO m, IsCache a) => MethodInfo * CacheLoadMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy CacheLoadMethodInfo a -> signature -> s

cacheLoad :: (MonadIO m, IsCache a) => a -> m () Source #

new

cacheNew :: MonadIO m => Text -> CacheType -> m Cache Source #

setMaxSize

data CacheSetMaxSizeMethodInfo Source #

Instances

((~) * signature (Word32 -> m ()), MonadIO m, IsCache a) => MethodInfo * CacheSetMaxSizeMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy CacheSetMaxSizeMethodInfo a -> signature -> s

cacheSetMaxSize :: (MonadIO m, IsCache a) => a -> Word32 -> m () Source #

Properties

cacheDir

data CacheCacheDirPropertyInfo Source #

Instances

AttrInfo CacheCacheDirPropertyInfo Source # 

Associated Types

type AttrAllowedOps CacheCacheDirPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint CacheCacheDirPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint CacheCacheDirPropertyInfo :: * -> Constraint

type AttrGetType CacheCacheDirPropertyInfo :: *

type AttrLabel CacheCacheDirPropertyInfo :: Symbol

type AttrOrigin CacheCacheDirPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint CacheCacheDirPropertyInfo o => Proxy * CacheCacheDirPropertyInfo -> o -> IO (AttrGetType CacheCacheDirPropertyInfo)

attrSet :: (AttrBaseTypeConstraint CacheCacheDirPropertyInfo o, AttrSetTypeConstraint CacheCacheDirPropertyInfo b) => Proxy * CacheCacheDirPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint CacheCacheDirPropertyInfo o => Proxy * CacheCacheDirPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint CacheCacheDirPropertyInfo o, AttrSetTypeConstraint CacheCacheDirPropertyInfo b) => Proxy * CacheCacheDirPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint CacheCacheDirPropertyInfo Source # 
type AttrSetTypeConstraint CacheCacheDirPropertyInfo = * ~ Text
type AttrOrigin CacheCacheDirPropertyInfo Source # 
type AttrLabel CacheCacheDirPropertyInfo Source # 
type AttrLabel CacheCacheDirPropertyInfo = "cache-dir"
type AttrGetType CacheCacheDirPropertyInfo Source # 
type AttrGetType CacheCacheDirPropertyInfo = Maybe Text
type AttrBaseTypeConstraint CacheCacheDirPropertyInfo Source # 
type AttrBaseTypeConstraint CacheCacheDirPropertyInfo = IsCache
type AttrAllowedOps CacheCacheDirPropertyInfo Source # 
type AttrAllowedOps CacheCacheDirPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))

cacheCacheDir :: AttrLabelProxy "cacheDir" Source #

constructCacheCacheDir :: IsCache o => Text -> IO (GValueConstruct o) Source #

getCacheCacheDir :: (MonadIO m, IsCache o) => o -> m (Maybe Text) Source #

cacheType

data CacheCacheTypePropertyInfo Source #

Instances

AttrInfo CacheCacheTypePropertyInfo Source # 

Associated Types

type AttrAllowedOps CacheCacheTypePropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint CacheCacheTypePropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint CacheCacheTypePropertyInfo :: * -> Constraint

type AttrGetType CacheCacheTypePropertyInfo :: *

type AttrLabel CacheCacheTypePropertyInfo :: Symbol

type AttrOrigin CacheCacheTypePropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint CacheCacheTypePropertyInfo o => Proxy * CacheCacheTypePropertyInfo -> o -> IO (AttrGetType CacheCacheTypePropertyInfo)

attrSet :: (AttrBaseTypeConstraint CacheCacheTypePropertyInfo o, AttrSetTypeConstraint CacheCacheTypePropertyInfo b) => Proxy * CacheCacheTypePropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint CacheCacheTypePropertyInfo o => Proxy * CacheCacheTypePropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint CacheCacheTypePropertyInfo o, AttrSetTypeConstraint CacheCacheTypePropertyInfo b) => Proxy * CacheCacheTypePropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint CacheCacheTypePropertyInfo Source # 
type AttrSetTypeConstraint CacheCacheTypePropertyInfo = * ~ CacheType
type AttrOrigin CacheCacheTypePropertyInfo Source # 
type AttrLabel CacheCacheTypePropertyInfo Source # 
type AttrLabel CacheCacheTypePropertyInfo = "cache-type"
type AttrGetType CacheCacheTypePropertyInfo Source # 
type AttrBaseTypeConstraint CacheCacheTypePropertyInfo Source # 
type AttrBaseTypeConstraint CacheCacheTypePropertyInfo = IsCache
type AttrAllowedOps CacheCacheTypePropertyInfo Source # 
type AttrAllowedOps CacheCacheTypePropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))

cacheCacheType :: AttrLabelProxy "cacheType" Source #

constructCacheCacheType :: IsCache o => CacheType -> IO (GValueConstruct o) Source #