From 11b8179a57e675c6672cbe649c655230ae3e9744 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Mon, 19 Jun 2017 14:38:41 -0500 Subject: Import Upstream version 0.4.2.1 --- computer.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'computer.h') diff --git a/computer.h b/computer.h index d6244305..a6956122 100644 --- a/computer.h +++ b/computer.h @@ -1,6 +1,6 @@ /* * HardInfo - Displays System Information - * Copyright (C) 2003-2006 Leandro A. F. Pereira + * Copyright (C) 2003-2007 Leandro A. F. Pereira * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -33,6 +33,7 @@ static struct { { DB_PREFIX "yellowdog-release", "yd" }, { DB_PREFIX "SuSE-release", "suse" }, { DB_PREFIX "sun-release", "sun" }, + { DB_PREFIX "zenwalk-version", "zen" }, /* * RedHat must be the *last* one to be checked, since * some distros (like Mandrake) includes a redhat-relase @@ -43,7 +44,6 @@ static struct { }; typedef struct _Computer Computer; -typedef struct _Processor Processor; typedef struct _OperatingSystem OperatingSystem; typedef struct _MemoryInfo MemoryInfo; typedef struct _UptimeInfo UptimeInfo; @@ -81,6 +81,8 @@ struct _AlsaInfo { struct _DisplayInfo { gchar *ogl_vendor, *ogl_renderer, *ogl_version; + gboolean dri; + gchar *display_name, *vendor, *version; gchar *extensions; gchar *monitors; @@ -97,7 +99,6 @@ struct _UptimeInfo { }; struct _Computer { - Processor *processor; MemoryInfo *memory; OperatingSystem *os; DisplayInfo *display; @@ -118,6 +119,8 @@ struct _Processor { gint model, family, stepping; gchar *strmodel; + + gint id; }; struct _OperatingSystem { @@ -133,6 +136,8 @@ struct _OperatingSystem { gchar *desktop; gchar *username; + + gchar *boots; }; struct _MemoryInfo { -- cgit v1.2.3