diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2007-01-04 17:15:12 +0000 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2007-01-04 17:15:12 +0000 |
commit | a1054182ecd202db45cde1883991d70dbb954763 (patch) | |
tree | 9353c7e206a89d4684a169704e29cc01b35a0188 /hardinfo2/hardinfo.h | |
parent | b447372e7c120e2336fe0ac910792b04e1688af2 (diff) |
Add about information.
Diffstat (limited to 'hardinfo2/hardinfo.h')
-rw-r--r-- | hardinfo2/hardinfo.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 <shell.h> 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); |