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 |
- newtype ContentSniffer = ContentSniffer (ForeignPtr ContentSniffer)
- class GObject o => ContentSnifferK o
- toContentSniffer :: ContentSnifferK o => o -> IO ContentSniffer
- noContentSniffer :: Maybe ContentSniffer
- data ContentSnifferGetBufferSizeMethodInfo
- contentSnifferGetBufferSize :: (MonadIO m, ContentSnifferK a) => a -> m Word64
- contentSnifferNew :: MonadIO m => m ContentSniffer
- data ContentSnifferSniffMethodInfo
- contentSnifferSniff :: (MonadIO m, ContentSnifferK a, MessageK b) => a -> b -> Buffer -> m (Text, Map Text Text)
Exported types
newtype ContentSniffer Source
GObject ContentSniffer | |
((~) * info (ResolveContentSnifferMethod t ContentSniffer), MethodInfo * info ContentSniffer p) => IsLabelProxy t (ContentSniffer -> p) | |
type ParentTypes ContentSniffer | |
type AttributeList ContentSniffer | |
type SignalList ContentSniffer |
class GObject o => ContentSnifferK o Source
(GObject o, IsDescendantOf ContentSniffer o) => ContentSnifferK o |
toContentSniffer :: ContentSnifferK o => o -> IO ContentSniffer Source
Methods
contentSnifferGetBufferSize
data ContentSnifferGetBufferSizeMethodInfo Source
((~) * signature (m Word64), MonadIO m, ContentSnifferK a) => MethodInfo * ContentSnifferGetBufferSizeMethodInfo a signature |
contentSnifferGetBufferSize :: (MonadIO m, ContentSnifferK a) => a -> m Word64 Source
contentSnifferNew
contentSnifferNew :: MonadIO m => m ContentSniffer Source
contentSnifferSniff
data ContentSnifferSniffMethodInfo Source
((~) * signature (b -> Buffer -> m (Text, Map Text Text)), MonadIO m, ContentSnifferK a, MessageK b) => MethodInfo * ContentSnifferSniffMethodInfo a signature |
contentSnifferSniff :: (MonadIO m, ContentSnifferK a, MessageK b) => a -> b -> Buffer -> m (Text, Map Text Text) Source