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
|
|
|
|
2012-12-05 17:29:46 +00:00
|
|
|
const char * gtr_get_mime_type_from_filename (const char *file);
|
2009-03-02 23:31:01 +00:00
|
|
|
|
2012-12-05 17:29:46 +00:00
|
|
|
GdkPixbuf * gtr_get_mime_type_icon (const char * mime_type,
|
2010-12-22 06:25:30 +00:00
|
|
|
GtkIconSize icon_size,
|
2012-12-05 17:29:46 +00:00
|
|
|
GtkWidget * for_widget);
|
2009-03-02 23:31:01 +00:00
|
|
|
|