[gnome-bluetooth] Add status enumeration



commit 67eefcec6c2ace3e3e1f49fc1f7ca0c3bdc2cfd1
Author: Bastien Nocera <hadess hadess net>
Date:   Sun Jul 26 16:11:54 2009 +0100

    Add status enumeration
    
    To mark services as being connected, disconnected, or
    connecting.

 lib/bluetooth-enums.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/lib/bluetooth-enums.h b/lib/bluetooth-enums.h
index 7163607..3ec607a 100644
--- a/lib/bluetooth-enums.h
+++ b/lib/bluetooth-enums.h
@@ -79,6 +79,12 @@ typedef enum {
 	_BLUETOOTH_NUM_COLUMNS /*< skip >*/
 } BluetoothColumn;
 
+typedef enum {
+	BLUETOOTH_STATUS_DISCONNECTED = 0,
+	BLUETOOTH_STATUS_CONNECTED,
+	BLUETOOTH_STATUS_CONNECTING
+} BluetoothStatus;
+
 G_END_DECLS
 
 #endif /* __BLUETOOTH_ENUMS_H */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]