Bluetooth Discovery
[UI Widgets]


Data Structures

struct  _AlpBluetoothDiscoveryDialog
 bluetooth discovery widget structure More...

Defines

#define ALP_BLUETOOTH_DISCOVERY_DIALOG(object)   (G_TYPE_CHECK_INSTANCE_CAST ((object), ALP_TYPE_BLUETOOTH_DISCOVERY_DIALOG, AlpBluetoothDiscoveryDialog))
#define ALP_BLUETOOTH_DISCOVERY_DIALOG_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), ALP_TYPE_BLUETOOTH_DISCOVERY_DIALOG, AlpBluetoothDiscoveryDialogClass))
#define ALP_BLUETOOTH_DISCOVERY_DIALOG_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), ALP_TYPE_BLUETOOTH_DISCOVERY_DIALOG, AlpBluetoothDiscoveryDialogClass))
#define ALP_IS_BLUETOOTH_DISCOVERY_DIALOG(object)   (G_TYPE_CHECK_INSTANCE_TYPE ((object), ALP_TYPE_BLUETOOTH_DISCOVERY_DIALOG))
#define ALP_IS_BLUETOOTH_DISCOVERY_DIALOG_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), ALP_TYPE_BLUETOOTH_DISCOVERY_DIALOG))
#define ALP_TYPE_BLUETOOTH_DISCOVERY_DIALOG   (alp_bluetooth_discovery_dialog_get_type ())
 bluetooth discovery widget macros

Typedefs

typedef _AlpBluetoothDiscoveryDialog AlpBluetoothDiscoveryDialog
 bluetooth discovery widget structure

Functions

guint alp_bluetooth_discovery_dialog_get_selection (AlpBluetoothDiscoveryDialog *ioDialogP, gchar ***oDeviceTableP)
 Getlist of devices selected by user.
GType alp_bluetooth_discovery_dialog_get_type (void) G_GNUC_CONST
 get_type method for AlpBluetoothDiscoveryDialog.
GtkWidget * alp_bluetooth_discovery_dialog_new (GtkWindow *iParentP, guint iMaxDeviceSelection)
 Create new ALP Bluetooth Discovery dialog.
gint alp_bluetooth_discovery_dialog_run (AlpBluetoothDiscoveryDialog *ioDialogP)
 Run ALP Bluetooth Discovery dialog.
void alp_bluetooth_discovery_dialog_set_action_button_text (AlpBluetoothDiscoveryDialog *ioDialogP, gchar *iString)
 Set 'ok' button text.
void alp_bluetooth_discovery_dialog_set_cancel_button_text (AlpBluetoothDiscoveryDialog *ioDialogP, gchar *iString)
 Set 'cancel' button text.
void alp_bluetooth_discovery_dialog_set_filter (AlpBluetoothDiscoveryDialog *ioDialogP, AlpBluetoothClassOfDeviceType *iFilterTableP, guint filterTableLen)
 Set Class of Device used to filter display.
void alp_bluetooth_discovery_dialog_set_instruction (AlpBluetoothDiscoveryDialog *ioDialogP, gchar *iString)
 Set instruction text displayed in dialog.


Define Documentation

#define ALP_BLUETOOTH_DISCOVERY_DIALOG object   )     (G_TYPE_CHECK_INSTANCE_CAST ((object), ALP_TYPE_BLUETOOTH_DISCOVERY_DIALOG, AlpBluetoothDiscoveryDialog))
 

#define ALP_BLUETOOTH_DISCOVERY_DIALOG_CLASS klass   )     (G_TYPE_CHECK_CLASS_CAST ((klass), ALP_TYPE_BLUETOOTH_DISCOVERY_DIALOG, AlpBluetoothDiscoveryDialogClass))
 

#define ALP_BLUETOOTH_DISCOVERY_DIALOG_GET_CLASS obj   )     (G_TYPE_INSTANCE_GET_CLASS ((obj), ALP_TYPE_BLUETOOTH_DISCOVERY_DIALOG, AlpBluetoothDiscoveryDialogClass))
 

