Search completed in 1.16 seconds.
NP_GetMIMEDescription - Archive of obsolete content
eparated by a semicolon (;). Each MIME type description contains the MIME Type, an extensions list and a short description. One MIME type // example inside http://mxr.mozilla.org/mozilla-central/source/modules/plugin/sdk/samples/basic/unix/plugin.cpp #define MIME_TYPE_DESCRIPTION "application/basic-plugin:bsp:Basic Example Plug-in for Mozilla" const char* NP_GetMIMEDescription(void) { return(
MIME_TYPES_DESCRIPTION); } Two MIME types const char* NP_GetMIMEDescription(void) { return "application/basic-example-plugin:xmp1:Example 1;application/basic-example2-plugin:xmp2, xm2p:Example 2"; } Gnome Integration If you use GNOME VFS (gnome-vfs-2.0), you can get the MIME type description with a function. #include <libgnomevfs/gnome-vfs-mime-handlers.h> #include <libgnomevfs/gnome-vfs-mime-info.h>...