2022-07-26 18:06:30 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#ifndef FF_INCLUDED_detection_terminalshell
|
|
|
|
|
#define FF_INCLUDED_detection_terminalshell
|
|
|
|
|
|
|
|
|
|
#include "fastfetch.h"
|
|
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
|
2022-09-18 15:53:51 +02:00
|
|
|
const FFTerminalShellResult* ffDetectTerminalShell(const FFinstance* instance);
|
2022-07-26 18:06:30 +02:00
|
|
|
|
|
|
|
|
#endif
|