mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 02:57:38 +00:00
Modified generated files so that NS_InitFooClass() is accessable outside of JSDOM.DLL. a=vidur%netscape.com.
This commit is contained in:
parent
0ad841ff91
commit
1fe1e0d09a
@ -70,7 +70,7 @@ public:
|
||||
NS_IMETHOD Go(PRInt32 aIndex) { return _to##Go(aIndex); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHistoryClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHistoryClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHistory(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -111,7 +111,7 @@ public:
|
||||
NS_IMETHOD ToString(nsString& aReturn) { return _to##ToString(aReturn); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitLocationClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitLocationClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptLocation(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -74,7 +74,7 @@ public:
|
||||
NS_IMETHOD JavaEnabled(PRBool* aReturn) { return _to##JavaEnabled(aReturn); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitNavigatorClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitNavigatorClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptNavigator(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -74,7 +74,7 @@ public:
|
||||
NS_IMETHOD GetAvailTop(PRInt32* aAvailTop) { return _to##GetAvailTop(aAvailTop); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitScreenClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitScreenClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptScreen(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -55,7 +55,7 @@ public:
|
||||
NS_IMETHOD NamedItem(const nsString& aName, nsIDOMWindow** aReturn) { return _to##NamedItem(aName, aReturn); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitWindowCollectionClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitWindowCollectionClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptWindowCollection(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -58,7 +58,7 @@ public:
|
||||
NS_IMETHOD SetValue(const nsString& aValue) { return _to##SetValue(aValue); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitAttrClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitAttrClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptAttr(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -43,7 +43,7 @@ public:
|
||||
#define NS_FORWARD_IDOMCDATASECTION(_to) \
|
||||
|
||||
|
||||
extern nsresult NS_InitCDATASectionClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitCDATASectionClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptCDATASection(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -74,7 +74,7 @@ public:
|
||||
NS_IMETHOD ReplaceData(PRUint32 aOffset, PRUint32 aCount, const nsString& aArg) { return _to##ReplaceData(aOffset, aCount, aArg); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitCharacterDataClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitCharacterDataClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptCharacterData(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -43,7 +43,7 @@ public:
|
||||
#define NS_FORWARD_IDOMCOMMENT(_to) \
|
||||
|
||||
|
||||
extern nsresult NS_InitCommentClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitCommentClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptComment(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -46,7 +46,7 @@ public:
|
||||
NS_IMETHOD HasFeature(const nsString& aFeature, const nsString& aVersion, PRBool* aReturn) { return _to##HasFeature(aFeature, aVersion, aReturn); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitDOMImplementationClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitDOMImplementationClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptDOMImplementation(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -102,7 +102,7 @@ public:
|
||||
NS_IMETHOD GetElementsByTagName(const nsString& aTagname, nsIDOMNodeList** aReturn) { return _to##GetElementsByTagName(aTagname, aReturn); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitDocumentClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitDocumentClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptDocument(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -43,7 +43,7 @@ public:
|
||||
#define NS_FORWARD_IDOMDOCUMENTFRAGMENT(_to) \
|
||||
|
||||
|
||||
extern nsresult NS_InitDocumentFragmentClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitDocumentFragmentClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptDocumentFragment(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -56,7 +56,7 @@ public:
|
||||
NS_IMETHOD GetNotations(nsIDOMNamedNodeMap** aNotations) { return _to##GetNotations(aNotations); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitDocumentTypeClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitDocumentTypeClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptDocumentType(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -81,7 +81,7 @@ public:
|
||||
NS_IMETHOD Normalize() { return _to##Normalize(); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -55,7 +55,7 @@ public:
|
||||
NS_IMETHOD GetNotationName(nsString& aNotationName) { return _to##GetNotationName(aNotationName); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitEntityClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitEntityClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptEntity(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -43,7 +43,7 @@ public:
|
||||
#define NS_FORWARD_IDOMENTITYREFERENCE(_to) \
|
||||
|
||||
|
||||
extern nsresult NS_InitEntityReferenceClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitEntityReferenceClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptEntityReference(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -63,7 +63,7 @@ public:
|
||||
NS_IMETHOD Item(PRUint32 aIndex, nsIDOMNode** aReturn) { return _to##Item(aIndex, aReturn); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitNamedNodeMapClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitNamedNodeMapClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptNamedNodeMap(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -131,7 +131,7 @@ public:
|
||||
NS_IMETHOD CloneNode(PRBool aDeep, nsIDOMNode** aReturn) { return _to##CloneNode(aDeep, aReturn); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitNodeClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitNodeClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptNode(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -51,7 +51,7 @@ public:
|
||||
NS_IMETHOD Item(PRUint32 aIndex, nsIDOMNode** aReturn) { return _to##Item(aIndex, aReturn); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitNodeListClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitNodeListClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptNodeList(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -51,7 +51,7 @@ public:
|
||||
NS_IMETHOD GetSystemId(nsString& aSystemId) { return _to##GetSystemId(aSystemId); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitNotationClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitNotationClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptNotation(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -54,7 +54,7 @@ public:
|
||||
NS_IMETHOD SetData(const nsString& aData) { return _to##SetData(aData); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitProcessingInstructionClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitProcessingInstructionClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptProcessingInstruction(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -143,7 +143,7 @@ public:
|
||||
NS_IMETHOD ToString(nsString& aReturn) { return _to##ToString(aReturn); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitRangeClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitRangeClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptRange(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -57,7 +57,7 @@ public:
|
||||
NS_IMETHOD GetReadOnly(PRBool* aReadOnly) { return _to##GetReadOnly(aReadOnly); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitStyleSheetClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitStyleSheetClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptStyleSheet(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -51,7 +51,7 @@ public:
|
||||
NS_IMETHOD Item(PRUint32 aIndex, nsIDOMStyleSheet** aReturn) { return _to##Item(aIndex, aReturn); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitStyleSheetCollectionClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitStyleSheetCollectionClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptStyleSheetCollection(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -48,7 +48,7 @@ public:
|
||||
NS_IMETHOD SplitText(PRUint32 aOffset, nsIDOMText** aReturn) { return _to##SplitText(aOffset, aReturn); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitTextClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitTextClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptText(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -254,7 +254,7 @@ public:
|
||||
NS_IMETHOD SetButton(PRUint32 aButton) { return _to##SetButton(aButton); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitEventClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitEventClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptEvent(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -904,7 +904,7 @@ public:
|
||||
NS_IMETHOD SetOpacity(const nsString& aOpacity) { return _to##SetOpacity(aOpacity); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitCSS2PropertiesClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitCSS2PropertiesClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptCSS2Properties(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -51,7 +51,7 @@ public:
|
||||
NS_IMETHOD SetStyle(nsIDOMCSSStyleDeclaration* aStyle) { return _to##SetStyle(aStyle); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitCSSFontFaceRuleClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitCSSFontFaceRuleClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptCSSFontFaceRule(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -62,7 +62,7 @@ public:
|
||||
NS_IMETHOD GetStyleSheet(nsIDOMCSSStyleSheet** aStyleSheet) { return _to##GetStyleSheet(aStyleSheet); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitCSSImportRuleClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitCSSImportRuleClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptCSSImportRule(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -63,7 +63,7 @@ public:
|
||||
NS_IMETHOD DeleteRule(PRUint32 aIndex) { return _to##DeleteRule(aIndex); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitCSSMediaRuleClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitCSSMediaRuleClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptCSSMediaRule(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -58,7 +58,7 @@ public:
|
||||
NS_IMETHOD SetStyle(nsIDOMCSSStyleDeclaration* aStyle) { return _to##SetStyle(aStyle); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitCSSPageRuleClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitCSSPageRuleClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptCSSPageRule(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -66,7 +66,7 @@ public:
|
||||
NS_IMETHOD GetSheet(nsIDOMCSSStyleSheet** aSheet) { return _to##GetSheet(aSheet); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitCSSRuleClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitCSSRuleClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptCSSRule(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -69,7 +69,7 @@ public:
|
||||
NS_IMETHOD Item(PRUint32 aIndex, nsString& aReturn) { return _to##Item(aIndex, aReturn); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitCSSStyleDeclarationClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitCSSStyleDeclarationClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptCSSStyleDeclaration(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -58,7 +58,7 @@ public:
|
||||
NS_IMETHOD SetStyle(nsIDOMCSSStyleDeclaration* aStyle) { return _to##SetStyle(aStyle); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitCSSStyleRuleClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitCSSStyleRuleClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptCSSStyleRule(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -51,7 +51,7 @@ public:
|
||||
NS_IMETHOD Item(PRUint32 aIndex, nsIDOMCSSStyleRule** aReturn) { return _to##Item(aIndex, aReturn); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitCSSStyleRuleCollectionClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitCSSStyleRuleCollectionClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptCSSStyleRuleCollection(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -78,7 +78,7 @@ public:
|
||||
NS_IMETHOD DeleteRule(PRUint32 aIndex) { return _to##DeleteRule(aIndex); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitCSSStyleSheetClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitCSSStyleSheetClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptCSSStyleSheet(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -43,7 +43,7 @@ public:
|
||||
#define NS_FORWARD_IDOMCSSUNKNOWNRULE(_to) \
|
||||
|
||||
|
||||
extern nsresult NS_InitCSSUnknownRuleClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitCSSUnknownRuleClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptCSSUnknownRule(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -135,7 +135,7 @@ public:
|
||||
NS_IMETHOD Focus() { return _to##Focus(); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLAnchorElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLAnchorElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLAnchorElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -120,7 +120,7 @@ public:
|
||||
NS_IMETHOD SetWidth(const nsString& aWidth) { return _to##SetWidth(aWidth); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLAppletElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLAppletElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLAppletElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -99,7 +99,7 @@ public:
|
||||
NS_IMETHOD SetTarget(const nsString& aTarget) { return _to##SetTarget(aTarget); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLAreaElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLAreaElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLAreaElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -50,7 +50,7 @@ public:
|
||||
NS_IMETHOD SetClear(const nsString& aClear) { return _to##SetClear(aClear); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLBRElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLBRElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLBRElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -57,7 +57,7 @@ public:
|
||||
NS_IMETHOD SetTarget(const nsString& aTarget) { return _to##SetTarget(aTarget); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLBaseElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLBaseElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLBaseElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -64,7 +64,7 @@ public:
|
||||
NS_IMETHOD SetSize(const nsString& aSize) { return _to##SetSize(aSize); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLBaseFontElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLBaseFontElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLBaseFontElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -50,7 +50,7 @@ public:
|
||||
NS_IMETHOD SetCite(const nsString& aCite) { return _to##SetCite(aCite); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLBlockquoteElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLBlockquoteElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLBlockquoteElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -85,7 +85,7 @@ public:
|
||||
NS_IMETHOD SetVLink(const nsString& aVLink) { return _to##SetVLink(aVLink); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLBodyElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLBodyElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLBodyElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -87,7 +87,7 @@ public:
|
||||
NS_IMETHOD SetValue(const nsString& aValue) { return _to##SetValue(aValue); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLButtonElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLButtonElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLButtonElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -55,7 +55,7 @@ public:
|
||||
NS_IMETHOD NamedItem(const nsString& aName, nsIDOMNode** aReturn) { return _to##NamedItem(aName, aReturn); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLCollectionClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLCollectionClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLCollection(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -50,7 +50,7 @@ public:
|
||||
NS_IMETHOD SetCompact(PRBool aCompact) { return _to##SetCompact(aCompact); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLDListElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLDListElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLDListElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -50,7 +50,7 @@ public:
|
||||
NS_IMETHOD SetCompact(PRBool aCompact) { return _to##SetCompact(aCompact); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLDirectoryElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLDirectoryElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLDirectoryElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -50,7 +50,7 @@ public:
|
||||
NS_IMETHOD SetAlign(const nsString& aAlign) { return _to##SetAlign(aAlign); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLDivElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLDivElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLDivElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -125,7 +125,7 @@ public:
|
||||
NS_IMETHOD GetElementsByName(const nsString& aElementName, nsIDOMNodeList** aReturn) { return _to##GetElementsByName(aElementName, aReturn); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLDocumentClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLDocumentClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLDocument(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -83,7 +83,7 @@ public:
|
||||
NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration** aStyle) { return _to##GetStyle(aStyle); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -48,7 +48,7 @@ public:
|
||||
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm) { return _to##GetForm(aForm); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLFieldSetElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLFieldSetElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLFieldSetElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -64,7 +64,7 @@ public:
|
||||
NS_IMETHOD SetSize(const nsString& aSize) { return _to##SetSize(aSize); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLFontElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLFontElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLFontElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -102,7 +102,7 @@ public:
|
||||
NS_IMETHOD Reset() { return _to##Reset(); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLFormElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLFormElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLFormElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -99,7 +99,7 @@ public:
|
||||
NS_IMETHOD SetSrc(const nsString& aSrc) { return _to##SetSrc(aSrc); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLFrameElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLFrameElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLFrameElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -57,7 +57,7 @@ public:
|
||||
NS_IMETHOD SetRows(const nsString& aRows) { return _to##SetRows(aRows); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLFrameSetElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLFrameSetElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLFrameSetElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -71,7 +71,7 @@ public:
|
||||
NS_IMETHOD SetWidth(const nsString& aWidth) { return _to##SetWidth(aWidth); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLHRElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLHRElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLHRElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -50,7 +50,7 @@ public:
|
||||
NS_IMETHOD SetProfile(const nsString& aProfile) { return _to##SetProfile(aProfile); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLHeadElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLHeadElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLHeadElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -50,7 +50,7 @@ public:
|
||||
NS_IMETHOD SetAlign(const nsString& aAlign) { return _to##SetAlign(aAlign); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLHeadingElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLHeadingElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLHeadingElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -50,7 +50,7 @@ public:
|
||||
NS_IMETHOD SetVersion(const nsString& aVersion) { return _to##SetVersion(aVersion); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLHtmlElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLHtmlElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLHtmlElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -113,7 +113,7 @@ public:
|
||||
NS_IMETHOD SetWidth(const nsString& aWidth) { return _to##SetWidth(aWidth); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLIFrameElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLIFrameElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLIFrameElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -134,7 +134,7 @@ public:
|
||||
NS_IMETHOD SetWidth(const nsString& aWidth) { return _to##SetWidth(aWidth); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLImageElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLImageElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLImageElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -180,7 +180,7 @@ public:
|
||||
NS_IMETHOD Click() { return _to##Click(); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLInputElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLInputElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLInputElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -55,7 +55,7 @@ public:
|
||||
NS_IMETHOD SetPrompt(const nsString& aPrompt) { return _to##SetPrompt(aPrompt); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLIsIndexElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLIsIndexElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLIsIndexElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -57,7 +57,7 @@ public:
|
||||
NS_IMETHOD SetValue(PRInt32 aValue) { return _to##SetValue(aValue); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLLIElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLLIElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLLIElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -62,7 +62,7 @@ public:
|
||||
NS_IMETHOD SetHtmlFor(const nsString& aHtmlFor) { return _to##SetHtmlFor(aHtmlFor); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLLabelElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLLabelElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLLabelElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -62,7 +62,7 @@ public:
|
||||
NS_IMETHOD SetAlign(const nsString& aAlign) { return _to##SetAlign(aAlign); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLLegendElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLLegendElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLLegendElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -106,7 +106,7 @@ public:
|
||||
NS_IMETHOD SetType(const nsString& aType) { return _to##SetType(aType); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLLinkElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLLinkElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLLinkElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -55,7 +55,7 @@ public:
|
||||
NS_IMETHOD SetName(const nsString& aName) { return _to##SetName(aName); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLMapElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLMapElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLMapElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -50,7 +50,7 @@ public:
|
||||
NS_IMETHOD SetCompact(PRBool aCompact) { return _to##SetCompact(aCompact); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLMenuElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLMenuElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLMenuElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -71,7 +71,7 @@ public:
|
||||
NS_IMETHOD SetScheme(const nsString& aScheme) { return _to##SetScheme(aScheme); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLMetaElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLMetaElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLMetaElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -57,7 +57,7 @@ public:
|
||||
NS_IMETHOD SetDateTime(const nsString& aDateTime) { return _to##SetDateTime(aDateTime); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLModElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLModElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLModElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -64,7 +64,7 @@ public:
|
||||
NS_IMETHOD SetType(const nsString& aType) { return _to##SetType(aType); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLOListElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLOListElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLOListElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -167,7 +167,7 @@ public:
|
||||
NS_IMETHOD SetWidth(const nsString& aWidth) { return _to##SetWidth(aWidth); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLObjectElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLObjectElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLObjectElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -57,7 +57,7 @@ public:
|
||||
NS_IMETHOD SetLabel(const nsString& aLabel) { return _to##SetLabel(aLabel); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLOptGroupElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLOptGroupElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLOptGroupElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -91,7 +91,7 @@ public:
|
||||
NS_IMETHOD SetValue(const nsString& aValue) { return _to##SetValue(aValue); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLOptionElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLOptionElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLOptionElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -50,7 +50,7 @@ public:
|
||||
NS_IMETHOD SetAlign(const nsString& aAlign) { return _to##SetAlign(aAlign); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLParagraphElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLParagraphElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLParagraphElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -71,7 +71,7 @@ public:
|
||||
NS_IMETHOD SetValueType(const nsString& aValueType) { return _to##SetValueType(aValueType); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLParamElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLParamElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLParamElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -50,7 +50,7 @@ public:
|
||||
NS_IMETHOD SetWidth(PRInt32 aWidth) { return _to##SetWidth(aWidth); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLPreElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLPreElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLPreElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -50,7 +50,7 @@ public:
|
||||
NS_IMETHOD SetCite(const nsString& aCite) { return _to##SetCite(aCite); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLQuoteElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLQuoteElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLQuoteElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -92,7 +92,7 @@ public:
|
||||
NS_IMETHOD SetType(const nsString& aType) { return _to##SetType(aType); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLScriptElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLScriptElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLScriptElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -127,7 +127,7 @@ public:
|
||||
NS_IMETHOD Focus() { return _to##Focus(); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLSelectElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLSelectElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLSelectElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -64,7 +64,7 @@ public:
|
||||
NS_IMETHOD SetType(const nsString& aType) { return _to##SetType(aType); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLStyleElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLStyleElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLStyleElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -50,7 +50,7 @@ public:
|
||||
NS_IMETHOD SetAlign(const nsString& aAlign) { return _to##SetAlign(aAlign); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLTableCaptionElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLTableCaptionElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLTableCaptionElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -148,7 +148,7 @@ public:
|
||||
NS_IMETHOD SetWidth(const nsString& aWidth) { return _to##SetWidth(aWidth); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLTableCellElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLTableCellElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLTableCellElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -85,7 +85,7 @@ public:
|
||||
NS_IMETHOD SetWidth(const nsString& aWidth) { return _to##SetWidth(aWidth); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLTableColElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLTableColElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLTableColElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -171,7 +171,7 @@ public:
|
||||
NS_IMETHOD DeleteRow(PRInt32 aIndex) { return _to##DeleteRow(aIndex); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLTableElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLTableElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLTableElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -109,7 +109,7 @@ public:
|
||||
NS_IMETHOD DeleteCell(PRInt32 aIndex) { return _to##DeleteCell(aIndex); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLTableRowElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLTableRowElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLTableRowElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -85,7 +85,7 @@ public:
|
||||
NS_IMETHOD DeleteRow(PRInt32 aIndex) { return _to##DeleteRow(aIndex); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLTableSectionElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLTableSectionElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLTableSectionElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -127,7 +127,7 @@ public:
|
||||
NS_IMETHOD Select() { return _to##Select(); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLTextAreaElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLTextAreaElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLTextAreaElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -50,7 +50,7 @@ public:
|
||||
NS_IMETHOD SetText(const nsString& aText) { return _to##SetText(aText); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLTitleElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLTitleElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLTitleElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -57,7 +57,7 @@ public:
|
||||
NS_IMETHOD SetType(const nsString& aType) { return _to##SetType(aType); } \
|
||||
|
||||
|
||||
extern nsresult NS_InitHTMLUListElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
extern "C" NS_DOM nsresult NS_InitHTMLUListElementClass(nsIScriptContext *aContext, void **aPrototype);
|
||||
|
||||
extern "C" NS_DOM nsresult NS_NewScriptHTMLUListElement(nsIScriptContext *aContext, nsISupports *aSupports, nsISupports *aParent, void **aReturn);
|
||||
|
||||
|
@ -337,7 +337,7 @@ History(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
|
||||
//
|
||||
// History class initialization
|
||||
//
|
||||
nsresult NS_InitHistoryClass(nsIScriptContext *aContext, void **aPrototype)
|
||||
extern "C" NS_DOM nsresult NS_InitHistoryClass(nsIScriptContext *aContext, void **aPrototype)
|
||||
{
|
||||
JSContext *jscontext = (JSContext *)aContext->GetNativeContext();
|
||||
JSObject *proto = nsnull;
|
||||
|
@ -458,7 +458,7 @@ Location(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
|
||||
//
|
||||
// Location class initialization
|
||||
//
|
||||
nsresult NS_InitLocationClass(nsIScriptContext *aContext, void **aPrototype)
|
||||
extern "C" NS_DOM nsresult NS_InitLocationClass(nsIScriptContext *aContext, void **aPrototype)
|
||||
{
|
||||
JSContext *jscontext = (JSContext *)aContext->GetNativeContext();
|
||||
JSObject *proto = nsnull;
|
||||
|
@ -303,7 +303,7 @@ Navigator(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
|
||||
//
|
||||
// Navigator class initialization
|
||||
//
|
||||
nsresult NS_InitNavigatorClass(nsIScriptContext *aContext, void **aPrototype)
|
||||
extern "C" NS_DOM nsresult NS_InitNavigatorClass(nsIScriptContext *aContext, void **aPrototype)
|
||||
{
|
||||
JSContext *jscontext = (JSContext *)aContext->GetNativeContext();
|
||||
JSObject *proto = nsnull;
|
||||
|
@ -281,7 +281,7 @@ Screen(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
|
||||
//
|
||||
// Screen class initialization
|
||||
//
|
||||
nsresult NS_InitScreenClass(nsIScriptContext *aContext, void **aPrototype)
|
||||
extern "C" NS_DOM nsresult NS_InitScreenClass(nsIScriptContext *aContext, void **aPrototype)
|
||||
{
|
||||
JSContext *jscontext = (JSContext *)aContext->GetNativeContext();
|
||||
JSObject *proto = nsnull;
|
||||
|
@ -306,7 +306,7 @@ WindowCollection(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *r
|
||||
//
|
||||
// WindowCollection class initialization
|
||||
//
|
||||
nsresult NS_InitWindowCollectionClass(nsIScriptContext *aContext, void **aPrototype)
|
||||
extern "C" NS_DOM nsresult NS_InitWindowCollectionClass(nsIScriptContext *aContext, void **aPrototype)
|
||||
{
|
||||
JSContext *jscontext = (JSContext *)aContext->GetNativeContext();
|
||||
JSObject *proto = nsnull;
|
||||
|
@ -699,4 +699,5 @@ void XXXDomNeverCalled()
|
||||
NS_NewScriptCSSStyleRule(0, 0, 0, 0);
|
||||
NS_NewScriptCSSStyleRuleCollection(0, 0, 0, 0);
|
||||
NET_InitJavaScriptProtocol();
|
||||
NS_InitDocumentClass(nsnull, nsnull);
|
||||
}
|
||||
|
@ -224,7 +224,7 @@ Attr(JSContext *cx, JSObject *obj, uintN argc, jsval *argv, jsval *rval)
|
||||
//
|
||||
// Attr class initialization
|
||||
//
|
||||
nsresult NS_InitAttrClass(nsIScriptContext *aContext, void **aPrototype)
|
||||
extern "C" NS_DOM nsresult NS_InitAttrClass(nsIScriptContext *aContext, void **aPrototype)
|
||||
{
|
||||
JSContext *jscontext = (JSContext *)aContext->GetNativeContext();
|
||||
JSObject *proto = nsnull;
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user