Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data SettingValue = SettingValue {
- namespace :: Text
- key :: Text
- value :: Variant
- standardValue :: Maybe StandardSetting
- newtype StandardSetting = SettingColorScheme ColorScheme
- data ColorScheme
- newtype ReadAllOptions = ReadAllOptions {
- namespaces :: [Text]
- newtype ReadAllResults = ReadAllResults {
- values :: [SettingValue]
- readAll :: Client -> ReadAllOptions -> IO ReadAllResults
- data ReadOptions = ReadOptions {}
- data ReadResults = ReadResults {}
- read :: Client -> ReadOptions -> IO ReadResults
Common Types
data SettingValue Source #
SettingValue | |
|
Instances
Show SettingValue Source # | |
Defined in Desktop.Portal.Settings showsPrec :: Int -> SettingValue -> ShowS # show :: SettingValue -> String # showList :: [SettingValue] -> ShowS # | |
Eq SettingValue Source # | |
Defined in Desktop.Portal.Settings (==) :: SettingValue -> SettingValue -> Bool # (/=) :: SettingValue -> SettingValue -> Bool # |
newtype StandardSetting Source #
Instances
Show StandardSetting Source # | |
Defined in Desktop.Portal.Settings showsPrec :: Int -> StandardSetting -> ShowS # show :: StandardSetting -> String # showList :: [StandardSetting] -> ShowS # | |
Eq StandardSetting Source # | |
Defined in Desktop.Portal.Settings (==) :: StandardSetting -> StandardSetting -> Bool # (/=) :: StandardSetting -> StandardSetting -> Bool # |
data ColorScheme Source #
Instances
Show ColorScheme Source # | |
Defined in Desktop.Portal.Settings showsPrec :: Int -> ColorScheme -> ShowS # show :: ColorScheme -> String # showList :: [ColorScheme] -> ShowS # | |
Eq ColorScheme Source # | |
Defined in Desktop.Portal.Settings (==) :: ColorScheme -> ColorScheme -> Bool # (/=) :: ColorScheme -> ColorScheme -> Bool # |
Read All
newtype ReadAllOptions Source #
ReadAllOptions | |
|
Instances
Show ReadAllOptions Source # | |
Defined in Desktop.Portal.Settings showsPrec :: Int -> ReadAllOptions -> ShowS # show :: ReadAllOptions -> String # showList :: [ReadAllOptions] -> ShowS # | |
Default ReadAllOptions Source # | |
Defined in Desktop.Portal.Settings def :: ReadAllOptions # | |
Eq ReadAllOptions Source # | |
Defined in Desktop.Portal.Settings (==) :: ReadAllOptions -> ReadAllOptions -> Bool # (/=) :: ReadAllOptions -> ReadAllOptions -> Bool # |
newtype ReadAllResults Source #
Instances
Show ReadAllResults Source # | |
Defined in Desktop.Portal.Settings showsPrec :: Int -> ReadAllResults -> ShowS # show :: ReadAllResults -> String # showList :: [ReadAllResults] -> ShowS # | |
Eq ReadAllResults Source # | |
Defined in Desktop.Portal.Settings (==) :: ReadAllResults -> ReadAllResults -> Bool # (/=) :: ReadAllResults -> ReadAllResults -> Bool # |
readAll :: Client -> ReadAllOptions -> IO ReadAllResults Source #
Read
data ReadOptions Source #
Instances
Show ReadOptions Source # | |
Defined in Desktop.Portal.Settings showsPrec :: Int -> ReadOptions -> ShowS # show :: ReadOptions -> String # showList :: [ReadOptions] -> ShowS # | |
Eq ReadOptions Source # | |
Defined in Desktop.Portal.Settings (==) :: ReadOptions -> ReadOptions -> Bool # (/=) :: ReadOptions -> ReadOptions -> Bool # |
data ReadResults Source #
Instances
Show ReadResults Source # | |
Defined in Desktop.Portal.Settings showsPrec :: Int -> ReadResults -> ShowS # show :: ReadResults -> String # showList :: [ReadResults] -> ShowS # | |
Eq ReadResults Source # | |
Defined in Desktop.Portal.Settings (==) :: ReadResults -> ReadResults -> Bool # (/=) :: ReadResults -> ReadResults -> Bool # |
read :: Client -> ReadOptions -> IO ReadResults Source #