diff options
author | hwspeedy <ns@bigbear.dk> | 2024-03-06 08:39:27 +0100 |
---|---|---|
committer | hwspeedy <ns@bigbear.dk> | 2024-03-06 08:40:25 +0100 |
commit | 1ea9d8e74a2b6131cddd1d56d0fb8f16250e613f (patch) | |
tree | fac870364c9b9cbf833712c4466b3b030567fc8e /includes/hardinfo.h | |
parent | fd6d6d3d489d9299b6b3e045e71f74e307f00ac3 (diff) |
FIX hardinfo lib-loading cleanup, params clean up
Diffstat (limited to 'includes/hardinfo.h')
-rw-r--r-- | includes/hardinfo.h | 21 |
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; |