From 76424950e373d3b04ac3dd13019151bfba3e8423 Mon Sep 17 00:00:00 2001 From: sumuel Date: Mon, 17 Aug 2026 20:44:55 +0000 Subject: Add the files --- src/detection/bluetooth/bluetooth.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/detection/bluetooth/bluetooth.h (limited to 'src/detection/bluetooth/bluetooth.h') 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 */); -- cgit v1.2.3