mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
27 lines
675 B
C
27 lines
675 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 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;
|
|
|
|
const FFTerminalShellResult* ffDetectTerminalShell(FFinstance* instance);
|
|
|
|
#endif
|