| Safe Haskell | Safe-Infered |
|---|
Hbro.Types
- data CommonDirectories = CommonDirectories {}
- data Environment = Environment {}
- data CliOptions = CliOptions {
- mURI :: Maybe String
- mVanilla :: Bool
- mDenyReconf :: Bool
- mForceReconf :: Bool
- mDyreDebug :: Bool
- mMasterBinary :: Maybe String
- data Config = Config {
- mCommonDirectories :: CommonDirectories
- mHomePage :: String
- mSocketDir :: FilePath
- mUIFile :: FilePath
- mKeyEventHandler :: KeyEventCallback -> ConnectId WebView -> WebView -> EventM EKey Bool
- mKeyEventCallback :: Environment -> KeyEventCallback
- mWebSettings :: [AttrOp WebSettings]
- mSetup :: Environment -> IO ()
- mCommands :: CommandsList
- mDownloadHook :: Environment -> URI -> String -> Int -> IO ()
- mError :: Maybe String
- data GUI = GUI {}
- data PromptBar = PromptBar {}
- type KeysList = [(([Modifier], String), IO ())]
- type KeysMap = Map (Set Modifier, String) (IO ())
- type KeyEventCallback = [Modifier] -> String -> IO Bool
- type CommandsList = [(String, [String] -> Socket Rep -> Environment -> IO ())]
- type CommandsMap = Map String ([String] -> Socket Rep -> Environment -> IO ())
Documentation
data CommonDirectories Source
Various directories used to store some runtime and static files.
Constructors
| CommonDirectories | |
Fields
| |
data Environment Source
The whole set of parameters and elements of the browser.
Constructors
| Environment | |
data CliOptions Source
Supported commandline options
Constructors
| CliOptions | |
Fields
| |
Instances
Constructors
| Config | |
Fields
| |
Constructors
| GUI | |
Fields
| |
type KeysList = [(([Modifier], String), IO ())]Source
List of bound keys. All callbacks are fed with the Environment instance.
Note 1 : for modifiers, lists are used for convenience purposes, but are transformed into sets in hbro's internal machinery, so that order and repetition don't matter.
Note 2 : for printable characters accessed via the shift modifier, you do have to include Shift in modifiers list.
type CommandsList = [(String, [String] -> Socket Rep -> Environment -> IO ())]Source
type CommandsMap = Map String ([String] -> Socket Rep -> Environment -> IO ())Source