diff options
Diffstat (limited to 'hardinfo2/report.h')
-rw-r--r-- | hardinfo2/report.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/hardinfo2/report.h b/hardinfo2/report.h index 7a168d4a..1312f0cd 100644 --- a/hardinfo2/report.h +++ b/hardinfo2/report.h @@ -27,7 +27,7 @@ typedef struct _ReportContext ReportContext; struct _ReportContext { ReportDialog *rd; ShellModuleEntry *entry; - gpointer stream; + gchar *output; void (*header) (ReportContext *ctx); void (*footer) (ReportContext *ctx); @@ -59,8 +59,10 @@ void report_subsubtitle(ReportContext *ctx, gchar *text); void report_key_value(ReportContext *ctx, gchar *key, gchar *value); void report_table(ReportContext *ctx, gchar *text); -ReportContext *report_context_html_new(ReportDialog *rd, gpointer stream); -ReportContext *report_context_text_new(ReportDialog *rd, gpointer stream); -ReportContext *report_context_string_new(ReportDialog *rd, gpointer string); +ReportContext *report_context_html_new(ReportDialog *rd); +ReportContext *report_context_text_new(ReportDialog *rd); +ReportContext *report_context_string_new(ReportDialog *rd); + +void report_context_free(ReportContext *ctx); #endif /* __REPORT_H__ */ |