hi,
i'm currently cleaning libgtop. I've already remove a lot of stuff.
Libgtop provides an additional library, libgtop_names. libgtop_names
provides i18n descriptions of each struct member.
for example, glibtop_get_uptime provides :
struct _glibtop_uptime
{
guint64 flags;
double uptime,
idletime;
guint64 boot_time;
};
libgtop_names provides :
const char *glibtop_names_uptime [GLIBTOP_MAX_UPTIME] =
{
"uptime", "idletime", "boot_time"
};
const unsigned glibtop_types_uptime [GLIBTOP_MAX_UPTIME] =
{
GLIBTOP_TYPE_DOUBLE, GLIBTOP_TYPE_DOUBLE, GLIBTOP_TYPE_ULONG
};
const char *glibtop_labels_uptime [GLIBTOP_MAX_UPTIME] =
{
N_("Uptime"),
N_("Idletime"),
N_("BootTime")
};
const char *glibtop_descriptions_uptime [GLIBTOP_MAX_UPTIME] =
{
N_("Time in seconds since system boot"),
N_("Time in seconds the system spent in the idle task since
system boot"),
N_("Time of last system boot in seconds since the epoch"),
};
AFAIK, nobody uses libgtop_names. I've never found it on any distro.
Looks like it's never been used.
It's currently a bit broken. So i can fix it, or get rid of it. What's
best ?
--
Benoît Dejean
JID: TazForEver jabber org
gDesklets http://gdesklets.gnomedesktop.org
LibGTop http://directory.fsf.org/libgtop.html
Attachment:
signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=