altosui: Pull out BlueTooth support
[fw/altos] / altosui / libaltos / libaltos.h
index f710919c510ade1ba1fb96c026c45b9f6cee15fb..dd091e51333ceae96ca7a462c4dc24d3207bc426 100644 (file)
@@ -34,6 +34,8 @@
 # define PUBLIC
 #endif
 
+#define HAS_BLUETOOTH  0
+
 #define USB_VENDOR_FSF                 0xfffe
 #define USB_VENDOR_ALTUSMETRUM         USB_VENDOR_FSF
 #define USB_PRODUCT_ALTUSMETRUM                0x000a
@@ -109,6 +111,8 @@ altos_flush(struct altos_file *file);
 PUBLIC int
 altos_getchar(struct altos_file *file, int timeout);
 
+#if HAS_BLUETOOTH
+
 PUBLIC struct altos_bt_list *
 altos_bt_list_start(int inquiry_time);
 
@@ -124,4 +128,6 @@ altos_bt_fill_in(char *name, char *addr, struct altos_bt_device *device);
 PUBLIC struct altos_file *
 altos_bt_open(struct altos_bt_device *device);
 
+#endif
+
 #endif /* _LIBALTOS_H_ */