summary refs log tree commit diff
path: root/src/nm-device-bt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nm-device-bt.h')
-rw-r--r--src/nm-device-bt.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/nm-device-bt.h b/src/nm-device-bt.h
index d3187d76..0d54d607 100644
--- a/src/nm-device-bt.h
+++ b/src/nm-device-bt.h
@@ -33,6 +33,12 @@ G_BEGIN_DECLS
 #define NM_IS_DEVICE_BT_CLASS(klass)	(G_TYPE_CHECK_CLASS_TYPE ((klass),  NM_TYPE_DEVICE_BT))
 #define NM_DEVICE_BT_GET_CLASS(obj)	(G_TYPE_INSTANCE_GET_CLASS ((obj),  NM_TYPE_DEVICE_BT, NMDeviceBtClass))
 
+typedef enum {
+	NM_BT_ERROR_CONNECTION_NOT_BT = 0,   /*< nick=ConnectionNotBt >*/
+	NM_BT_ERROR_CONNECTION_INVALID,      /*< nick=ConnectionInvalid >*/
+	NM_BT_ERROR_CONNECTION_INCOMPATIBLE, /*< nick=ConnectionIncompatible >*/
+} NMBtError;
+
 #define NM_DEVICE_BT_HW_ADDRESS   "hw-address"
 #define NM_DEVICE_BT_NAME         "name"
 #define NM_DEVICE_BT_CAPABILITIES "bt-capabilities"
@@ -69,4 +75,4 @@ gboolean nm_device_bt_modem_removed (NMDeviceBt *device, NMModem *modem);
 
 G_END_DECLS
 
-#endif /* NM_GSM_DEVICE_H */
+#endif /* NM_DEVICE_BT_H */