From a1054182ecd202db45cde1883991d70dbb954763 Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Thu, 4 Jan 2007 17:15:12 +0000 Subject: Add about information. --- hardinfo2/hardinfo.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'hardinfo2/hardinfo.h') diff --git a/hardinfo2/hardinfo.h b/hardinfo2/hardinfo.h index 63b1c6ad..68b93441 100644 --- a/hardinfo2/hardinfo.h +++ b/hardinfo2/hardinfo.h @@ -23,6 +23,7 @@ #include typedef struct _ModuleEntry ModuleEntry; +typedef struct _ModuleAbout ModuleAbout; typedef struct _FileTypes FileTypes; typedef struct _ProgramParameters ProgramParameters; @@ -54,6 +55,12 @@ struct _ModuleEntry { gpointer scan_callback; }; +struct _ModuleAbout { + gchar *author; + gchar *version; + gchar *license; +}; + /* String utility functions */ inline void remove_quotes(gchar *str); inline void strend(gchar *str, gchar chr); @@ -79,6 +86,7 @@ void nonblock_sleep(guint msec); void open_url(gchar *url); GSList *modules_load_selected(void); GSList *modules_load_all(void); +ModuleAbout *module_get_about(ShellModule *module); void module_entry_scan_all_except(ModuleEntry *entries, gint except_entry); void module_entry_scan_all(ModuleEntry *entries); -- cgit v1.2.3