module Network.DBus.StdMessage
(
dbusDestination
, dbusPath
, dbusInterface
, msgDBusHello
, msgDBusListNames
, msgDBusAddMatch
) where
import Network.DBus.Message
import Network.DBus.MessageType
import Network.DBus.Type
import Data.String
dbusDestination :: BusName
dbusDestination = "org.freedesktop.DBus"
dbusPath = "/org/freedesktop/DBus"
dbusInterface = "org.freedesktop.DBus"
msgDBusHello = DBusCall dbusPath "Hello" (Just dbusInterface) []
msgDBusListNames = DBusCall dbusPath "ListNames" (Just dbusInterface) []
msgDBusAddMatch matchingRule = DBusCall dbusPath "AddMatch" (Just dbusInterface) [ DBusString $ fromString matchingRule ]