mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-12 08:40:19 +00:00
common: Moved some functions over from plugins/sysinfo that are useful for the rest of HC.
OS name, CPU, GPU, HDD info and build arch are now all available within core HC. OS name and build arch are used in the About dialog.
This commit is contained in:
13
src/common/sysinfo/sysinfo.h
Normal file
13
src/common/sysinfo/sysinfo.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef HEXCHAT_SYSINFO_H
|
||||
#define HEXCHAT_SYSINFO_H
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
int sysinfo_get_cpu_arch (void);
|
||||
int sysinfo_get_build_arch (void);
|
||||
char *sysinfo_get_cpu (void);
|
||||
char *sysinfo_get_os (void);
|
||||
void sysinfo_get_hdd_info (guint64 *hdd_capacity_out, guint64 *hdd_free_space_out);
|
||||
char *sysinfo_get_gpu (void);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user