Safe Haskell | None |
---|---|
Language | Haskell98 |
DBus.Generation
Documentation
type ClientBusPathR a = ReaderT (Client, BusName, ObjectPath) IO a Source #
dbusInvoke :: (Client -> BusName -> ObjectPath -> a) -> ClientBusPathR a Source #
(?/?) :: ClientBusPathR (a -> IO b) -> a -> ClientBusPathR b infixl 4 Source #
data GenerationParams Source #
Constructors
GenerationParams | |
Fields
|
defaultGetDictType :: Type -> Type -> Type Source #
defaultGetTHType :: Type -> Type Source #
buildGetTHType :: (Type -> Type) -> (Type -> Type -> Type) -> Type -> Type Source #
newNameDef :: String -> Q Name Source #
addTypeArg :: Type -> Type -> Type Source #
addTypeArgIf :: Bool -> Type -> Type -> Type Source #
unitIOType :: Type Source #
generateClient :: GenerationParams -> Interface -> Q [Dec] Source #
makeToVariantApp :: Name -> Exp Source #
makeFromVariantApp :: Name -> Exp Source #
makeJustPattern :: Name -> Pat Source #
runGetFirst :: [Maybe a] -> Maybe a Source #
buildGeneratedSignature :: Bool -> Bool -> Type -> Type Source #
getSetMethodCallParams :: Name -> Maybe Name -> Maybe Name -> ExpQ -> ExpQ Source #
clientArgumentUnpackingMessage :: String Source #
generateClientMethod :: GenerationParams -> Method -> Q [Dec] Source #
generateClientProperty :: GenerationParams -> Property -> Q [Dec] Source #
generateSignalsFromInterface :: GenerationParams -> Interface -> Q [Dec] Source #
generateSignals :: GenerationParams -> InterfaceName -> [Signal] -> Q [Dec] Source #
generateSignal :: GenerationParams -> Signal -> Q [Dec] Source #
generateFromFilePath :: GenerationParams -> FilePath -> Q [Dec] Source #