fm-mime-type
fm-mime-type
|
|
Details
struct FmMimeType
struct FmMimeType {
char* type; /* mime type name */
char* description; /* description of the mime type */
FmIcon* icon;
/* thumbnailers installed for the mime-type */
GList* thumbnailers; /* FmMimeType does "not" own the FmThumbnailer objects */
int n_ref;
};
fm_mime_type_add_thumbnailer ()
void fm_mime_type_add_thumbnailer (FmMimeType *mime_type
,
gpointer Param2
);
fm_mime_type_from_file_name ()
FmMimeType * fm_mime_type_from_file_name (const char *ufile_name
);
fm_mime_type_from_name ()
FmMimeType * fm_mime_type_from_name (const char *type
);
fm_mime_type_from_native_file ()
FmMimeType * fm_mime_type_from_native_file (const char *file_path
,
const char *base_name
,
struct stat *pstat
);
fm_mime_type_get_desc ()
const char * fm_mime_type_get_desc (FmMimeType *mime_type
);
fm_mime_type_get_icon ()
FmIcon * fm_mime_type_get_icon (FmMimeType *mime_type
);
fm_mime_type_get_thumbnailers ()
const GList * fm_mime_type_get_thumbnailers (FmMimeType *mime_type
);
fm_mime_type_remove_thumbnailer ()
void fm_mime_type_remove_thumbnailer (FmMimeType *mime_type
,
gpointer Param2
);
fm_mime_type_unref ()
void fm_mime_type_unref (gpointer mime_type_
);