aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/hardinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo2/hardinfo.h')
-rw-r--r--hardinfo2/hardinfo.h12
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;