gi-gio-2.0.11: Gio bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gio.Interfaces.DBusInterface

Contents

Description

The DBusInterface type is the base type for D-Bus interfaces both on the service side (see DBusInterfaceSkeleton) and client side (see DBusProxy).

Synopsis

Exported types

Methods

getInfo

dBusInterfaceGetInfo Source #

Arguments

:: (HasCallStack, MonadIO m, IsDBusInterface a) 
=> a

interface_: An exported D-Bus interface.

-> m DBusInterfaceInfo

Returns: A DBusInterfaceInfo. Do not free.

Gets D-Bus introspection information for the D-Bus interface implemented by interface_.

Since: 2.30

getObject

dBusInterfaceGetObject Source #

Arguments

:: (HasCallStack, MonadIO m, IsDBusInterface a) 
=> a

interface_: An exported D-Bus interface.

-> m DBusObject

Returns: A DBusObject or Nothing. The returned reference should be freed with objectUnref.

Gets the DBusObject that interface_ belongs to, if any.

Since: 2.32

setObject

dBusInterfaceSetObject Source #

Arguments

:: (HasCallStack, MonadIO m, IsDBusInterface a, IsDBusObject b) 
=> a

interface_: An exported D-Bus interface.

-> Maybe b

object: A DBusObject or Nothing.

-> m () 

Sets the DBusObject for interface_ to object.

Note that interface_ will hold a weak reference to object.

Since: 2.30