2009-03-02 23:31:01 +00:00
|
|
|
/*
|
|
|
|
* icons.[ch] written by Paolo Bacchilega, who writes:
|
2011-01-19 13:48:47 +00:00
|
|
|
* "There is no problem for me, you can license
|
|
|
|
* my code under whatever licence you wish :)"
|
2010-10-01 20:22:51 +00:00
|
|
|
*
|
2009-03-02 23:31:01 +00:00
|
|
|
*/
|
|
|
|
|
2016-03-29 16:37:21 +00:00
|
|
|
#pragma once
|
2009-03-02 23:31:01 +00:00
|
|
|
|
|
|
|
#define DIRECTORY_MIME_TYPE "folder"
|
2009-11-24 02:16:31 +00:00
|
|
|
#define UNKNOWN_MIME_TYPE "unknown"
|
2009-03-02 23:31:01 +00:00
|
|
|
|
2017-04-20 16:02:19 +00:00
|
|
|
char const* gtr_get_mime_type_from_filename(char const* file);
|
2009-03-02 23:31:01 +00:00
|
|
|
|
2017-04-20 16:02:19 +00:00
|
|
|
GdkPixbuf* gtr_get_mime_type_icon(char const* mime_type, GtkIconSize icon_size, GtkWidget* for_widget);
|