GUPnPUIDeviceStore

GUPnPUIDeviceStore — GtkTreeModel exposing a GUPnPControlPoint.

Synopsis

enum                GUPnPUIDeviceStoreCol;
                    GUPnPUIDeviceStorePrivate;
                    GUPnPUIDeviceStore;
GUPnPUIDeviceStore * gupnp_ui_device_store_new          (GUPnPControlPoint *control_point);
GUPnPControlPoint * gupnp_ui_device_store_get_control_point
                                                        (GUPnPUIDeviceStore *store);

Object Hierarchy

  GObject
   +----GtkListStore
         +----GUPnPUIDeviceStore

Implemented Interfaces

GUPnPUIDeviceStore implements GtkTreeModel, GtkTreeDragSource, GtkTreeDragDest, GtkTreeSortable and GtkBuildable.

Properties

  "control-point"            GUPnPControlPoint*    : Read / Write / Construct Only

Description

GUPnPUIDeviceStore exposes the discovery results of a GUPnPControlPoint through a GtkTreeModel interface.

Details

enum GUPnPUIDeviceStoreCol

typedef enum {
        GUPNP_UI_DEVICE_STORE_COL_PROXY         = 0,
        GUPNP_UI_DEVICE_STORE_COL_FRIENDLY_NAME = 1
} GUPnPUIDeviceStoreCol;

GtkTreeModel column numbers.

GUPNP_UI_DEVICE_STORE_COL_PROXY: Column of type GUPNP_TYPE_DEVICE_PROXY containing the device's GUPnPDeviceProxy. GUPNP_UI_DEVICE_STORE_COL_FRIENDLY_NAME: Column of type G_TYPE_STRING containing the device's friendly name.


GUPnPUIDeviceStorePrivate

typedef struct _GUPnPUIDeviceStorePrivate GUPnPUIDeviceStorePrivate;


GUPnPUIDeviceStore

typedef struct _GUPnPUIDeviceStore GUPnPUIDeviceStore;


gupnp_ui_device_store_new ()

GUPnPUIDeviceStore * gupnp_ui_device_store_new          (GUPnPControlPoint *control_point);

control_point :

The GUPnPControlPoint to expose

Returns :

A new GUPnPUIDeviceStore object.

gupnp_ui_device_store_get_control_point ()

GUPnPControlPoint * gupnp_ui_device_store_get_control_point
                                                        (GUPnPUIDeviceStore *store);

store :

A GUPnPUIDeviceStore

Returns :

The exposed GUPnPControlPoint.

Property Details

The "control-point" property

  "control-point"            GUPnPControlPoint*    : Read / Write / Construct Only

The exposed GUPnPControlPoint.