## BtIcRegistry

BtIcRegistry — buzztards interaction controller registry

## Synopsis

    #include <libbtic/ic.h>

    struct              BtIcRegistry;
    BtIcRegistry *      btic_registry_new                   (void);
    void                btic_registry_add_device            (BtIcDevice *device);
    void                btic_registry_remove_device_by_udi  (const gchar *udi);

## Object Hierarchy

      GObject
       +----BtIcRegistry

## Properties

      "devices"                  gpointer              : Read

## Description

Manages a dynamic list of controller devices. It uses HAL and dbus.

## Details

### struct BtIcRegistry

    struct BtIcRegistry;

buzztards interaction controller registry

### btic_registry_new ()

    BtIcRegistry *      btic_registry_new                   (void);

Create a new instance

Returns : | the new instance

### btic_registry_add_device ()

    void                btic_registry_add_device            (BtIcDevice *device);

Add the given device to the registry.

Only to be used by discoverers.

`device` : | new device

### btic_registry_remove_device_by_udi ()

    void                btic_registry_remove_device_by_udi  (const gchar *udi);

Remove device identified by the given `udi` from the registry.

Only to be used by discoverers.

`udi` : | device id

## Property Details

### The `"devices"` property

      "devices"                  gpointer              : Read

A copy of the list of control devices.