| Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.Soup.Objects.Cache
Contents
Description
- newtype Cache = Cache (ForeignPtr Cache)
- class GObject o => IsCache o
- toCache :: IsCache o => o -> IO Cache
- noCache :: Maybe Cache
- data CacheClearMethodInfo
- cacheClear :: (MonadIO m, IsCache a) => a -> m ()
- data CacheDumpMethodInfo
- cacheDump :: (MonadIO m, IsCache a) => a -> m ()
- data CacheFlushMethodInfo
- cacheFlush :: (MonadIO m, IsCache a) => a -> m ()
- data CacheGetMaxSizeMethodInfo
- cacheGetMaxSize :: (MonadIO m, IsCache a) => a -> m Word32
- data CacheLoadMethodInfo
- cacheLoad :: (MonadIO m, IsCache a) => a -> m ()
- cacheNew :: MonadIO m => Text -> CacheType -> m Cache
- data CacheSetMaxSizeMethodInfo
- cacheSetMaxSize :: (MonadIO m, IsCache a) => a -> Word32 -> m ()
- data CacheCacheDirPropertyInfo
- cacheCacheDir :: AttrLabelProxy "cacheDir"
- constructCacheCacheDir :: IsCache o => Text -> IO (GValueConstruct o)
- getCacheCacheDir :: (MonadIO m, IsCache o) => o -> m (Maybe Text)
- data CacheCacheTypePropertyInfo
- cacheCacheType :: AttrLabelProxy "cacheType"
- constructCacheCacheType :: IsCache o => CacheType -> IO (GValueConstruct o)
- getCacheCacheType :: (MonadIO m, IsCache o) => o -> m CacheType
Exported types
Constructors
| Cache (ForeignPtr 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 # | |
| ((~) * info (ResolveCacheMethod t Cache), MethodInfo * info Cache p) => IsLabelProxy t (Cache -> p) Source # | |
| HasAttributeList * Cache Source # | |
| type SignalList Cache Source # | |
| type AttributeList Cache Source # | |
Methods
cacheClear
data CacheClearMethodInfo Source #
cacheClear :: (MonadIO m, IsCache a) => a -> m () Source #
cacheDump
data CacheDumpMethodInfo Source #
cacheFlush
data CacheFlushMethodInfo Source #
cacheFlush :: (MonadIO m, IsCache a) => a -> m () Source #
cacheGetMaxSize
cacheLoad
data CacheLoadMethodInfo Source #
cacheNew
cacheSetMaxSize
Properties
CacheDir
data CacheCacheDirPropertyInfo Source #
Instances
| AttrInfo CacheCacheDirPropertyInfo Source # | |
| type AttrSetTypeConstraint CacheCacheDirPropertyInfo Source # | |
| type AttrLabel CacheCacheDirPropertyInfo Source # | |
| type AttrGetType CacheCacheDirPropertyInfo Source # | |
| type AttrBaseTypeConstraint CacheCacheDirPropertyInfo Source # | |
| type AttrAllowedOps CacheCacheDirPropertyInfo Source # | |
cacheCacheDir :: AttrLabelProxy "cacheDir" Source #
constructCacheCacheDir :: IsCache o => Text -> IO (GValueConstruct o) Source #
CacheType
data CacheCacheTypePropertyInfo Source #
Instances
| AttrInfo CacheCacheTypePropertyInfo Source # | |
| type AttrSetTypeConstraint CacheCacheTypePropertyInfo Source # | |
| type AttrLabel CacheCacheTypePropertyInfo Source # | |
| type AttrGetType CacheCacheTypePropertyInfo Source # | |
| type AttrBaseTypeConstraint CacheCacheTypePropertyInfo Source # | |
| type AttrAllowedOps CacheCacheTypePropertyInfo Source # | |
cacheCacheType :: AttrLabelProxy "cacheType" Source #