doc: document bluetooth setting properties
This commit is contained in:
@@ -250,6 +250,11 @@ nm_setting_bluetooth_class_init (NMSettingBluetoothClass *setting_class)
|
|||||||
|
|
||||||
/* Properties */
|
/* Properties */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* NMSettingBluetooth:bdaddr:
|
||||||
|
*
|
||||||
|
* The Bluetooth address of the device.
|
||||||
|
**/
|
||||||
g_object_class_install_property
|
g_object_class_install_property
|
||||||
(object_class, PROP_BDADDR,
|
(object_class, PROP_BDADDR,
|
||||||
_nm_param_spec_specialized (NM_SETTING_BLUETOOTH_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,
|
DBUS_TYPE_G_UCHAR_ARRAY,
|
||||||
G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE));
|
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
|
g_object_class_install_property
|
||||||
(object_class, PROP_TYPE,
|
(object_class, PROP_TYPE,
|
||||||
g_param_spec_string (NM_SETTING_BLUETOOTH_TYPE,
|
g_param_spec_string (NM_SETTING_BLUETOOTH_TYPE,
|
||||||
"Connection 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,
|
NULL,
|
||||||
G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE));
|
G_PARAM_READWRITE | NM_SETTING_PARAM_SERIALIZE));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user