Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- apiVersion :: Int
- data Runtime = Runtime {}
- rtSupportsANSI :: Lens' Runtime Bool
- rtExitMVar :: Lens' Runtime (MVar ())
- rtDzenBinary :: Lens' Runtime String
- rtConfigurations :: Lens' Runtime [Configuration]
- rtConfigDir :: Lens' Runtime String
- rtArguments :: Lens' Runtime Arguments
- data Subscription = AutomatonSubscription AutomatonAddress StateTransitionTable (HashMap AutomatonState (Bar Initialized)) (IORef AutomatonState) (IORef (Bar Initialized))
- type Subscriptions = HashMap Scope [Subscription]
- type ClickableAreas = HashMap Int Text
- type AutomataCache = HashMap (Scope, AutomatonAddress) (IORef (Bar Initialized), StateTransitionTable, HashMap AutomatonState (Bar Marshalled))
- data StartupState = StartupState {
- _ssSubscriptions :: Subscriptions
- _ssScopeName :: Scope
- _ssBarSettings :: BarSettings
- _ssNonce :: Int
- _ssSourceCache :: HashMap (Text, Source) (IORef Text, Cache)
- _ssAutomataCache :: AutomataCache
- _ssSourceQueue :: [(Source, IORef Text, Cache, Text)]
- _ssVariableDefinitions :: [(Scope, VariableName, Value)]
- _ssImages :: HashMap ImageContents ImageId
- _ssClickableAreas :: ClickableAreas
- _ssNamedPipe :: String
- _ssEmitterFile :: String
- _ssGetterFile :: String
- _ssSetterFile :: String
- _ssVariableFilePrefix :: String
- _ssImagePathPrefix :: String
- ssVariableFilePrefix :: Lens' StartupState String
- ssVariableDefinitions :: Lens' StartupState [(Scope, VariableName, Value)]
- ssSubscriptions :: Lens' StartupState Subscriptions
- ssSourceQueue :: Lens' StartupState [(Source, IORef Text, Cache, Text)]
- ssSourceCache :: Lens' StartupState (HashMap (Text, Source) (IORef Text, Cache))
- ssSetterFile :: Lens' StartupState String
- ssScopeName :: Lens' StartupState Scope
- ssNonce :: Lens' StartupState Int
- ssNamedPipe :: Lens' StartupState String
- ssImages :: Lens' StartupState (HashMap ImageContents ImageId)
- ssImagePathPrefix :: Lens' StartupState String
- ssGetterFile :: Lens' StartupState String
- ssEmitterFile :: Lens' StartupState String
- ssClickableAreas :: Lens' StartupState ClickableAreas
- ssBarSettings :: Lens' StartupState BarSettings
- ssAutomataCache :: Lens' StartupState AutomataCache
- data BarRuntime = BarRuntime {}
- brSetterScript :: Lens' BarRuntime String
- brNamedPipe :: Lens' BarRuntime String
- brHandle :: Lens' BarRuntime Handle
- brGetterScript :: Lens' BarRuntime String
- brFrameCounter :: Lens' BarRuntime Int
- brEmitterScript :: Lens' BarRuntime String
- brDzenHandle :: Lens' BarRuntime (Maybe ProcessHandle)
- brConfiguration :: Lens' BarRuntime Configuration
Documentation
apiVersion :: Int Source #
Runtime | |
|
data Subscription Source #
StateTransitionTable
is needed to know *how* to update,
is needed to know *what* to update.IORef
(Bar
Initialized
)
type Subscriptions = HashMap Scope [Subscription] Source #
type ClickableAreas = HashMap Int Text Source #
A mapping from clickable area identifiers to script contents.
We maintain this mapping to allow using scripts containing `)` in ^ca
.
dzen2
doesn't allow this.
type AutomataCache = HashMap (Scope, AutomatonAddress) (IORef (Bar Initialized), StateTransitionTable, HashMap AutomatonState (Bar Marshalled)) Source #
data StartupState Source #
StartupState | |
|
ssSourceQueue :: Lens' StartupState [(Source, IORef Text, Cache, Text)] Source #
data BarRuntime Source #
BarRuntime | |
|