28 #ifndef __SB_TRANSCODEPROFILELOADER_H__
29 #define __SB_TRANSCODEPROFILELOADER_H__
31 #include <sbITranscodeProfile.h>
33 #include <nsIRunnable.h>
35 #include <nsAutoPtr.h>
50 NS_DECL_SBITRANSCODEPROFILELOADER
56 ~sbTranscodeProfileLoader();
78 nsresult
GetType(nsIDOMNode* aTypeNode, PRUint32* _retval);
101 nsIDOMElement* aContainer);
121 #define SONGBIRD_TRANSCODEPROFILELOADER_CLASSNAME \
122 "Songbird transcoding profile loader service"
123 #define SONGBIRD_TRANSCODEPROFILELOADER_CID \
125 { 0xc64f3bc9, 0x263f, 0x4c2a, \
126 { 0x8e, 0x4c, 0xc6, 0xbf, 0xbd, 0x9a, 0xe1, 0xf0 } }
127 #define SONGBIRD_TRANSCODEPROFILELOADER_CONTRACTID \
128 "@songbirdnest.com/Songbird/Transcode/ProfileLoader;1"
nsRefPtr< sbTranscodeProfile > mProfile
nsresult GetType(nsIDOMNode *aTypeNode, PRUint32 *_retval)
nsresult ProcessProperty(nsIDOMElement *aPropertyElement, sbITranscodeProfileProperty **_retval)
An object that can create an sbITranscodeProfile from an XML description file.
nsCOMPtr< nsIFile > mFile
nsresult LoadProfileInternal()
NS_DECL_ISUPPORTS NS_DECL_SBITRANSCODEPROFILELOADER NS_DECL_NSIRUNNABLE sbTranscodeProfileLoader()
nsresult ProcessAttribute(nsIDOMElement *aAttributeElement, sbITranscodeProfileAttribute **_retval)
nsresult ProcessContainer(sbTranscodeProfile *aProfile, ContainerType_t aContainerType, nsIDOMElement *aContainer)