GUPnPUIDeviceStore

GUPnPUIDeviceStore — GtkTreeModel exposing a GUPnPControlPoint.

Synopsis

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

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

GUPnPUIDeviceStore

typedef struct _GUPnPUIDeviceStore GUPnPUIDeviceStore;


GUPnPUIDeviceStoreClass

typedef struct {
        GtkListStoreClass parent_class;

        /* future padding */
        void (* _gupnp_ui_reserved1) (void);
        void (* _gupnp_ui_reserved2) (void);
        void (* _gupnp_ui_reserved3) (void);
        void (* _gupnp_ui_reserved4) (void);
} GUPnPUIDeviceStoreClass;


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.


gupnp_ui_device_store_get_control_point ()

GUPnPControlPoint * gupnp_ui_device_store_get_control_point
                                                        (GUPnPUIDeviceStore *store);

store :

A GUPnPUIDeviceStore

Returns :

The exposed GUPnPControlPoint.

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.

Property Details

The "control-point" property

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

The exposed GUPnPControlPoint.