27 #ifndef __SB_MEDIASNIFFER_H__
28 #define __SB_MEDIASNIFFER_H__
30 #include <nsIGenericFactory.h>
31 #include <nsIContentSniffer.h>
32 #include <nsStringGlue.h>
34 #define SONGBIRD_MEDIASNIFFER_DESCRIPTION \
35 "Songbird Media Sniffer"
36 #define SONGBIRD_MEDIASNIFFER_CONTRACTID \
37 "@songbirdnest.com/sontentsniffer/manager;1"
38 #define SONGBIRD_MEDIASNIFFER_CLASSNAME \
40 #define SONGBIRD_MEDIASNIFFER_CID \
45 { 0x9d, 0x83, 0xf4, 0xf2, 0x5d, 0x03, 0x03, 0xa3 } \
48 #define TYPE_MAYBE_MEDIA "application/vnd.songbird.maybe.media"
49 #define TYPE_MAYBE_PLAYLIST "application/vnd.songbird.maybe.playlist"
55 NS_DECL_NSICONTENTSNIFFER
57 static NS_METHOD
Register(nsIComponentManager* compMgr,
59 const char* registryLocation,
60 const char* componentType,
61 const nsModuleComponentInfo *info);
62 static NS_METHOD
Unregister(nsIComponentManager* aCompMgr,
64 const char* aRegistryLocation,
65 const nsModuleComponentInfo* aInfo);