aboutsummaryrefslogtreecommitdiff
path: root/report.h
diff options
context:
space:
mode:
authorAgney Lopes Roth Ferraz <agney@debian.org>2009-03-28 22:55:02 -0300
committerSimon Quigley <tsimonq2@ubuntu.com>2017-06-19 14:38:48 -0500
commit1b6665085f47e0a86e4bebd5e313a2ab63600eb4 (patch)
tree6b7dedc1886b42d07cc48359470fe3f595500cc8 /report.h
parent819c0c3382b06fc0f0a1679465966f811aa2e0f8 (diff)
parent4979bb6cbbbe39eb44c32530cd13f86bf44e5d77 (diff)
Import Debian changes 0.5c-1
hardinfo (0.5c-1) unstable; urgency=low * New upstream version. (Closes: #517591, #511237, #457703, #519256, #449250, #457820, #497758)
Diffstat (limited to 'report.h')
-rw-r--r--report.h27
1 files changed, 20 insertions, 7 deletions
diff --git a/report.h b/report.h
index bf93d9b0..782621cb 100644
--- a/report.h
+++ b/report.h
@@ -1,6 +1,6 @@
/*
* HardInfo - Displays System Information
- * Copyright (C) 2003-2007 Leandro A. F. Pereira <leandro@linuxmag.com.br>
+ * Copyright (C) 2003-2007 Leandro A. F. Pereira <leandro@hardinfo.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -27,6 +27,14 @@ typedef enum {
N_REPORT_FORMAT
} ReportFormat;
+typedef enum {
+ REPORT_COL_PROGRESS = 1<<0,
+ REPORT_COL_VALUE = 1<<1,
+ REPORT_COL_EXTRA1 = 1<<2,
+ REPORT_COL_EXTRA2 = 1<<3,
+ REPORT_COL_TEXTVALUE= 1<<4
+} ReportColumn;
+
typedef struct _ReportDialog ReportDialog;
typedef struct _ReportContext ReportContext;
@@ -34,16 +42,21 @@ struct _ReportContext {
ShellModuleEntry *entry;
gchar *output;
- void (*header) (ReportContext *ctx);
- void (*footer) (ReportContext *ctx);
- void (*title) (ReportContext *ctx, gchar *text);
- void (*subtitle) (ReportContext *ctx, gchar *text);
- void (*subsubtitle) (ReportContext *ctx, gchar *text);
- void (*keyvalue) (ReportContext *ctx, gchar *key, gchar *value);
+ void (*header) (ReportContext *ctx);
+ void (*footer) (ReportContext *ctx);
+ void (*title) (ReportContext *ctx, gchar *text);
+ void (*subtitle) (ReportContext *ctx, gchar *text);
+ void (*subsubtitle) (ReportContext *ctx, gchar *text);
+ void (*keyvalue) (ReportContext *ctx, gchar *key, gchar *value);
ReportFormat format;
gboolean is_image_enabled;
+ gboolean first_table;
+
+ gboolean show_column_headers;
+ guint columns;
+ GHashTable *column_titles;
};
struct _ReportDialog {