X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=spi-common%2Fspi-dbus.h;h=80b626608ca7a699720bca18988effa11849ed34;hb=3966a59c3dd7ecdf3176573171697ebef68ef5da;hp=c8c5489bdc6aa8366b4c8adbd7fe05148ddeedf4;hpb=ff143bfb6c3ca9e1a7362bd7f9c7c5eba31eb135;p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git diff --git a/spi-common/spi-dbus.h b/spi-common/spi-dbus.h index c8c5489..80b6266 100644 --- a/spi-common/spi-dbus.h +++ b/spi-common/spi-dbus.h @@ -31,13 +31,29 @@ extern int _dbg; -#define SPI_DBUS_NAME_REGISTRY "org.freedesktop.atspi.registry" -#define SPI_DBUS_PATH_REGISTRY "/org/freedesktop/atspi/registry" -#define SPI_DBUS_INTERFACE_REGISTRY "org.freedesktop.atspi.registry" #define SPI_DBUS_PATH_DEC "/org/freedesktop/atspi/registry/dec" -#define SPI_DBUS_INTERFACE_DEC "org.freedesktop.atspi.deviceEventController" +#define SPI_DBUS_INTERFACE_ACCESSIBLE "org.freedesktop.atspi.Accessible" +#define SPI_DBUS_INTERFACE_ACTION "org.freedesktop.atspi.Action" +#define SPI_DBUS_INTERFACE_APPLICATION "org.freedesktop.atspi.Application" +#define SPI_DBUS_INTERFACE_COMPONENT "org.freedesktop.atspi.Component" +#define SPI_DBUS_INTERFACE_DEC "org.freedesktop.atspi.DeviceEventController" +#define SPI_DBUS_INTERFACE_DEVICE_EVENT_LISTENER "org.freedesktop.atspi.DeviceEventListener" +#define SPI_DBUS_INTERFACE_DESKTOP "org.freedesktop.atspi.Desktop" +#define SPI_DBUS_INTERFACE_DOCUMENT "org.freedesktop.atspi.Document" +#define SPI_DBUS_INTERFACE_EDITABLE_TEXT "org.freedesktop.atspi.EditableText" +#define SPI_DBUS_INTERFACE_HYPERLINK "org.freedesktop.atspi.Hyperlink" +#define SPI_DBUS_INTERFACE_HYPERTEXT "org.freedesktop.atspi.Hypertext" +#define SPI_DBUS_INTERFACE_IMAGE "org.freedesktop.atspi.Image" +#define SPI_DBUS_INTERFACE_REGISTRY "org.freedesktop.atspi.Registry" +#define SPI_DBUS_INTERFACE_SELECTION "org.freedesktop.atspi.Selection" +#define SPI_DBUS_INTERFACE_TABLE "org.freedesktop.atspi.Table" +#define SPI_DBUS_INTERFACE_TEXT "org.freedesktop.atspi.Text" +#define SPI_DBUS_INTERFACE_TREE "org.freedesktop.atspi.Tree" +#define SPI_DBUS_INTERFACE_VALUE "org.freedesktop.atspi.Value" +#define SPI_DBUS_NAME_REGISTRY "org.freedesktop.atspi.Registry" #define SPI_DBUS_PATH_DESKTOP "/org/freedesktop/atspi/registry/desktop" #define SPI_DBUS_PATH_NULL "/" +#define SPI_DBUS_PATH_REGISTRY "/org/freedesktop/atspi/registry" DBusMessage *spi_dbus_general_error(DBusMessage *message); DBusMessage *spi_dbus_return_rect(DBusMessage *message, gint ix, gint iy, gint iwidth, gint iheight); @@ -49,5 +65,8 @@ dbus_bool_t spi_dbus_message_iter_get_struct(DBusMessageIter *iter, ...); dbus_bool_t spi_dbus_message_iter_append_struct(DBusMessageIter *iter, ...); dbus_bool_t spi_dbus_marshall_deviceEvent(DBusMessage *message, const Accessibility_DeviceEvent *e); dbus_bool_t spi_dbus_demarshall_deviceEvent(DBusMessage *message, Accessibility_DeviceEvent *e); +dbus_bool_t spi_dbus_get_simple_property (DBusConnection *bus, const char *dest, const char *path, const char *interface, const char *prop, int *type, void *ptr, DBusError *error); +void spi_dbus_add_disconnect_match (DBusConnection *bus, const char *name); +void spi_dbus_remove_disconnect_match (DBusConnection *bus, const char *name); #endif /* SPI_DBUS_H_ */