mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 00:03:58 +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 ```
16 lines
320 B
C
16 lines
320 B
C
#pragma once
|
|
|
|
#include "fastfetch.h"
|
|
#include "modules/camera/option.h"
|
|
|
|
typedef struct FFCameraResult {
|
|
FFstrbuf name;
|
|
FFstrbuf vendor;
|
|
FFstrbuf id;
|
|
FFstrbuf colorspace;
|
|
uint32_t width;
|
|
uint32_t height;
|
|
} FFCameraResult;
|
|
|
|
const char* ffDetectCamera(FFlist* result /* list of FFCameraResult */);
|