doc: document bluetooth setting properties

This commit is contained in:
Dan Williams
2009-11-11 13:50:01 -08:00
parent bced20c656
commit 8624db249a

View File

@@ -250,6 +250,11 @@ nm_setting_bluetooth_class_init (NMSettingBluetoothClass *setting_class)
/* Properties */
/**
* NMSettingBluetooth:bdaddr:
*
* The Bluetooth address of the device.
**/
g_object_class_install_property
(object_class, PROP_BDADDR,
_nm_param_spec_specialized (NM_SETTING_BLUETOOTH_BDADDR,
@@ -258,11 +263,20 @@ nm_setting_bluetooth_class_init (NMSettingBluetoothClass *setting_class)
DBUS_TYPE_G_UCHAR_ARRAY,
G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE));
/**
* NMSettingBluetooth:type:
*
* Either 'dun' for Dial-Up Networking connections (not yet supported) or
* 'panu' for Personal Area Networking connections.
**/
g_object_class_install_property
(object_class, PROP_TYPE,
g_param_spec_string (NM_SETTING_BLUETOOTH_TYPE,
"Connection type",
"Either '" NM_SETTING_BLUETOOTH_TYPE_DUN "' or '" NM_SETTING_BLUETOOTH_TYPE_PANU "'",
"Either '" NM_SETTING_BLUETOOTH_TYPE_DUN "' for "
"Dial-Up Networking connections (not yet supported) "
" or '" NM_SETTING_BLUETOOTH_TYPE_PANU "' for "
"Personal Area Networking connections.",
NULL,
G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE));
}