mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-12 09:58:03 +02:00
35 lines
662 B
C
35 lines
662 B
C
#pragma once
|
|
|
|
#include "fastfetch.h"
|
|
|
|
typedef struct FFTempValue {
|
|
FFstrbuf name;
|
|
FFstrbuf deviceClass;
|
|
double value;
|
|
} FFTempValue;
|
|
|
|
enum FFTempType: uint8_t {
|
|
FF_TEMP_CPU_X64,
|
|
FF_TEMP_CPU_M1X,
|
|
FF_TEMP_CPU_M2X,
|
|
FF_TEMP_CPU_M3X,
|
|
FF_TEMP_CPU_M4X,
|
|
FF_TEMP_CPU_M5X,
|
|
|
|
FF_TEMP_GPU_INTEL,
|
|
FF_TEMP_GPU_AMD,
|
|
FF_TEMP_GPU_UNKNOWN,
|
|
FF_TEMP_GPU_M1X,
|
|
FF_TEMP_GPU_M2X,
|
|
FF_TEMP_GPU_M3X,
|
|
FF_TEMP_GPU_M4X,
|
|
FF_TEMP_GPU_M5X,
|
|
|
|
FF_TEMP_BATTERY,
|
|
|
|
FF_TEMP_MEMORY,
|
|
};
|
|
|
|
const char* ffDetectSmcSpecificTemp(const char* sensor, double* result);
|
|
const char* ffDetectSmcTemps(enum FFTempType type, double* result);
|