d-bus-0.0.1.1: Permissively licensed D-Bus client library

Safe HaskellNone

DBus.Object

Documentation

class IsMethod f whereSource

Associated Types

type ArgTypes f Source

type ResultType f Source

Instances

SingI DBusType t => IsMethod (IO (DBusValue t)) 
(IsMethod f, SingI DBusType t) => IsMethod (DBusValue t -> f) 

class RepMethod f whereSource

Associated Types

type RepMethodArgs f :: [DBusType]Source

type RepMethodValue f :: DBusTypeSource

Instances

(Representable t, SingI DBusType (RepType t)) => RepMethod (IO t) 
(RepMethod b, Representable a, SingI DBusType (RepType a)) => RepMethod (a -> b) 

runMethodW :: SingI at => MethodWrapper at rt -> [SomeDBusValue] -> Maybe (IO (DBusValue rt))Source

runMethodW' :: Sing at -> [SomeDBusValue] -> MethodWrapper at rt -> Maybe (IO (DBusValue rt))Source

methodWSignature :: (SingI at, SingI rt) => MethodWrapper (at :: [DBusType]) (rt :: DBusType) -> ([DBusType], Maybe DBusType)Source