mirror of
https://github.com/transmission/transmission
synced 2024-12-27 01:57:52 +00:00
dadffa2c0f
This way all the qualifiers (`const`, `volatile`, `mutable`) are grouped together, e.g. `T const* const x` vs. `const T* const x`. Also helps reading types right-to-left, e.g. "constant pointer to constant T" vs. "constant pointer to T which is constant".
15 lines
417 B
C
15 lines
417 B
C
/*
|
|
* icons.[ch] written by Paolo Bacchilega, who writes:
|
|
* "There is no problem for me, you can license
|
|
* my code under whatever licence you wish :)"
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#define DIRECTORY_MIME_TYPE "folder"
|
|
#define UNKNOWN_MIME_TYPE "unknown"
|
|
|
|
char const* gtr_get_mime_type_from_filename(char const* file);
|
|
|
|
GdkPixbuf* gtr_get_mime_type_icon(char const* mime_type, GtkIconSize icon_size, GtkWidget* for_widget);
|