summaryrefslogtreecommitdiffstats
path: root/src/detection/bluetooth/bluetooth.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/detection/bluetooth/bluetooth.h')
-rw-r--r--src/detection/bluetooth/bluetooth.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/detection/bluetooth/bluetooth.h b/src/detection/bluetooth/bluetooth.h
new file mode 100644
index 0000000..dde8085
--- /dev/null
+++ b/src/detection/bluetooth/bluetooth.h
@@ -0,0 +1,14 @@
+#pragma once
+
+#include "fastfetch.h"
+#include "modules/bluetooth/option.h"
+
+typedef struct FFBluetoothResult {
+ FFstrbuf name;
+ FFstrbuf address;
+ FFstrbuf type;
+ uint8_t battery; // 0-100%
+ bool connected;
+} FFBluetoothResult;
+
+const char* ffDetectBluetooth(FFBluetoothOptions* options, FFlist* devices /* FFBluetoothResult */);