From 4e082dd27545c503e6ee1440e45032f93216631a Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Tue, 2 Jan 2007 15:32:50 +0000 Subject: Cleanups, reorganization. Implemented foreign module calls. --- hardinfo2/shell.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'hardinfo2/shell.h') diff --git a/hardinfo2/shell.h b/hardinfo2/shell.h index f9ac39e5..c1204233 100644 --- a/hardinfo2/shell.h +++ b/hardinfo2/shell.h @@ -26,6 +26,7 @@ typedef struct _ShellTree ShellTree; typedef struct _ShellInfoTree ShellInfoTree; typedef struct _ShellModule ShellModule; +typedef struct _ShellModuleMethod ShellModuleMethod; typedef struct _ShellModuleEntry ShellModuleEntry; typedef struct _ShellFieldUpdate ShellFieldUpdate; @@ -111,6 +112,11 @@ struct _ShellModule { GSList *entries; }; +struct _ShellModuleMethod { + gchar *name; + gchar *(*function) (void); +}; + struct _ShellModuleEntry { gchar *name; GdkPixbuf *icon; -- cgit v1.2.3