aboutsummaryrefslogtreecommitdiff
path: root/includes/hardinfo.h
diff options
context:
space:
mode:
authorLucas de Castro Borges <lucas@gnuabordo.com.br>2024-04-22 19:04:44 -0300
committerLucas de Castro Borges <lucas@gnuabordo.com.br>2024-04-22 19:04:44 -0300
commit92787ae0c9bb15c7841d10654ef7a2e595664d99 (patch)
tree15450b2b4454094fc8571ae4932310a229e7519d /includes/hardinfo.h
parent522813da585389c158c6a84e688bc9f53daea38d (diff)
New upstream version 2.0.14preupstream/2.0.14pre
Diffstat (limited to 'includes/hardinfo.h')
-rw-r--r--includes/hardinfo.h21
1 files changed, 8 insertions, 13 deletions
diff --git a/includes/hardinfo.h b/includes/hardinfo.h
index 872a29fc..9c229289 100644
--- a/includes/hardinfo.h
+++ b/includes/hardinfo.h
@@ -50,14 +50,12 @@ typedef struct _FileTypes FileTypes;
typedef struct _ProgramParameters ProgramParameters;
struct _ProgramParameters {
- gboolean create_report;
- gboolean force_all_details; /* for create_report, include any "moreinfo" that exists for any item */
- gboolean show_version;
- gboolean gui_running;
- gboolean list_modules;
- gboolean autoload_deps;
- gboolean skip_benchmarks;
- gboolean quiet;
+ gint create_report;
+ gint force_all_details; /* for create_report, include any "moreinfo" that exists for any item */
+ gint show_version;
+ gint gui_running;
+ gint skip_benchmarks;
+ gint quiet;
/*
* OK to use the common parts of HTML(4.0) and Pango Markup
@@ -65,13 +63,11 @@ struct _ProgramParameters {
* Including the (b,big,i,s,sub,sup,small,tt,u) tags.
* https://developer.gnome.org/pango/stable/PangoMarkupFormat.html
*/
- gboolean markup_ok;
+ gint markup_ok;
int fmt_opts;
gint report_format;
gint max_bench_results;
-
- gchar **use_modules;
gchar *run_benchmark;
gchar *bench_user_note;
gchar *result_format;
@@ -134,7 +130,6 @@ GSList *modules_get_list(void);
GSList *modules_load_selected(void);
GSList *modules_load_all(void);
void module_unload_all(void);
-const ModuleAbout *module_get_about(ShellModule *module);
gchar *seconds_to_string(unsigned int seconds);
gchar *h_strdup_cprintf(const gchar *format, gchar *source, ...)
@@ -155,7 +150,7 @@ gchar *module_entry_get_moreinfo(ShellModuleEntry * module_entry, gchar *
gboolean binreloc_init(gboolean try_hardcoded);
/* GTK UI stuff */
-gboolean ui_init(int *argc, char ***argv);
+gint ui_init(int *argc, char ***argv);
void parameters_init(int *argc, char ***argv, ProgramParameters *params);
extern ProgramParameters params;