aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/shell.h
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2/shell.h')
-rw-r--r--hardinfo2/shell.h6
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;