Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Provides environment for usage with DBus.
Synopsis
- class HasDBusClient env where
- data DBusEnv = MkDBusEnv {
- coreEnv :: !Env
- dbusClient :: !Client
- mkDBusEnv :: (HasCallStack, MonadIO m, MonadSTM m) => LogEnv -> Config -> m DBusEnv
- naviToDBus :: NaviNote -> Note
Documentation
class HasDBusClient env where Source #
Retrieves the notification client.
Instances
Concrete dbus environment. Adds the dbus client.
MkDBusEnv | |
|
Instances
HasEvents DBusEnv Source # | |
HasLogEnv DBusEnv Source # | |
HasLogQueue DBusEnv Source # | |
Defined in Navi.Env.DBus | |
HasNoteQueue DBusEnv Source # | |
Defined in Navi.Env.DBus | |
HasDBusClient DBusEnv Source # | |
(k ~ A_Lens, a ~ Env, b ~ Env) => LabelOptic "coreEnv" k DBusEnv DBusEnv a b Source # | |
Defined in Navi.Env.DBus | |
(k ~ A_Lens, a ~ Client, b ~ Client) => LabelOptic "dbusClient" k DBusEnv DBusEnv a b Source # | |
Defined in Navi.Env.DBus | |
MonadNotify (NaviT DBusEnv IO) Source # | |