Refactor: move terminal/shell detection to own header

This commit is contained in:
Linus Dierheimer committed 2022-07-26 18:06:30 +02:00
1 parent 5c1aa20042
commit 0c81d3e894
12 files changed
+37 -23

No files matched your search

-19
View File
@@ -173,22 +173,6 @@ typedef struct FFinstance
FFstate state;
} FFinstance;
typedef struct FFTerminalShellResult
{
FFstrbuf shellProcessName;
FFstrbuf shellExe;
const char* shellExeName; //pointer to a char in shellExe
FFstrbuf shellVersion;
FFstrbuf terminalProcessName;
FFstrbuf terminalExe;
const char* terminalExeName; //pointer to a char in terminalExe
FFstrbuf userShellExe;
const char* userShellExeName; //pointer to a char in userShellExe
FFstrbuf userShellVersion;
} FFTerminalShellResult;
typedef struct FFGPUResult
{
FFstrbuf vendor;
@@ -279,9 +263,6 @@ void ffLogoBuiltinListAutocompletion();
// Detection functions //
/////////////////////////
//detection/terminalShell.c
const FFTerminalShellResult* ffDetectTerminalShell(FFinstance* instance);
//detection/temps.c (currently unused)
const FFTempsResult* ffDetectTemps(const FFinstance* instance);