summaryrefslogtreecommitdiffstats
path: root/src/detection/poweradapter/poweradapter.h
blob: 2d889b7887278e370b6c7383da162fdb268d2252 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include "fastfetch.h"
#include "modules/poweradapter/option.h"

typedef struct FFPowerAdapterResult {
    FFstrbuf description;
    FFstrbuf name;
    FFstrbuf modelName;
    FFstrbuf manufacturer;
    FFstrbuf serial;
    int watts;
} FFPowerAdapterResult;

const char* ffDetectPowerAdapter(FFlist* results);