summaryrefslogtreecommitdiffstats
path: root/src/detection/camera/camera.h
blob: 52036b5cf10aebf6b274aac0a80feb76920f94c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#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 */);