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 |
- Exported types
- Methods
- keyFileErrorQuark
- keyFileGetBoolean
- keyFileGetBooleanList
- keyFileGetComment
- keyFileGetDouble
- keyFileGetDoubleList
- keyFileGetGroups
- keyFileGetInt64
- keyFileGetInteger
- keyFileGetIntegerList
- keyFileGetKeys
- keyFileGetLocaleString
- keyFileGetLocaleStringList
- keyFileGetStartGroup
- keyFileGetString
- keyFileGetStringList
- keyFileGetUint64
- keyFileGetValue
- keyFileHasGroup
- keyFileLoadFromData
- keyFileLoadFromDataDirs
- keyFileLoadFromDirs
- keyFileLoadFromFile
- keyFileNew
- keyFileRemoveComment
- keyFileRemoveGroup
- keyFileRemoveKey
- keyFileSaveToFile
- keyFileSetBoolean
- keyFileSetBooleanList
- keyFileSetComment
- keyFileSetDouble
- keyFileSetDoubleList
- keyFileSetInt64
- keyFileSetInteger
- keyFileSetIntegerList
- keyFileSetListSeparator
- keyFileSetLocaleString
- keyFileSetLocaleStringList
- keyFileSetString
- keyFileSetStringList
- keyFileSetUint64
- keyFileSetValue
- keyFileToData
- keyFileUnref
The GKeyFile struct contains only private data and should not be accessed directly.
- newtype KeyFile = KeyFile (ForeignPtr KeyFile)
- noKeyFile :: Maybe KeyFile
- keyFileErrorQuark :: MonadIO m => m Word32
- data KeyFileGetBooleanMethodInfo
- keyFileGetBoolean :: MonadIO m => KeyFile -> Text -> Text -> m ()
- data KeyFileGetBooleanListMethodInfo
- keyFileGetBooleanList :: MonadIO m => KeyFile -> Text -> Text -> m [Bool]
- data KeyFileGetCommentMethodInfo
- keyFileGetComment :: MonadIO m => KeyFile -> Maybe Text -> Text -> m Text
- data KeyFileGetDoubleMethodInfo
- keyFileGetDouble :: MonadIO m => KeyFile -> Text -> Text -> m Double
- data KeyFileGetDoubleListMethodInfo
- keyFileGetDoubleList :: MonadIO m => KeyFile -> Text -> Text -> m [Double]
- data KeyFileGetGroupsMethodInfo
- keyFileGetGroups :: MonadIO m => KeyFile -> m ([Text], Word64)
- data KeyFileGetInt64MethodInfo
- keyFileGetInt64 :: MonadIO m => KeyFile -> Text -> Text -> m Int64
- data KeyFileGetIntegerMethodInfo
- keyFileGetInteger :: MonadIO m => KeyFile -> Text -> Text -> m Int32
- data KeyFileGetIntegerListMethodInfo
- keyFileGetIntegerList :: MonadIO m => KeyFile -> Text -> Text -> m [Int32]
- data KeyFileGetKeysMethodInfo
- keyFileGetKeys :: MonadIO m => KeyFile -> Text -> m ([Text], Word64)
- data KeyFileGetLocaleStringMethodInfo
- keyFileGetLocaleString :: MonadIO m => KeyFile -> Text -> Text -> Maybe Text -> m Text
- data KeyFileGetLocaleStringListMethodInfo
- keyFileGetLocaleStringList :: MonadIO m => KeyFile -> Text -> Text -> Maybe Text -> m ([Text], Word64)
- data KeyFileGetStartGroupMethodInfo
- keyFileGetStartGroup :: MonadIO m => KeyFile -> m Text
- data KeyFileGetStringMethodInfo
- keyFileGetString :: MonadIO m => KeyFile -> Text -> Text -> m Text
- data KeyFileGetStringListMethodInfo
- keyFileGetStringList :: MonadIO m => KeyFile -> Text -> Text -> m ([Text], Word64)
- data KeyFileGetUint64MethodInfo
- keyFileGetUint64 :: MonadIO m => KeyFile -> Text -> Text -> m Word64
- data KeyFileGetValueMethodInfo
- keyFileGetValue :: MonadIO m => KeyFile -> Text -> Text -> m Text
- data KeyFileHasGroupMethodInfo
- keyFileHasGroup :: MonadIO m => KeyFile -> Text -> m Bool
- data KeyFileLoadFromDataMethodInfo
- keyFileLoadFromData :: MonadIO m => KeyFile -> Text -> Word64 -> [KeyFileFlags] -> m ()
- data KeyFileLoadFromDataDirsMethodInfo
- keyFileLoadFromDataDirs :: MonadIO m => KeyFile -> [Char] -> [KeyFileFlags] -> m [Char]
- data KeyFileLoadFromDirsMethodInfo
- keyFileLoadFromDirs :: MonadIO m => KeyFile -> [Char] -> [[Char]] -> [KeyFileFlags] -> m [Char]
- data KeyFileLoadFromFileMethodInfo
- keyFileLoadFromFile :: MonadIO m => KeyFile -> [Char] -> [KeyFileFlags] -> m ()
- keyFileNew :: MonadIO m => m KeyFile
- data KeyFileRemoveCommentMethodInfo
- keyFileRemoveComment :: MonadIO m => KeyFile -> Maybe Text -> Maybe Text -> m ()
- data KeyFileRemoveGroupMethodInfo
- keyFileRemoveGroup :: MonadIO m => KeyFile -> Text -> m ()
- data KeyFileRemoveKeyMethodInfo
- keyFileRemoveKey :: MonadIO m => KeyFile -> Text -> Text -> m ()
- data KeyFileSaveToFileMethodInfo
- keyFileSaveToFile :: MonadIO m => KeyFile -> Text -> m ()
- data KeyFileSetBooleanMethodInfo
- keyFileSetBoolean :: MonadIO m => KeyFile -> Text -> Text -> Bool -> m ()
- data KeyFileSetBooleanListMethodInfo
- keyFileSetBooleanList :: MonadIO m => KeyFile -> Text -> Text -> [Bool] -> m ()
- data KeyFileSetCommentMethodInfo
- keyFileSetComment :: MonadIO m => KeyFile -> Maybe Text -> Maybe Text -> Text -> m ()
- data KeyFileSetDoubleMethodInfo
- keyFileSetDouble :: MonadIO m => KeyFile -> Text -> Text -> Double -> m ()
- data KeyFileSetDoubleListMethodInfo
- keyFileSetDoubleList :: MonadIO m => KeyFile -> Text -> Text -> [Double] -> m ()
- data KeyFileSetInt64MethodInfo
- keyFileSetInt64 :: MonadIO m => KeyFile -> Text -> Text -> Int64 -> m ()
- data KeyFileSetIntegerMethodInfo
- keyFileSetInteger :: MonadIO m => KeyFile -> Text -> Text -> Int32 -> m ()
- data KeyFileSetIntegerListMethodInfo
- keyFileSetIntegerList :: MonadIO m => KeyFile -> Text -> Text -> [Int32] -> m ()
- data KeyFileSetListSeparatorMethodInfo
- keyFileSetListSeparator :: MonadIO m => KeyFile -> Int8 -> m ()
- data KeyFileSetLocaleStringMethodInfo
- keyFileSetLocaleString :: MonadIO m => KeyFile -> Text -> Text -> Text -> Text -> m ()
- data KeyFileSetLocaleStringListMethodInfo
- keyFileSetLocaleStringList :: MonadIO m => KeyFile -> Text -> Text -> Text -> [Text] -> Word64 -> m ()
- data KeyFileSetStringMethodInfo
- keyFileSetString :: MonadIO m => KeyFile -> Text -> Text -> Text -> m ()
- data KeyFileSetStringListMethodInfo
- keyFileSetStringList :: MonadIO m => KeyFile -> Text -> Text -> [Text] -> Word64 -> m ()
- data KeyFileSetUint64MethodInfo
- keyFileSetUint64 :: MonadIO m => KeyFile -> Text -> Text -> Word64 -> m ()
- data KeyFileSetValueMethodInfo
- keyFileSetValue :: MonadIO m => KeyFile -> Text -> Text -> Text -> m ()
- data KeyFileToDataMethodInfo
- keyFileToData :: MonadIO m => KeyFile -> m (Text, Word64)
- data KeyFileUnrefMethodInfo
- keyFileUnref :: MonadIO m => KeyFile -> m ()
Exported types
Methods
keyFileErrorQuark
keyFileErrorQuark :: MonadIO m => m Word32 Source
keyFileGetBoolean
data KeyFileGetBooleanMethodInfo Source
((~) * signature (Text -> Text -> m ()), MonadIO m) => MethodInfo * KeyFileGetBooleanMethodInfo KeyFile signature |
keyFileGetBooleanList
data KeyFileGetBooleanListMethodInfo Source
((~) * signature (Text -> Text -> m [Bool]), MonadIO m) => MethodInfo * KeyFileGetBooleanListMethodInfo KeyFile signature |
keyFileGetComment
data KeyFileGetCommentMethodInfo Source
((~) * signature (Maybe Text -> Text -> m Text), MonadIO m) => MethodInfo * KeyFileGetCommentMethodInfo KeyFile signature |
keyFileGetDouble
data KeyFileGetDoubleMethodInfo Source
((~) * signature (Text -> Text -> m Double), MonadIO m) => MethodInfo * KeyFileGetDoubleMethodInfo KeyFile signature |
keyFileGetDoubleList
data KeyFileGetDoubleListMethodInfo Source
((~) * signature (Text -> Text -> m [Double]), MonadIO m) => MethodInfo * KeyFileGetDoubleListMethodInfo KeyFile signature |
keyFileGetGroups
data KeyFileGetGroupsMethodInfo Source
((~) * signature (m ([Text], Word64)), MonadIO m) => MethodInfo * KeyFileGetGroupsMethodInfo KeyFile signature |
keyFileGetInt64
data KeyFileGetInt64MethodInfo Source
((~) * signature (Text -> Text -> m Int64), MonadIO m) => MethodInfo * KeyFileGetInt64MethodInfo KeyFile signature |
keyFileGetInteger
data KeyFileGetIntegerMethodInfo Source
((~) * signature (Text -> Text -> m Int32), MonadIO m) => MethodInfo * KeyFileGetIntegerMethodInfo KeyFile signature |
keyFileGetIntegerList
data KeyFileGetIntegerListMethodInfo Source
((~) * signature (Text -> Text -> m [Int32]), MonadIO m) => MethodInfo * KeyFileGetIntegerListMethodInfo KeyFile signature |
keyFileGetKeys
data KeyFileGetKeysMethodInfo Source
((~) * signature (Text -> m ([Text], Word64)), MonadIO m) => MethodInfo * KeyFileGetKeysMethodInfo KeyFile signature |
keyFileGetLocaleString
data KeyFileGetLocaleStringMethodInfo Source
((~) * signature (Text -> Text -> Maybe Text -> m Text), MonadIO m) => MethodInfo * KeyFileGetLocaleStringMethodInfo KeyFile signature |
keyFileGetLocaleStringList
data KeyFileGetLocaleStringListMethodInfo Source
((~) * signature (Text -> Text -> Maybe Text -> m ([Text], Word64)), MonadIO m) => MethodInfo * KeyFileGetLocaleStringListMethodInfo KeyFile signature |
keyFileGetLocaleStringList :: MonadIO m => KeyFile -> Text -> Text -> Maybe Text -> m ([Text], Word64) Source
keyFileGetStartGroup
data KeyFileGetStartGroupMethodInfo Source
((~) * signature (m Text), MonadIO m) => MethodInfo * KeyFileGetStartGroupMethodInfo KeyFile signature |
keyFileGetStartGroup :: MonadIO m => KeyFile -> m Text Source
keyFileGetString
data KeyFileGetStringMethodInfo Source
((~) * signature (Text -> Text -> m Text), MonadIO m) => MethodInfo * KeyFileGetStringMethodInfo KeyFile signature |
keyFileGetStringList
data KeyFileGetStringListMethodInfo Source
((~) * signature (Text -> Text -> m ([Text], Word64)), MonadIO m) => MethodInfo * KeyFileGetStringListMethodInfo KeyFile signature |
keyFileGetUint64
data KeyFileGetUint64MethodInfo Source
((~) * signature (Text -> Text -> m Word64), MonadIO m) => MethodInfo * KeyFileGetUint64MethodInfo KeyFile signature |
keyFileGetValue
data KeyFileGetValueMethodInfo Source
((~) * signature (Text -> Text -> m Text), MonadIO m) => MethodInfo * KeyFileGetValueMethodInfo KeyFile signature |
keyFileHasGroup
data KeyFileHasGroupMethodInfo Source
((~) * signature (Text -> m Bool), MonadIO m) => MethodInfo * KeyFileHasGroupMethodInfo KeyFile signature |
keyFileLoadFromData
data KeyFileLoadFromDataMethodInfo Source
((~) * signature (Text -> Word64 -> [KeyFileFlags] -> m ()), MonadIO m) => MethodInfo * KeyFileLoadFromDataMethodInfo KeyFile signature |
keyFileLoadFromData :: MonadIO m => KeyFile -> Text -> Word64 -> [KeyFileFlags] -> m () Source
keyFileLoadFromDataDirs
data KeyFileLoadFromDataDirsMethodInfo Source
((~) * signature ([Char] -> [KeyFileFlags] -> m [Char]), MonadIO m) => MethodInfo * KeyFileLoadFromDataDirsMethodInfo KeyFile signature |
keyFileLoadFromDataDirs :: MonadIO m => KeyFile -> [Char] -> [KeyFileFlags] -> m [Char] Source
keyFileLoadFromDirs
data KeyFileLoadFromDirsMethodInfo Source
((~) * signature ([Char] -> [[Char]] -> [KeyFileFlags] -> m [Char]), MonadIO m) => MethodInfo * KeyFileLoadFromDirsMethodInfo KeyFile signature |
keyFileLoadFromDirs :: MonadIO m => KeyFile -> [Char] -> [[Char]] -> [KeyFileFlags] -> m [Char] Source
keyFileLoadFromFile
data KeyFileLoadFromFileMethodInfo Source
((~) * signature ([Char] -> [KeyFileFlags] -> m ()), MonadIO m) => MethodInfo * KeyFileLoadFromFileMethodInfo KeyFile signature |
keyFileLoadFromFile :: MonadIO m => KeyFile -> [Char] -> [KeyFileFlags] -> m () Source
keyFileNew
keyFileNew :: MonadIO m => m KeyFile Source
keyFileRemoveComment
data KeyFileRemoveCommentMethodInfo Source
((~) * signature (Maybe Text -> Maybe Text -> m ()), MonadIO m) => MethodInfo * KeyFileRemoveCommentMethodInfo KeyFile signature |
keyFileRemoveGroup
data KeyFileRemoveGroupMethodInfo Source
((~) * signature (Text -> m ()), MonadIO m) => MethodInfo * KeyFileRemoveGroupMethodInfo KeyFile signature |
keyFileRemoveGroup :: MonadIO m => KeyFile -> Text -> m () Source
keyFileRemoveKey
data KeyFileRemoveKeyMethodInfo Source
((~) * signature (Text -> Text -> m ()), MonadIO m) => MethodInfo * KeyFileRemoveKeyMethodInfo KeyFile signature |
keyFileSaveToFile
data KeyFileSaveToFileMethodInfo Source
((~) * signature (Text -> m ()), MonadIO m) => MethodInfo * KeyFileSaveToFileMethodInfo KeyFile signature |
keyFileSaveToFile :: MonadIO m => KeyFile -> Text -> m () Source
keyFileSetBoolean
data KeyFileSetBooleanMethodInfo Source
((~) * signature (Text -> Text -> Bool -> m ()), MonadIO m) => MethodInfo * KeyFileSetBooleanMethodInfo KeyFile signature |
keyFileSetBooleanList
data KeyFileSetBooleanListMethodInfo Source
((~) * signature (Text -> Text -> [Bool] -> m ()), MonadIO m) => MethodInfo * KeyFileSetBooleanListMethodInfo KeyFile signature |
keyFileSetComment
data KeyFileSetCommentMethodInfo Source
((~) * signature (Maybe Text -> Maybe Text -> Text -> m ()), MonadIO m) => MethodInfo * KeyFileSetCommentMethodInfo KeyFile signature |
keyFileSetDouble
data KeyFileSetDoubleMethodInfo Source
((~) * signature (Text -> Text -> Double -> m ()), MonadIO m) => MethodInfo * KeyFileSetDoubleMethodInfo KeyFile signature |
keyFileSetDoubleList
data KeyFileSetDoubleListMethodInfo Source
((~) * signature (Text -> Text -> [Double] -> m ()), MonadIO m) => MethodInfo * KeyFileSetDoubleListMethodInfo KeyFile signature |
keyFileSetInt64
data KeyFileSetInt64MethodInfo Source
((~) * signature (Text -> Text -> Int64 -> m ()), MonadIO m) => MethodInfo * KeyFileSetInt64MethodInfo KeyFile signature |
keyFileSetInteger
data KeyFileSetIntegerMethodInfo Source
((~) * signature (Text -> Text -> Int32 -> m ()), MonadIO m) => MethodInfo * KeyFileSetIntegerMethodInfo KeyFile signature |
keyFileSetIntegerList
data KeyFileSetIntegerListMethodInfo Source
((~) * signature (Text -> Text -> [Int32] -> m ()), MonadIO m) => MethodInfo * KeyFileSetIntegerListMethodInfo KeyFile signature |
keyFileSetListSeparator
data KeyFileSetListSeparatorMethodInfo Source
((~) * signature (Int8 -> m ()), MonadIO m) => MethodInfo * KeyFileSetListSeparatorMethodInfo KeyFile signature |
keyFileSetListSeparator :: MonadIO m => KeyFile -> Int8 -> m () Source
keyFileSetLocaleString
data KeyFileSetLocaleStringMethodInfo Source
((~) * signature (Text -> Text -> Text -> Text -> m ()), MonadIO m) => MethodInfo * KeyFileSetLocaleStringMethodInfo KeyFile signature |
keyFileSetLocaleStringList
data KeyFileSetLocaleStringListMethodInfo Source
((~) * signature (Text -> Text -> Text -> [Text] -> Word64 -> m ()), MonadIO m) => MethodInfo * KeyFileSetLocaleStringListMethodInfo KeyFile signature |
keyFileSetLocaleStringList :: MonadIO m => KeyFile -> Text -> Text -> Text -> [Text] -> Word64 -> m () Source
keyFileSetString
data KeyFileSetStringMethodInfo Source
((~) * signature (Text -> Text -> Text -> m ()), MonadIO m) => MethodInfo * KeyFileSetStringMethodInfo KeyFile signature |
keyFileSetStringList
data KeyFileSetStringListMethodInfo Source
((~) * signature (Text -> Text -> [Text] -> Word64 -> m ()), MonadIO m) => MethodInfo * KeyFileSetStringListMethodInfo KeyFile signature |
keyFileSetUint64
data KeyFileSetUint64MethodInfo Source
((~) * signature (Text -> Text -> Word64 -> m ()), MonadIO m) => MethodInfo * KeyFileSetUint64MethodInfo KeyFile signature |
keyFileSetValue
data KeyFileSetValueMethodInfo Source
((~) * signature (Text -> Text -> Text -> m ()), MonadIO m) => MethodInfo * KeyFileSetValueMethodInfo KeyFile signature |
keyFileToData
data KeyFileToDataMethodInfo Source
((~) * signature (m (Text, Word64)), MonadIO m) => MethodInfo * KeyFileToDataMethodInfo KeyFile signature |
keyFileUnref
data KeyFileUnrefMethodInfo Source
((~) * signature (m ()), MonadIO m) => MethodInfo * KeyFileUnrefMethodInfo KeyFile signature |
keyFileUnref :: MonadIO m => KeyFile -> m () Source