Refactor: move temps detection to own header

This commit is contained in:
Linus Dierheimer
2022-07-26 18:13:12 +02:00
parent fb6da20b0c
commit 676485ef74
5 changed files with 25 additions and 15 deletions
-15
View File
@@ -189,18 +189,6 @@ typedef struct FFVulkanResult
FFlist devices; //List of FFGPUResult
} FFVulkanResult;
typedef struct FFTempValue
{
FFstrbuf name;
FFstrbuf deviceClass;
double value;
} FFTempValue;
typedef struct FFTempsResult
{
FFlist values; //List of FFTempValue
} FFTempsResult;
typedef struct FFMediaResult
{
FFstrbuf busNameShort; //e.g. plasma-browser-integration
@@ -238,9 +226,6 @@ void ffLogoBuiltinListAutocompletion();
// Detection functions //
/////////////////////////
//detection/temps.c (currently unused)
const FFTempsResult* ffDetectTemps(const FFinstance* instance);
//detection/media.c
const FFMediaResult* ffDetectMedia(FFinstance* instance);