mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-06 21:24:43 +01:00
Global: remove #ifndef FF_INCLUDED_* guards
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_battery_battery
|
||||
#define FF_INCLUDED_detection_battery_battery
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
#define FF_BATTERY_TEMP_UNSET (0/0.0)
|
||||
@@ -19,5 +16,3 @@ typedef struct FFBatteryResult
|
||||
} FFBatteryResult;
|
||||
|
||||
const char* ffDetectBattery(FFBatteryOptions* options, FFlist* results);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_bios_bios
|
||||
#define FF_INCLUDED_detection_bios_bios
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
typedef struct FFBiosResult
|
||||
@@ -15,5 +12,3 @@ typedef struct FFBiosResult
|
||||
} FFBiosResult;
|
||||
|
||||
const char* ffDetectBios(FFBiosResult* bios);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_bluetooth_bluetooth
|
||||
#define FF_INCLUDED_detection_bluetooth_bluetooth
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
typedef struct FFBluetoothResult
|
||||
@@ -15,5 +12,3 @@ typedef struct FFBluetoothResult
|
||||
} FFBluetoothResult;
|
||||
|
||||
const char* ffDetectBluetooth(FFlist* devices /* FFBluetoothResult */);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_board_board
|
||||
#define FF_INCLUDED_detection_board_board
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
typedef struct FFBoardResult
|
||||
@@ -13,5 +10,3 @@ typedef struct FFBoardResult
|
||||
} FFBoardResult;
|
||||
|
||||
const char* ffDetectBoard(FFBoardResult* result);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_brightness_brightness
|
||||
#define FF_INCLUDED_detection_brightness_brightness
|
||||
|
||||
#include "fastfetch.h"
|
||||
#include "util/FFlist.h"
|
||||
|
||||
@@ -13,5 +10,3 @@ typedef struct FFBrightnessResult
|
||||
} FFBrightnessResult;
|
||||
|
||||
const char* ffDetectBrightness(FFBrightnessOptions* options, FFlist* result); // list of FFBrightnessResult
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_chassis_chassis
|
||||
#define FF_INCLUDED_detection_chassis_chassis
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
typedef struct FFChassisResult
|
||||
@@ -14,5 +11,3 @@ typedef struct FFChassisResult
|
||||
|
||||
const char* ffDetectChassis(FFChassisResult* result, FFChassisOptions* options);
|
||||
const char* ffChassisTypeToString(uint32_t type);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_cpu_cpu
|
||||
#define FF_INCLUDED_detection_cpu_cpu
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
#define FF_CPU_TEMP_UNSET (0/0.0)
|
||||
@@ -23,5 +20,3 @@ typedef struct FFCPUResult
|
||||
} FFCPUResult;
|
||||
|
||||
const char* ffDetectCPU(const FFCPUOptions* options, FFCPUResult* cpu);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_cpuusage_cpuusage
|
||||
#define FF_INCLUDED_detection_cpuusage_cpuusage
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
typedef struct FFCpuUsageInfo {
|
||||
@@ -12,5 +9,3 @@ typedef struct FFCpuUsageInfo {
|
||||
const char* ffGetCpuUsageInfo(FFlist* cpuTimes);
|
||||
|
||||
const char* ffGetCpuUsageResult(FFlist* result); // list of double
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_cursor_cursor
|
||||
#define FF_INCLUDED_detection_cursor_cursor
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
typedef struct FFCursorResult
|
||||
@@ -13,5 +10,3 @@ typedef struct FFCursorResult
|
||||
} FFCursorResult;
|
||||
|
||||
void ffDetectCursor(FFCursorResult* result);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_disk_disk
|
||||
#define FF_INCLUDED_detection_disk_disk
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
typedef struct FFDisk
|
||||
@@ -27,5 +24,3 @@ typedef struct FFDisk
|
||||
* If error is not set, disks contains at least one disk.
|
||||
*/
|
||||
const char* ffDetectDisks(FFDiskOptions* options, FFlist* result /* list of FFDisk */);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_displayserver
|
||||
#define FF_INCLUDED_detection_displayserver
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
#define FF_DE_PRETTY_PLASMA "KDE Plasma"
|
||||
@@ -85,5 +82,3 @@ bool ffdsAppendDisplay(
|
||||
FFDisplayType type,
|
||||
bool primary,
|
||||
uint64_t id);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_font_font
|
||||
#define FF_INCLUDED_detection_font_font
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
#define FF_DETECT_FONT_NUM_FONTS 4
|
||||
@@ -20,5 +17,3 @@ typedef struct FFFontResult
|
||||
} FFFontResult;
|
||||
|
||||
const char* ffDetectFont(FFFontResult* font);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_gamepad_gamepad
|
||||
#define FF_INCLUDED_detection_gamepad_gamepad
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
typedef struct FFGamepadDevice
|
||||
@@ -12,5 +9,3 @@ typedef struct FFGamepadDevice
|
||||
} FFGamepadDevice;
|
||||
|
||||
const char* ffDetectGamepad(FFlist* devices /* List of FFGamepadDevice */);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_gpu_gpu
|
||||
#define FF_INCLUDED_detection_gpu_gpu
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
#define FF_GPU_TEMP_UNSET (0/0.0)
|
||||
@@ -42,5 +39,3 @@ const char* ffDetectGPU(const FFGPUOptions* options, FFlist* result);
|
||||
const char* ffDetectGPUImpl(const FFGPUOptions* options, FFlist* gpus);
|
||||
|
||||
const char* ffGetGPUVendorString(unsigned vendorId);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_gtkqt_gtkqt
|
||||
#define FF_INCLUDED_detection_gtkqt_gtkqt
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
typedef struct FFGTKResult
|
||||
@@ -28,5 +25,3 @@ const FFGTKResult* ffDetectGTK2(void);
|
||||
const FFGTKResult* ffDetectGTK4(void);
|
||||
const FFGTKResult* ffDetectGTK3(void);
|
||||
const FFQtResult* ffDetectQt(void);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_host_host
|
||||
#define FF_INCLUDED_detection_host_host
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
typedef struct FFHostResult
|
||||
@@ -15,5 +12,3 @@ typedef struct FFHostResult
|
||||
} FFHostResult;
|
||||
|
||||
const char* ffDetectHost(FFHostResult* result);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,10 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_icons
|
||||
#define FF_INCLUDED_detection_icons
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
const char* ffDetectIcons(FFstrbuf* result);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_internal
|
||||
#define FF_INCLUDED_detection_internal
|
||||
|
||||
#include "common/thread.h"
|
||||
|
||||
#define FF_DETECTION_INTERNAL_GUARD(ResultType, ...) \
|
||||
@@ -13,5 +10,3 @@
|
||||
init = true; \
|
||||
__VA_ARGS__; \
|
||||
return &result; \
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_libc_libc
|
||||
#define FF_INCLUDED_detection_libc_libc
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
typedef struct FFLibcResult
|
||||
@@ -12,5 +9,3 @@ typedef struct FFLibcResult
|
||||
} FFLibcResult;
|
||||
|
||||
const char* ffDetectLibc(FFLibcResult* result);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_lm_lm
|
||||
#define FF_INCLUDED_detection_lm_lm
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
typedef struct FFLMResult
|
||||
@@ -13,5 +10,3 @@ typedef struct FFLMResult
|
||||
} FFLMResult;
|
||||
|
||||
const char* ffDetectLM(FFLMResult* result);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,10 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_locale_locale
|
||||
#define FF_INCLUDED_detection_locale_locale
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
void ffDetectLocale(FFstrbuf* result);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_localip_localip
|
||||
#define FF_INCLUDED_detection_localip_localip
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
typedef struct FFLocalIpResult
|
||||
@@ -15,5 +12,3 @@ typedef struct FFLocalIpResult
|
||||
} FFLocalIpResult;
|
||||
|
||||
const char* ffDetectLocalIps(const FFLocalIpOptions* options, FFlist* results);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_media
|
||||
#define FF_INCLUDED_detection_media
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
typedef struct FFMediaResult
|
||||
@@ -18,5 +15,3 @@ typedef struct FFMediaResult
|
||||
} FFMediaResult;
|
||||
|
||||
const FFMediaResult* ffDetectMedia();
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_memory_memory
|
||||
#define FF_INCLUDED_detection_memory_memory
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
typedef struct FFMemoryResult
|
||||
@@ -12,5 +9,3 @@ typedef struct FFMemoryResult
|
||||
} FFMemoryResult;
|
||||
|
||||
const char* ffDetectMemory(FFMemoryResult* result);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_opencl_opencl
|
||||
#define FF_INCLUDED_detection_opencl_opencl
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
typedef struct FFOpenCLResult
|
||||
@@ -13,5 +10,3 @@ typedef struct FFOpenCLResult
|
||||
} FFOpenCLResult;
|
||||
|
||||
const char* ffDetectOpenCL(FFOpenCLResult* result);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_opengl_opengl
|
||||
#define FF_INCLUDED_detection_opengl_opengl
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
typedef struct FFOpenGLResult
|
||||
@@ -14,5 +11,3 @@ typedef struct FFOpenGLResult
|
||||
} FFOpenGLResult;
|
||||
|
||||
const char* ffDetectOpenGL(FFOpenGLOptions* options, FFOpenGLResult* result);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_os_os
|
||||
#define FF_INCLUDED_detection_os_os
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
typedef struct FFOSResult
|
||||
@@ -20,5 +17,3 @@ typedef struct FFOSResult
|
||||
} FFOSResult;
|
||||
|
||||
const FFOSResult* ffDetectOS();
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_packages_packages
|
||||
#define FF_INCLUDED_detection_packages_packages
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
typedef struct FFPackagesResult
|
||||
@@ -37,5 +34,3 @@ typedef struct FFPackagesResult
|
||||
} FFPackagesResult;
|
||||
|
||||
const char* ffDetectPackages(FFPackagesResult* result, FFPackagesOptions* options);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_poweradapter_poweradapter
|
||||
#define FF_INCLUDED_detection_poweradapter_poweradapter
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
typedef struct FFPowerAdapterResult
|
||||
@@ -18,5 +15,3 @@ const char* ffDetectPowerAdapterImpl(FFlist* results);
|
||||
|
||||
#define FF_POWERADAPTER_UNSET -2
|
||||
#define FF_POWERADAPTER_NOT_CONNECTED -1
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,10 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_processes_processes
|
||||
#define FF_INCLUDED_detection_processes_processes
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
const char* ffDetectProcesses(uint32_t* result);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_publicip_publicip
|
||||
#define FF_INCLUDED_detection_publicip_publicip
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
typedef struct FFPublicIpResult
|
||||
@@ -13,5 +10,3 @@ typedef struct FFPublicIpResult
|
||||
|
||||
void ffPreparePublicIp(FFPublicIpOptions* options);
|
||||
const char* ffDetectPublicIp(FFPublicIpOptions* options, FFPublicIpResult* result);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_sound_sound
|
||||
#define FF_INCLUDED_detection_sound_sound
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
#define FF_SOUND_VOLUME_UNKNOWN 255
|
||||
@@ -17,5 +14,3 @@ typedef struct FFSoundDevice
|
||||
} FFSoundDevice;
|
||||
|
||||
const char* ffDetectSound(FFlist* devices /* List of FFSoundDevice */);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_swap_swap
|
||||
#define FF_INCLUDED_detection_swap_swap
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
typedef struct FFSwapResult
|
||||
@@ -12,5 +9,3 @@ typedef struct FFSwapResult
|
||||
} FFSwapResult;
|
||||
|
||||
const char* ffDetectSwap(FFSwapResult* result);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_temps_apple
|
||||
#define FF_INCLUDED_detection_temps_apple
|
||||
|
||||
#include "fastfetch.h"
|
||||
#include "util/FFlist.h"
|
||||
|
||||
@@ -31,5 +28,3 @@ enum FFTempType
|
||||
};
|
||||
|
||||
const char *ffDetectCoreTemps(enum FFTempType type, double* result);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,9 +1,4 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_temps_windows
|
||||
#define FF_INCLUDED_detection_temps_windows
|
||||
|
||||
const char* ffDetectCpuTemp(double* current);
|
||||
const char* ffDetectThermalTemp(double* current);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_temps_linux
|
||||
#define FF_INCLUDED_detection_temps_linux
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
typedef struct FFTempValue
|
||||
@@ -13,5 +10,3 @@ typedef struct FFTempValue
|
||||
} FFTempValue;
|
||||
|
||||
const FFlist* /* List of FFTempValue */ ffDetectTemps();
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,3 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_temps_windows
|
||||
#define FF_INCLUDED_detection_temps_windows
|
||||
|
||||
const char* ffDetectSmbiosTemp(double* current, double* critical);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_terminalfont_terminalfont
|
||||
#define FF_INCLUDED_detection_terminalfont_terminalfont
|
||||
|
||||
#include "fastfetch.h"
|
||||
#include "common/font.h"
|
||||
|
||||
@@ -14,5 +11,3 @@ typedef struct FFTerminalFontResult
|
||||
} FFTerminalFontResult;
|
||||
|
||||
bool ffDetectTerminalFont(FFTerminalFontResult* result);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_terminalshell
|
||||
#define FF_INCLUDED_detection_terminalshell
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
typedef struct FFTerminalShellResult
|
||||
@@ -23,5 +20,3 @@ typedef struct FFTerminalShellResult
|
||||
} FFTerminalShellResult;
|
||||
|
||||
const FFTerminalShellResult* ffDetectTerminalShell();
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_terminalsize_terminalsize
|
||||
#define FF_INCLUDED_detection_terminalsize_terminalsize
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
typedef struct FFTerminalSizeResult
|
||||
@@ -14,5 +11,3 @@ typedef struct FFTerminalSizeResult
|
||||
} FFTerminalSizeResult;
|
||||
|
||||
bool ffDetectTerminalSize(FFTerminalSizeResult* result);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,10 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_theme
|
||||
#define FF_INCLUDED_detection_theme
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
const char* ffDetectTheme(FFstrbuf* result);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_uptime_uptime
|
||||
#define FF_INCLUDED_detection_uptime_uptime
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
typedef struct FFUptimeResult
|
||||
@@ -12,5 +9,3 @@ typedef struct FFUptimeResult
|
||||
} FFUptimeResult;
|
||||
|
||||
const char* ffDetectUptime(FFUptimeResult* result);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_users_users
|
||||
#define FF_INCLUDED_detection_users_users
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
typedef struct FFUserResult
|
||||
@@ -15,5 +12,3 @@ typedef struct FFUserResult
|
||||
} FFUserResult;
|
||||
|
||||
const char* ffDetectUsers(FFlist* users);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_version_version
|
||||
#define FF_INCLUDED_detection_version_version
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
typedef struct FFVersionResult
|
||||
@@ -18,5 +15,3 @@ typedef struct FFVersionResult
|
||||
} FFVersionResult;
|
||||
|
||||
void ffDetectVersion(FFVersionResult* version);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_vulkan
|
||||
#define FF_INCLUDED_detection_vulkan
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
typedef struct FFVulkanResult
|
||||
@@ -15,5 +12,3 @@ typedef struct FFVulkanResult
|
||||
} FFVulkanResult;
|
||||
|
||||
FFVulkanResult* ffDetectVulkan();
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,10 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_wallpaper
|
||||
#define FF_INCLUDED_detection_wallpaper
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
const char* ffDetectWallpaper(FFstrbuf* result);
|
||||
|
||||
#endif
|
||||
#pragma once
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
const char* ffDetectWallpaper(FFstrbuf* result);
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_weather_weather
|
||||
#define FF_INCLUDED_detection_weather_weather
|
||||
|
||||
#include "common/networking.h"
|
||||
|
||||
void ffPrepareWeather(FFWeatherOptions* options);
|
||||
const char* ffDetectWeather(FFWeatherOptions* options, FFstrbuf* result);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#ifndef FF_INCLUDED_detection_wifi_wifi
|
||||
#define FF_INCLUDED_detection_wifi_wifi
|
||||
|
||||
#include "fastfetch.h"
|
||||
|
||||
struct FFWifiInterface
|
||||
@@ -30,5 +27,3 @@ typedef struct FFWifiResult
|
||||
} FFWifiResult;
|
||||
|
||||
const char* ffDetectWifi(FFlist* result /*list of FFWifiItem*/);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user