summaryrefslogtreecommitdiff
path: root/hardinfo2/shell.h
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2/shell.h')
-rw-r--r--hardinfo2/shell.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/hardinfo2/shell.h b/hardinfo2/shell.h
index a3bb6033..2eb9e6d2 100644
--- a/hardinfo2/shell.h
+++ b/hardinfo2/shell.h
@@ -27,6 +27,7 @@ typedef struct _Shell Shell;
typedef struct _ShellTree ShellTree;
typedef struct _ShellInfoTree ShellInfoTree;
typedef struct _ShellNote ShellNote;
+typedef struct _ShellSummary ShellSummary;
typedef struct _ShellModule ShellModule;
typedef struct _ShellModuleMethod ShellModuleMethod;
@@ -51,6 +52,7 @@ typedef enum {
SHELL_VIEW_LOAD_GRAPH,
SHELL_VIEW_PROGRESS,
SHELL_VIEW_PROGRESS_DUAL,
+ SHELL_VIEW_SUMMARY,
SHELL_VIEW_N_VIEWS
} ShellViewType;
@@ -86,6 +88,7 @@ struct _Shell {
ShellModule *selected_module;
ShellModuleEntry *selected;
ShellNote *note;
+ ShellSummary *summary;
LoadGraph *loadgraph;
GtkActionGroup *action_group;
@@ -102,6 +105,14 @@ struct _Shell {
HelpViewer *help_viewer;
};
+struct _ShellSummary {
+ GtkWidget *header;
+ GtkWidget *scroll;
+ GtkWidget *view;
+
+ GSList *items;
+};
+
struct _ShellTree {
GtkWidget *scroll;
GtkWidget *view;
@@ -129,7 +140,9 @@ struct _ShellModule {
gchar *name;
GdkPixbuf *icon;
GModule *dll;
+
gpointer (*aboutfunc) ();
+ gchar *(*summaryfunc) ();
void (*deinit) ();
guchar weight;