diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2006-10-25 13:38:32 +0000 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2006-10-25 13:38:32 +0000 |
commit | fd6337f2c940aa3aae42eb9952b32ca12f8b757d (patch) | |
tree | a50a07b2919f34ba48baec9378124533d8f92bb3 /hardinfo2/hardinfo.h | |
parent | 7b773f5c8225479e0748db69b9ac7f92b127890c (diff) |
Fix report output format option.
Diffstat (limited to 'hardinfo2/hardinfo.h')
-rw-r--r-- | hardinfo2/hardinfo.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/hardinfo2/hardinfo.h b/hardinfo2/hardinfo.h index aab31389..b497fcdb 100644 --- a/hardinfo2/hardinfo.h +++ b/hardinfo2/hardinfo.h @@ -22,6 +22,13 @@ #include <gtk/gtk.h> typedef struct _ModuleEntry ModuleEntry; +typedef struct _FileTypes FileTypes; + +struct _FileTypes { + gchar *name; + gchar *mime_type; + gchar *extension; +}; struct _ModuleEntry { gchar *name; @@ -35,6 +42,11 @@ inline void remove_linefeed(gchar *str); inline gchar *size_human_readable(gfloat size); void nonblock_sleep(guint msec); + void file_chooser_open_expander(GtkWidget *chooser); + void file_chooser_add_filters(GtkWidget *chooser, FileTypes *filters); + gchar *file_chooser_get_extension(GtkWidget *chooser, FileTypes *filters); + gchar *file_chooser_build_filename(GtkWidget *chooser, gchar *extension); + extern gchar* path_lib; extern gchar* path_data; |