-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Third-party extensions to hbro.
--   
--   Third-party extensions to hbro.
@package hbro-contrib
@version 1.1.1.0

module Hbro.StatusBar

-- | Write current scroll position in the given Label.
setupScrollWidget :: (MonadBase IO m, GUIReader n m) => Label -> m ()

-- | /!\ Doesn't work for now. Write current zoom level in the given Label.
setupZoomWidget :: (MonadBase IO m, GUIReader n m) => Label -> m ()

-- | Write current keystrokes state in the given <a>Label</a>
setupKeyStrokesWidget :: (MonadBase IO m, ConfigWriter m m, GUIReader m m) => Label -> m ()

-- | Write current load progress in the given <a>Label</a>.
setupProgressWidget :: (MonadBase IO m, GUIReader n m) => Label -> m ()

-- | Write current URI, or the destination of a hovered link, in the given
--   Label.
setupURIWidget :: (MonadBase IO m, GUIReader n m) => URIColors -> URIColors -> Label -> m ()
labelSetURI :: URIColors -> URIColors -> Label -> URI -> IO ()
data URIColors
URIColors :: Color -> Color -> Color -> Color -> Color -> Color -> Color -> URIColors
mScheme :: URIColors -> Color
mHost :: URIColors -> Color
mPort :: URIColors -> Color
mUser :: URIColors -> Color
mPath :: URIColors -> Color
mQuery :: URIColors -> Color
mFragment :: URIColors -> Color
defaultURIColors :: URIColors
defaultSecureURIColors :: URIColors

module Hbro.Settings

-- | Disable HTML5 database &amp; local storage, plugins and scripts.
paranoidWebSettings :: [AttrOp WebSettings]
chromeUserAgent :: String
safariUserAgent :: String
operaUserAgent :: String
internetExplorerUserAgent :: String
firefoxUserAgent :: String
epiphanyUserAgent :: String

module Hbro.Download
aria :: MonadBase IO m => FilePath -> URI -> String -> m ()
axel :: MonadBase IO m => FilePath -> URI -> String -> m ()
wget :: MonadBase IO m => FilePath -> URI -> String -> m ()

module Hbro.Misc

-- | Open dmenu with given input and return selected entry.
dmenu :: (Functor m, MonadBase IO m, MonadError HError m) => [String] -> String -> m String

-- | List preceding URIs in dmenu and let the user select which one to
--   load.
goBackList :: (Functor m, MonadBase IO m, GUIReader n m, MonadError HError m) => [String] -> m URI

-- | List succeeding URIs in dmenu and let the user select which one to
--   load.
goForwardList :: (Functor m, MonadBase IO m, GUIReader n m, MonadError HError m) => [String] -> m URI
itemToEntry :: WebHistoryItem -> IO (Maybe String)


-- | Designed to be imported as <tt>qualified</tt>.
module Hbro.History
data Entry
Entry :: LocalTime -> URI -> String -> Entry
mTime :: Entry -> LocalTime
mURI :: Entry -> URI
mTitle :: Entry -> String

-- | Log current visited page to history file
log :: (MonadBase IO m, ConfigReader n m, GUIReader n m, MonadError HError m) => FilePath -> m ()

-- | Add a new entry to history file
add :: (MonadBase IO m, ConfigReader n m, MonadError HError m) => FilePath -> Entry -> m ()

-- | Try to parse a String into a history Entry.
parseEntry :: MonadError HError m => String -> m Entry

-- | Open a dmenu with all (sorted alphabetically) history entries, and
--   return the user's selection, if any
select :: (Functor m, MonadBase IO m, MonadError HError m) => FilePath -> [String] -> m Entry
instance Show Entry


-- | Designed to be imported as <tt>qualified</tt>.
module Hbro.Bookmarks
data Entry
Entry :: URI -> [String] -> Entry
mURI :: Entry -> URI
mTags :: Entry -> [String]

-- | Add current webpage to bookmarks with given tags
add :: (Functor m, MonadBase IO m, GUIReader n m, MonadError HError m) => FilePath -> [String] -> m ()

-- | Add a custom entry to bookmarks
addCustom :: (MonadBase IO m, MonadError HError m) => FilePath -> Entry -> m ()

-- | Open a dmenu with all (sorted alphabetically) bookmarks entries, and
--   return the user's selection, if any.
select :: (Functor m, MonadBase IO m, MonadError HError m) => FilePath -> [String] -> m URI

-- | Open a dmenu with all (sorted alphabetically) bookmarks tags, and
--   return the user's selection, if any.
selectTag :: (Functor m, MonadBase IO m, MonadError HError m) => FilePath -> [String] -> m [URI]

-- | Remove all bookmarks entries matching the given tag.
deleteWithTag :: (Functor m, MonadBase IO m, MonadError HError m) => FilePath -> [String] -> m ()
instance Show Entry
