diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2007-01-02 15:32:50 +0000 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2007-01-02 15:32:50 +0000 |
commit | 4e082dd27545c503e6ee1440e45032f93216631a (patch) | |
tree | 3b0b64937a40e9b7256647455cada96b99fed96c /hardinfo2/shell.h | |
parent | 2ac586a621e9d20667838df367ce5c3b4b428500 (diff) |
Cleanups, reorganization. Implemented foreign module calls.
Diffstat (limited to 'hardinfo2/shell.h')
-rw-r--r-- | hardinfo2/shell.h | 6 |
1 files changed, 6 insertions, 0 deletions
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; |