2022-07-26 17:33:51 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#ifndef FF_INCLUDED_detection_os
|
|
|
|
|
#define FF_INCLUDED_detection_os
|
|
|
|
|
|
2022-07-26 18:06:30 +02:00
|
|
|
#include "fastfetch.h"
|
2022-07-26 17:33:51 +02:00
|
|
|
|
|
|
|
|
typedef struct FFOSResult
|
|
|
|
|
{
|
|
|
|
|
FFstrbuf name;
|
|
|
|
|
FFstrbuf prettyName;
|
|
|
|
|
FFstrbuf id;
|
|
|
|
|
FFstrbuf idLike;
|
|
|
|
|
FFstrbuf variant;
|
|
|
|
|
FFstrbuf variantID;
|
|
|
|
|
FFstrbuf version;
|
|
|
|
|
FFstrbuf versionID;
|
|
|
|
|
FFstrbuf codename;
|
|
|
|
|
FFstrbuf buildID;
|
2022-09-04 13:33:18 +02:00
|
|
|
FFstrbuf systemName;
|
2022-07-26 17:33:51 +02:00
|
|
|
FFstrbuf architecture;
|
|
|
|
|
} FFOSResult;
|
|
|
|
|
|
|
|
|
|
const FFOSResult* ffDetectOS(const FFinstance* instance);
|
|
|
|
|
|
|
|
|
|
#endif
|