mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-12 14:31:00 +01:00
29 lines
744 B
C
29 lines
744 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 userShellExe;
|
|
const char* userShellExeName; //pointer to a char in userShellExe
|
|
FFstrbuf userShellVersion;
|
|
} FFTerminalShellResult;
|
|
|
|
const FFTerminalShellResult* ffDetectTerminalShell(const FFinstance* instance);
|
|
|
|
#endif
|