#define ALP_IS_BLUETOOTH_DISCOVERY_DIALOG object   )     (G_TYPE_CHECK_INSTANCE_TYPE ((object), ALP_TYPE_BLUETOOTH_DISCOVERY_DIALOG))
 

#define ALP_IS_BLUETOOTH_DISCOVERY_DIALOG_CLASS klass   )     (G_TYPE_CHECK_CLASS_TYPE ((klass), ALP_TYPE_BLUETOOTH_DISCOVERY_DIALOG))
 

#define ALP_TYPE_BLUETOOTH_DISCOVERY_DIALOG   (alp_bluetooth_discovery_dialog_get_type ())
 

bluetooth discovery widget macros


Typedef Documentation

typedef struct _AlpBluetoothDiscoveryDialog AlpBluetoothDiscoveryDialog
 

bluetooth discovery widget structure


Function Documentation

guint alp_bluetooth_discovery_dialog_get_selection AlpBluetoothDiscoveryDialog ioDialogP,
gchar ***  oDeviceTableP
 

Getlist of devices selected by user.

Parameters:
[in] ioDialogP an AlpBluetoothDiscovery
[out] oDeviceTableP bluetooth device table list. Free with g_strfreev().
Returns:
number of device selected by user

GType alp_bluetooth_discovery_dialog_get_type void   ) 
 

get_type method for AlpBluetoothDiscoveryDialog.

Returns:
Returns a glib::GType

GtkWidget* alp_bluetooth_discovery_dialog_new GtkWindow *  iParentP,
guint  iMaxDeviceSelection
 

Create new ALP Bluetooth Discovery dialog.

The selected devices will be returned in the deviceTable argument. The deviceTableLen argument specifies the capacity of the deviceTable, and has an effect upon the UI -- the user will be prevented from selecting more than deviceTableLen devices.

The maxDeviceSelection argument limit number of device selectable by user. If it is set to one, check boxes are not displayed in UI.

Parameters:
[in] iParentP GTK+ parent window
[in] iMaxDeviceSelection maximun number of device selectable by user
Returns:
a new AlpBluetoothDiscovery

gint alp_bluetooth_discovery_dialog_run AlpBluetoothDiscoveryDialog ioDialogP  ) 
 

Run ALP Bluetooth Discovery dialog.

Parameters:
[in] ioDialogP an AlpBluetoothDiscovery
Returns:
response ID

void alp_bluetooth_discovery_dialog_set_action_button_text AlpBluetoothDiscoveryDialog ioDialogP,
gchar *  iString
 

Set 'ok' button text.

Parameters:
[in] ioDialogP an AlpBluetoothDiscovery
[in] iString text for 'ok' button (NULL: use default)

void alp_bluetooth_discovery_dialog_set_cancel_button_text AlpBluetoothDiscoveryDialog ioDialogP,
gchar *  iString
 

Set 'cancel' button text.

Parameters:
[in] ioDialogP an AlpBluetoothDiscovery
[in] iString text for 'cancel' button (NULL: use default)

void alp_bluetooth_discovery_dialog_set_filter AlpBluetoothDiscoveryDialog ioDialogP,
AlpBluetoothClassOfDeviceType iFilterTableP,
guint  filterTableLen
 

Set Class of Device used to filter display.

The filterTable argument can be used to restrict the devices that are presented to the user based upon class-of-device. If a discovered device's class-of-device is not among the class-of-devices in the filterTable, then it will not be presented to the user. If filterTable is null, then no filtering will be done.

Parameters:
[in] ioDialogP an AlpBluetoothDiscovery
[in] iFilterTableP table of device classes for filtering (NULL: don't filter)
[in] filterTableLen length (number of entries) of the filter table

void alp_bluetooth_discovery_dialog_set_instruction AlpBluetoothDiscoveryDialog ioDialogP,
gchar *  iString
 

Set instruction text displayed in dialog.

Parameters:
[in] ioDialogP an AlpBluetoothDiscovery
[in] iString text at top of selection box (NULL: use default)


Generated on Wed Jul 30 07:06:42 2008 by Doxygen 1.4.6 for ALP SDK + Hiker Documentation

Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.