mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-30 17:41:41 +01:00
28 lines
600 B
C
28 lines
600 B
C
#pragma once
|
|
|
|
#ifndef FF_INCLUDED_detection_displayserver
|
|
#define FF_INCLUDED_detection_displayserver
|
|
|
|
typedef struct FFResolutionResult
|
|
{
|
|
uint32_t width;
|
|
uint32_t height;
|
|
uint32_t refreshRate;
|
|
} FFResolutionResult;
|
|
|
|
typedef struct FFDisplayServerResult
|
|
{
|
|
FFstrbuf wmProcessName;
|
|
FFstrbuf wmPrettyName;
|
|
FFstrbuf wmProtocolName;
|
|
FFstrbuf deProcessName;
|
|
FFstrbuf dePrettyName;
|
|
FFstrbuf deVersion;
|
|
FFlist resolutions; //List of FFResolutionResult
|
|
} FFDisplayServerResult;
|
|
|
|
const FFDisplayServerResult* ffConnectDisplayServer(const FFinstance* instance);
|
|
|
|
#endif
|
|
|