From 8624db249a558206af4b0a6bb99de317cd8f51a2 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Wed, 11 Nov 2009 13:50:01 -0800 Subject: [PATCH] doc: document bluetooth setting properties --- libnm-util/nm-setting-bluetooth.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/libnm-util/nm-setting-bluetooth.c b/libnm-util/nm-setting-bluetooth.c index 52bf05529..70840df90 100644 --- a/libnm-util/nm-setting-bluetooth.c +++ b/libnm-util/nm-setting-bluetooth.c @@ -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)); }