summaryrefslogtreecommitdiff
path: root/browser-plugin/totemPlugin.h
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2006-10-08 15:13:12 +0000
committerBastien Nocera <hadess@src.gnome.org>2006-10-08 15:13:12 +0000
commit8ebc685fe293bbac0a1fc1ae50123e589f040fd0 (patch)
treef49ba147709d817ca66ea2800022fec278fdc670 /browser-plugin/totemPlugin.h
parent8ce290b82fbcfbf7bacaa3f3ea1e36b77086f3c3 (diff)
downloadtotem-8ebc685fe293bbac0a1fc1ae50123e589f040fd0.tar.gz
Add a member to the totemPluginMimeEntry structure, on whether to show the
2006-10-08 Bastien Nocera <hadess@hadess.net> * browser-plugin/totemBasicPlugin.cpp: * browser-plugin/totemComplexPlugin.cpp: * browser-plugin/totemGMPPlugin.cpp: * browser-plugin/totemMullYPlugin.cpp: * browser-plugin/totemNarrowSpacePlugin.cpp: * browser-plugin/totemPlugin.cpp: * browser-plugin/totemPlugin.h: * browser-plugin/totemPluginGlue.cpp: * src/plparse/totem-pl-parser.c: (totem_pl_parser_parse_internal): Add a member to the totemPluginMimeEntry structure, on whether to show the mime-type as supported in the about: page, allows to add mime-types without having them show us as supported to work-around broken servers (allows playback on gunsnroses.com) (Closes: #360295), Hide audio/x-wav as well
Diffstat (limited to 'browser-plugin/totemPlugin.h')
-rw-r--r--browser-plugin/totemPlugin.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/browser-plugin/totemPlugin.h b/browser-plugin/totemPlugin.h
index 038c4a140..d183b5c82 100644
--- a/browser-plugin/totemPlugin.h
+++ b/browser-plugin/totemPlugin.h
@@ -79,7 +79,7 @@ class totemPlugin {
PRBool Fork ();
void UnsetStream ();
- PRBool IsMimeTypeSupported (const char *aMimeType);
+ PRBool IsMimeTypeSupported (const char *aMimeType, const char *aURL);
PRBool IsSchemeSupported (const char *aURL);
char *GetRealMimeType (const char *aMimeType);
@@ -124,6 +124,7 @@ typedef struct {
const char *mimetype;
const char *extensions;
const char *mime_alias;
+ gboolean ignore;
} totemPluginMimeEntry;
#endif /* __TOTEM_PLUGIN_H__ */