mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-31 01:56:28 +01:00
30 lines
774 B
C
30 lines
774 B
C
#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 shellPrettyName;
|
|
FFstrbuf shellVersion;
|
|
|
|
FFstrbuf terminalProcessName;
|
|
FFstrbuf terminalExe;
|
|
FFstrbuf terminalPrettyName;
|
|
const char* terminalExeName; //pointer to a char in terminalExe
|
|
FFstrbuf terminalVersion;
|
|
|
|
FFstrbuf userShellExe;
|
|
const char* userShellExeName; //pointer to a char in userShellExe
|
|
FFstrbuf userShellVersion;
|
|
} FFTerminalShellResult;
|
|
|
|
const FFTerminalShellResult* ffDetectTerminalShell(const FFinstance* instance);
|
|
|
|
#endif
|