mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 08:13:44 +01:00
e0eba8ce21
```bash find . -type f \( -name "*.c" -o -name "*.h" -o -name "*.cpp" -o -name "*.hpp" \) ! -path "src/3rdparty/*" -print0 | xargs -0 clang-format -i ```
15 lines
345 B
C
15 lines
345 B
C
#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 */);
|