Backing out changes that should've been checked onto a branch. Sorry about that.

This commit is contained in:
jst%netscape.com 2000-08-11 22:10:35 +00:00
Родитель 277036feb3
Коммит 84d041ab4e
129 изменённых файлов: 2915 добавлений и 2925 удалений

Просмотреть файл

@ -37,17 +37,17 @@ class nsIDOMCRMFObject : public nsISupports {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMCRMFOBJECT_IID; return iid; }
NS_IMETHOD GetRequest(nsAWritableString& aRequest)=0;
NS_IMETHOD GetRequest(nsString& aRequest)=0;
};
#define NS_DECL_IDOMCRMFOBJECT \
NS_IMETHOD GetRequest(nsAWritableString& aRequest); \
NS_IMETHOD GetRequest(nsString& aRequest); \
#define NS_FORWARD_IDOMCRMFOBJECT(_to) \
NS_IMETHOD GetRequest(nsAWritableString& aRequest) { return _to GetRequest(aRequest); } \
NS_IMETHOD GetRequest(nsString& aRequest) { return _to GetRequest(aRequest); } \
extern "C" NS_DOM nsresult NS_InitCRMFObjectClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -39,19 +39,19 @@ class nsIDOMCrypto : public nsISupports {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMCRYPTO_IID; return iid; }
NS_IMETHOD GetVersion(nsAWritableString& aVersion)=0;
NS_IMETHOD GetVersion(nsString& aVersion)=0;
NS_IMETHOD GenerateCRMFRequest(JSContext* cx, jsval* argv, PRUint32 argc, nsIDOMCRMFObject** aReturn)=0;
NS_IMETHOD ImportUserCertificates(const nsAReadableString& aNickname, const nsAReadableString& aCmmfResponse, PRBool aDoForcedBackup, nsAWritableString& aReturn)=0;
NS_IMETHOD ImportUserCertificates(const nsString& aNickname, const nsString& aCmmfResponse, PRBool aDoForcedBackup, nsString& aReturn)=0;
NS_IMETHOD PopChallengeResponse(const nsAReadableString& aChallenge, nsAWritableString& aReturn)=0;
NS_IMETHOD PopChallengeResponse(const nsString& aChallenge, nsString& aReturn)=0;
NS_IMETHOD Random(PRInt32 aNumBytes, nsAWritableString& aReturn)=0;
NS_IMETHOD Random(PRInt32 aNumBytes, nsString& aReturn)=0;
NS_IMETHOD SignText(JSContext* cx, jsval* argv, PRUint32 argc, nsAWritableString& aReturn)=0;
NS_IMETHOD SignText(JSContext* cx, jsval* argv, PRUint32 argc, nsString& aReturn)=0;
NS_IMETHOD Alert(const nsAReadableString& aMessage)=0;
NS_IMETHOD Alert(const nsString& aMessage)=0;
NS_IMETHOD Logout()=0;
@ -60,26 +60,26 @@ public:
#define NS_DECL_IDOMCRYPTO \
NS_IMETHOD GetVersion(nsAWritableString& aVersion); \
NS_IMETHOD GetVersion(nsString& aVersion); \
NS_IMETHOD GenerateCRMFRequest(JSContext* cx, jsval* argv, PRUint32 argc, nsIDOMCRMFObject** aReturn); \
NS_IMETHOD ImportUserCertificates(const nsAReadableString& aNickname, const nsAReadableString& aCmmfResponse, PRBool aDoForcedBackup, nsAWritableString& aReturn); \
NS_IMETHOD PopChallengeResponse(const nsAReadableString& aChallenge, nsAWritableString& aReturn); \
NS_IMETHOD Random(PRInt32 aNumBytes, nsAWritableString& aReturn); \
NS_IMETHOD SignText(JSContext* cx, jsval* argv, PRUint32 argc, nsAWritableString& aReturn); \
NS_IMETHOD Alert(const nsAReadableString& aMessage); \
NS_IMETHOD ImportUserCertificates(const nsString& aNickname, const nsString& aCmmfResponse, PRBool aDoForcedBackup, nsString& aReturn); \
NS_IMETHOD PopChallengeResponse(const nsString& aChallenge, nsString& aReturn); \
NS_IMETHOD Random(PRInt32 aNumBytes, nsString& aReturn); \
NS_IMETHOD SignText(JSContext* cx, jsval* argv, PRUint32 argc, nsString& aReturn); \
NS_IMETHOD Alert(const nsString& aMessage); \
NS_IMETHOD Logout(); \
NS_IMETHOD DisableRightClick(); \
#define NS_FORWARD_IDOMCRYPTO(_to) \
NS_IMETHOD GetVersion(nsAWritableString& aVersion) { return _to GetVersion(aVersion); } \
NS_IMETHOD GetVersion(nsString& aVersion) { return _to GetVersion(aVersion); } \
NS_IMETHOD GenerateCRMFRequest(JSContext* cx, jsval* argv, PRUint32 argc, nsIDOMCRMFObject** aReturn) { return _to GenerateCRMFRequest(cx, argv, argc, aReturn); } \
NS_IMETHOD ImportUserCertificates(const nsAReadableString& aNickname, const nsAReadableString& aCmmfResponse, PRBool aDoForcedBackup, nsAWritableString& aReturn) { return _to ImportUserCertificates(aNickname, aCmmfResponse, aDoForcedBackup, aReturn); } \
NS_IMETHOD PopChallengeResponse(const nsAReadableString& aChallenge, nsAWritableString& aReturn) { return _to PopChallengeResponse(aChallenge, aReturn); } \
NS_IMETHOD Random(PRInt32 aNumBytes, nsAWritableString& aReturn) { return _to Random(aNumBytes, aReturn); } \
NS_IMETHOD SignText(JSContext* cx, jsval* argv, PRUint32 argc, nsAWritableString& aReturn) { return _to SignText(cx, argv, argc, aReturn); } \
NS_IMETHOD Alert(const nsAReadableString& aMessage) { return _to Alert(aMessage); } \
NS_IMETHOD ImportUserCertificates(const nsString& aNickname, const nsString& aCmmfResponse, PRBool aDoForcedBackup, nsString& aReturn) { return _to ImportUserCertificates(aNickname, aCmmfResponse, aDoForcedBackup, aReturn); } \
NS_IMETHOD PopChallengeResponse(const nsString& aChallenge, nsString& aReturn) { return _to PopChallengeResponse(aChallenge, aReturn); } \
NS_IMETHOD Random(PRInt32 aNumBytes, nsString& aReturn) { return _to Random(aNumBytes, aReturn); } \
NS_IMETHOD SignText(JSContext* cx, jsval* argv, PRUint32 argc, nsString& aReturn) { return _to SignText(cx, argv, argc, aReturn); } \
NS_IMETHOD Alert(const nsString& aMessage) { return _to Alert(aMessage); } \
NS_IMETHOD Logout() { return _to Logout(); } \
NS_IMETHOD DisableRightClick() { return _to DisableRightClick(); } \

Просмотреть файл

@ -58,29 +58,29 @@ public:
NS_IMETHOD GetResult(PRUint32* aResult)=0;
NS_IMETHOD GetMessage(nsAWritableString& aMessage)=0;
NS_IMETHOD GetMessage(nsString& aMessage)=0;
NS_IMETHOD GetName(nsAWritableString& aName)=0;
NS_IMETHOD GetName(nsString& aName)=0;
NS_IMETHOD ToString(nsAWritableString& aReturn)=0;
NS_IMETHOD ToString(nsString& aReturn)=0;
};
#define NS_DECL_IDOMDOMEXCEPTION \
NS_IMETHOD GetCode(PRUint32* aCode); \
NS_IMETHOD GetResult(PRUint32* aResult); \
NS_IMETHOD GetMessage(nsAWritableString& aMessage); \
NS_IMETHOD GetName(nsAWritableString& aName); \
NS_IMETHOD ToString(nsAWritableString& aReturn); \
NS_IMETHOD GetMessage(nsString& aMessage); \
NS_IMETHOD GetName(nsString& aName); \
NS_IMETHOD ToString(nsString& aReturn); \
#define NS_FORWARD_IDOMDOMEXCEPTION(_to) \
NS_IMETHOD GetCode(PRUint32* aCode) { return _to GetCode(aCode); } \
NS_IMETHOD GetResult(PRUint32* aResult) { return _to GetResult(aResult); } \
NS_IMETHOD GetMessage(nsAWritableString& aMessage) { return _to GetMessage(aMessage); } \
NS_IMETHOD GetName(nsAWritableString& aName) { return _to GetName(aName); } \
NS_IMETHOD ToString(nsAWritableString& aReturn) { return _to ToString(aReturn); } \
NS_IMETHOD GetMessage(nsString& aMessage) { return _to GetMessage(aMessage); } \
NS_IMETHOD GetName(nsString& aName) { return _to GetName(aName); } \
NS_IMETHOD ToString(nsString& aReturn) { return _to ToString(aReturn); } \
extern "C" NS_DOM nsresult NS_InitDOMExceptionClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -40,11 +40,11 @@ public:
NS_IMETHOD GetLength(PRInt32* aLength)=0;
NS_IMETHOD GetCurrent(nsAWritableString& aCurrent)=0;
NS_IMETHOD GetCurrent(nsString& aCurrent)=0;
NS_IMETHOD GetPrevious(nsAWritableString& aPrevious)=0;
NS_IMETHOD GetPrevious(nsString& aPrevious)=0;
NS_IMETHOD GetNext(nsAWritableString& aNext)=0;
NS_IMETHOD GetNext(nsString& aNext)=0;
NS_IMETHOD Back()=0;
@ -56,9 +56,9 @@ public:
#define NS_DECL_IDOMHISTORY \
NS_IMETHOD GetLength(PRInt32* aLength); \
NS_IMETHOD GetCurrent(nsAWritableString& aCurrent); \
NS_IMETHOD GetPrevious(nsAWritableString& aPrevious); \
NS_IMETHOD GetNext(nsAWritableString& aNext); \
NS_IMETHOD GetCurrent(nsString& aCurrent); \
NS_IMETHOD GetPrevious(nsString& aPrevious); \
NS_IMETHOD GetNext(nsString& aNext); \
NS_IMETHOD Back(); \
NS_IMETHOD Forward(); \
NS_IMETHOD Go(JSContext* cx, jsval* argv, PRUint32 argc); \
@ -67,9 +67,9 @@ public:
#define NS_FORWARD_IDOMHISTORY(_to) \
NS_IMETHOD GetLength(PRInt32* aLength) { return _to GetLength(aLength); } \
NS_IMETHOD GetCurrent(nsAWritableString& aCurrent) { return _to GetCurrent(aCurrent); } \
NS_IMETHOD GetPrevious(nsAWritableString& aPrevious) { return _to GetPrevious(aPrevious); } \
NS_IMETHOD GetNext(nsAWritableString& aNext) { return _to GetNext(aNext); } \
NS_IMETHOD GetCurrent(nsString& aCurrent) { return _to GetCurrent(aCurrent); } \
NS_IMETHOD GetPrevious(nsString& aPrevious) { return _to GetPrevious(aPrevious); } \
NS_IMETHOD GetNext(nsString& aNext) { return _to GetNext(aNext); } \
NS_IMETHOD Back() { return _to Back(); } \
NS_IMETHOD Forward() { return _to Forward(); } \
NS_IMETHOD Go(JSContext* cx, jsval* argv, PRUint32 argc) { return _to Go(cx, argv, argc); } \

Просмотреть файл

@ -37,81 +37,81 @@ class nsIDOMLocation : public nsISupports {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMLOCATION_IID; return iid; }
NS_IMETHOD GetHash(nsAWritableString& aHash)=0;
NS_IMETHOD SetHash(const nsAReadableString& aHash)=0;
NS_IMETHOD GetHash(nsString& aHash)=0;
NS_IMETHOD SetHash(const nsString& aHash)=0;
NS_IMETHOD GetHost(nsAWritableString& aHost)=0;
NS_IMETHOD SetHost(const nsAReadableString& aHost)=0;
NS_IMETHOD GetHost(nsString& aHost)=0;
NS_IMETHOD SetHost(const nsString& aHost)=0;
NS_IMETHOD GetHostname(nsAWritableString& aHostname)=0;
NS_IMETHOD SetHostname(const nsAReadableString& aHostname)=0;
NS_IMETHOD GetHostname(nsString& aHostname)=0;
NS_IMETHOD SetHostname(const nsString& aHostname)=0;
NS_IMETHOD GetHref(nsAWritableString& aHref)=0;
NS_IMETHOD SetHref(const nsAReadableString& aHref)=0;
NS_IMETHOD GetHref(nsString& aHref)=0;
NS_IMETHOD SetHref(const nsString& aHref)=0;
NS_IMETHOD GetPathname(nsAWritableString& aPathname)=0;
NS_IMETHOD SetPathname(const nsAReadableString& aPathname)=0;
NS_IMETHOD GetPathname(nsString& aPathname)=0;
NS_IMETHOD SetPathname(const nsString& aPathname)=0;
NS_IMETHOD GetPort(nsAWritableString& aPort)=0;
NS_IMETHOD SetPort(const nsAReadableString& aPort)=0;
NS_IMETHOD GetPort(nsString& aPort)=0;
NS_IMETHOD SetPort(const nsString& aPort)=0;
NS_IMETHOD GetProtocol(nsAWritableString& aProtocol)=0;
NS_IMETHOD SetProtocol(const nsAReadableString& aProtocol)=0;
NS_IMETHOD GetProtocol(nsString& aProtocol)=0;
NS_IMETHOD SetProtocol(const nsString& aProtocol)=0;
NS_IMETHOD GetSearch(nsAWritableString& aSearch)=0;
NS_IMETHOD SetSearch(const nsAReadableString& aSearch)=0;
NS_IMETHOD GetSearch(nsString& aSearch)=0;
NS_IMETHOD SetSearch(const nsString& aSearch)=0;
NS_IMETHOD Reload(PRBool aForceget)=0;
NS_IMETHOD Replace(const nsAReadableString& aUrl)=0;
NS_IMETHOD Replace(const nsString& aUrl)=0;
NS_IMETHOD ToString(nsAWritableString& aReturn)=0;
NS_IMETHOD ToString(nsString& aReturn)=0;
};
#define NS_DECL_IDOMLOCATION \
NS_IMETHOD GetHash(nsAWritableString& aHash); \
NS_IMETHOD SetHash(const nsAReadableString& aHash); \
NS_IMETHOD GetHost(nsAWritableString& aHost); \
NS_IMETHOD SetHost(const nsAReadableString& aHost); \
NS_IMETHOD GetHostname(nsAWritableString& aHostname); \
NS_IMETHOD SetHostname(const nsAReadableString& aHostname); \
NS_IMETHOD GetHref(nsAWritableString& aHref); \
NS_IMETHOD SetHref(const nsAReadableString& aHref); \
NS_IMETHOD GetPathname(nsAWritableString& aPathname); \
NS_IMETHOD SetPathname(const nsAReadableString& aPathname); \
NS_IMETHOD GetPort(nsAWritableString& aPort); \
NS_IMETHOD SetPort(const nsAReadableString& aPort); \
NS_IMETHOD GetProtocol(nsAWritableString& aProtocol); \
NS_IMETHOD SetProtocol(const nsAReadableString& aProtocol); \
NS_IMETHOD GetSearch(nsAWritableString& aSearch); \
NS_IMETHOD SetSearch(const nsAReadableString& aSearch); \
NS_IMETHOD GetHash(nsString& aHash); \
NS_IMETHOD SetHash(const nsString& aHash); \
NS_IMETHOD GetHost(nsString& aHost); \
NS_IMETHOD SetHost(const nsString& aHost); \
NS_IMETHOD GetHostname(nsString& aHostname); \
NS_IMETHOD SetHostname(const nsString& aHostname); \
NS_IMETHOD GetHref(nsString& aHref); \
NS_IMETHOD SetHref(const nsString& aHref); \
NS_IMETHOD GetPathname(nsString& aPathname); \
NS_IMETHOD SetPathname(const nsString& aPathname); \
NS_IMETHOD GetPort(nsString& aPort); \
NS_IMETHOD SetPort(const nsString& aPort); \
NS_IMETHOD GetProtocol(nsString& aProtocol); \
NS_IMETHOD SetProtocol(const nsString& aProtocol); \
NS_IMETHOD GetSearch(nsString& aSearch); \
NS_IMETHOD SetSearch(const nsString& aSearch); \
NS_IMETHOD Reload(PRBool aForceget); \
NS_IMETHOD Replace(const nsAReadableString& aUrl); \
NS_IMETHOD ToString(nsAWritableString& aReturn); \
NS_IMETHOD Replace(const nsString& aUrl); \
NS_IMETHOD ToString(nsString& aReturn); \
#define NS_FORWARD_IDOMLOCATION(_to) \
NS_IMETHOD GetHash(nsAWritableString& aHash) { return _to GetHash(aHash); } \
NS_IMETHOD SetHash(const nsAReadableString& aHash) { return _to SetHash(aHash); } \
NS_IMETHOD GetHost(nsAWritableString& aHost) { return _to GetHost(aHost); } \
NS_IMETHOD SetHost(const nsAReadableString& aHost) { return _to SetHost(aHost); } \
NS_IMETHOD GetHostname(nsAWritableString& aHostname) { return _to GetHostname(aHostname); } \
NS_IMETHOD SetHostname(const nsAReadableString& aHostname) { return _to SetHostname(aHostname); } \
NS_IMETHOD GetHref(nsAWritableString& aHref) { return _to GetHref(aHref); } \
NS_IMETHOD SetHref(const nsAReadableString& aHref) { return _to SetHref(aHref); } \
NS_IMETHOD GetPathname(nsAWritableString& aPathname) { return _to GetPathname(aPathname); } \
NS_IMETHOD SetPathname(const nsAReadableString& aPathname) { return _to SetPathname(aPathname); } \
NS_IMETHOD GetPort(nsAWritableString& aPort) { return _to GetPort(aPort); } \
NS_IMETHOD SetPort(const nsAReadableString& aPort) { return _to SetPort(aPort); } \
NS_IMETHOD GetProtocol(nsAWritableString& aProtocol) { return _to GetProtocol(aProtocol); } \
NS_IMETHOD SetProtocol(const nsAReadableString& aProtocol) { return _to SetProtocol(aProtocol); } \
NS_IMETHOD GetSearch(nsAWritableString& aSearch) { return _to GetSearch(aSearch); } \
NS_IMETHOD SetSearch(const nsAReadableString& aSearch) { return _to SetSearch(aSearch); } \
NS_IMETHOD GetHash(nsString& aHash) { return _to GetHash(aHash); } \
NS_IMETHOD SetHash(const nsString& aHash) { return _to SetHash(aHash); } \
NS_IMETHOD GetHost(nsString& aHost) { return _to GetHost(aHost); } \
NS_IMETHOD SetHost(const nsString& aHost) { return _to SetHost(aHost); } \
NS_IMETHOD GetHostname(nsString& aHostname) { return _to GetHostname(aHostname); } \
NS_IMETHOD SetHostname(const nsString& aHostname) { return _to SetHostname(aHostname); } \
NS_IMETHOD GetHref(nsString& aHref) { return _to GetHref(aHref); } \
NS_IMETHOD SetHref(const nsString& aHref) { return _to SetHref(aHref); } \
NS_IMETHOD GetPathname(nsString& aPathname) { return _to GetPathname(aPathname); } \
NS_IMETHOD SetPathname(const nsString& aPathname) { return _to SetPathname(aPathname); } \
NS_IMETHOD GetPort(nsString& aPort) { return _to GetPort(aPort); } \
NS_IMETHOD SetPort(const nsString& aPort) { return _to SetPort(aPort); } \
NS_IMETHOD GetProtocol(nsString& aProtocol) { return _to GetProtocol(aProtocol); } \
NS_IMETHOD SetProtocol(const nsString& aProtocol) { return _to SetProtocol(aProtocol); } \
NS_IMETHOD GetSearch(nsString& aSearch) { return _to GetSearch(aSearch); } \
NS_IMETHOD SetSearch(const nsString& aSearch) { return _to SetSearch(aSearch); } \
NS_IMETHOD Reload(PRBool aForceget) { return _to Reload(aForceget); } \
NS_IMETHOD Replace(const nsAReadableString& aUrl) { return _to Replace(aUrl); } \
NS_IMETHOD ToString(nsAWritableString& aReturn) { return _to ToString(aReturn); } \
NS_IMETHOD Replace(const nsString& aUrl) { return _to Replace(aUrl); } \
NS_IMETHOD ToString(nsString& aReturn) { return _to ToString(aReturn); } \
extern "C" NS_DOM nsresult NS_InitLocationClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -37,29 +37,29 @@ class nsIDOMMimeType : public nsISupports {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMMIMETYPE_IID; return iid; }
NS_IMETHOD GetDescription(nsAWritableString& aDescription)=0;
NS_IMETHOD GetDescription(nsString& aDescription)=0;
NS_IMETHOD GetEnabledPlugin(nsIDOMPlugin** aEnabledPlugin)=0;
NS_IMETHOD GetSuffixes(nsAWritableString& aSuffixes)=0;
NS_IMETHOD GetSuffixes(nsString& aSuffixes)=0;
NS_IMETHOD GetType(nsAWritableString& aType)=0;
NS_IMETHOD GetType(nsString& aType)=0;
};
#define NS_DECL_IDOMMIMETYPE \
NS_IMETHOD GetDescription(nsAWritableString& aDescription); \
NS_IMETHOD GetDescription(nsString& aDescription); \
NS_IMETHOD GetEnabledPlugin(nsIDOMPlugin** aEnabledPlugin); \
NS_IMETHOD GetSuffixes(nsAWritableString& aSuffixes); \
NS_IMETHOD GetType(nsAWritableString& aType); \
NS_IMETHOD GetSuffixes(nsString& aSuffixes); \
NS_IMETHOD GetType(nsString& aType); \
#define NS_FORWARD_IDOMMIMETYPE(_to) \
NS_IMETHOD GetDescription(nsAWritableString& aDescription) { return _to GetDescription(aDescription); } \
NS_IMETHOD GetDescription(nsString& aDescription) { return _to GetDescription(aDescription); } \
NS_IMETHOD GetEnabledPlugin(nsIDOMPlugin** aEnabledPlugin) { return _to GetEnabledPlugin(aEnabledPlugin); } \
NS_IMETHOD GetSuffixes(nsAWritableString& aSuffixes) { return _to GetSuffixes(aSuffixes); } \
NS_IMETHOD GetType(nsAWritableString& aType) { return _to GetType(aType); } \
NS_IMETHOD GetSuffixes(nsString& aSuffixes) { return _to GetSuffixes(aSuffixes); } \
NS_IMETHOD GetType(nsString& aType) { return _to GetType(aType); } \
extern "C" NS_DOM nsresult NS_InitMimeTypeClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -41,21 +41,21 @@ public:
NS_IMETHOD Item(PRUint32 aIndex, nsIDOMMimeType** aReturn)=0;
NS_IMETHOD NamedItem(const nsAReadableString& aName, nsIDOMMimeType** aReturn)=0;
NS_IMETHOD NamedItem(const nsString& aName, nsIDOMMimeType** aReturn)=0;
};
#define NS_DECL_IDOMMIMETYPEARRAY \
NS_IMETHOD GetLength(PRUint32* aLength); \
NS_IMETHOD Item(PRUint32 aIndex, nsIDOMMimeType** aReturn); \
NS_IMETHOD NamedItem(const nsAReadableString& aName, nsIDOMMimeType** aReturn); \
NS_IMETHOD NamedItem(const nsString& aName, nsIDOMMimeType** aReturn); \
#define NS_FORWARD_IDOMMIMETYPEARRAY(_to) \
NS_IMETHOD GetLength(PRUint32* aLength) { return _to GetLength(aLength); } \
NS_IMETHOD Item(PRUint32 aIndex, nsIDOMMimeType** aReturn) { return _to Item(aIndex, aReturn); } \
NS_IMETHOD NamedItem(const nsAReadableString& aName, nsIDOMMimeType** aReturn) { return _to NamedItem(aName, aReturn); } \
NS_IMETHOD NamedItem(const nsString& aName, nsIDOMMimeType** aReturn) { return _to NamedItem(aName, aReturn); } \
extern "C" NS_DOM nsresult NS_InitMimeTypeArrayClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -40,33 +40,33 @@ class nsIDOMNavigator : public nsISupports {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMNAVIGATOR_IID; return iid; }
NS_IMETHOD GetAppCodeName(nsAWritableString& aAppCodeName)=0;
NS_IMETHOD GetAppCodeName(nsString& aAppCodeName)=0;
NS_IMETHOD GetAppName(nsAWritableString& aAppName)=0;
NS_IMETHOD GetAppName(nsString& aAppName)=0;
NS_IMETHOD GetAppVersion(nsAWritableString& aAppVersion)=0;
NS_IMETHOD GetAppVersion(nsString& aAppVersion)=0;
NS_IMETHOD GetLanguage(nsAWritableString& aLanguage)=0;
NS_IMETHOD GetLanguage(nsString& aLanguage)=0;
NS_IMETHOD GetMimeTypes(nsIDOMMimeTypeArray** aMimeTypes)=0;
NS_IMETHOD GetPlatform(nsAWritableString& aPlatform)=0;
NS_IMETHOD GetPlatform(nsString& aPlatform)=0;
NS_IMETHOD GetOscpu(nsAWritableString& aOscpu)=0;
NS_IMETHOD GetOscpu(nsString& aOscpu)=0;
NS_IMETHOD GetVendor(nsAWritableString& aVendor)=0;
NS_IMETHOD GetVendor(nsString& aVendor)=0;
NS_IMETHOD GetVendorSub(nsAWritableString& aVendorSub)=0;
NS_IMETHOD GetVendorSub(nsString& aVendorSub)=0;
NS_IMETHOD GetProduct(nsAWritableString& aProduct)=0;
NS_IMETHOD GetProduct(nsString& aProduct)=0;
NS_IMETHOD GetProductSub(nsAWritableString& aProductSub)=0;
NS_IMETHOD GetProductSub(nsString& aProductSub)=0;
NS_IMETHOD GetPlugins(nsIDOMPluginArray** aPlugins)=0;
NS_IMETHOD GetSecurityPolicy(nsAWritableString& aSecurityPolicy)=0;
NS_IMETHOD GetSecurityPolicy(nsString& aSecurityPolicy)=0;
NS_IMETHOD GetUserAgent(nsAWritableString& aUserAgent)=0;
NS_IMETHOD GetUserAgent(nsString& aUserAgent)=0;
NS_IMETHOD GetCookieEnabled(PRBool* aCookieEnabled)=0;
@ -79,20 +79,20 @@ public:
#define NS_DECL_IDOMNAVIGATOR \
NS_IMETHOD GetAppCodeName(nsAWritableString& aAppCodeName); \
NS_IMETHOD GetAppName(nsAWritableString& aAppName); \
NS_IMETHOD GetAppVersion(nsAWritableString& aAppVersion); \
NS_IMETHOD GetLanguage(nsAWritableString& aLanguage); \
NS_IMETHOD GetAppCodeName(nsString& aAppCodeName); \
NS_IMETHOD GetAppName(nsString& aAppName); \
NS_IMETHOD GetAppVersion(nsString& aAppVersion); \
NS_IMETHOD GetLanguage(nsString& aLanguage); \
NS_IMETHOD GetMimeTypes(nsIDOMMimeTypeArray** aMimeTypes); \
NS_IMETHOD GetPlatform(nsAWritableString& aPlatform); \
NS_IMETHOD GetOscpu(nsAWritableString& aOscpu); \
NS_IMETHOD GetVendor(nsAWritableString& aVendor); \
NS_IMETHOD GetVendorSub(nsAWritableString& aVendorSub); \
NS_IMETHOD GetProduct(nsAWritableString& aProduct); \
NS_IMETHOD GetProductSub(nsAWritableString& aProductSub); \
NS_IMETHOD GetPlatform(nsString& aPlatform); \
NS_IMETHOD GetOscpu(nsString& aOscpu); \
NS_IMETHOD GetVendor(nsString& aVendor); \
NS_IMETHOD GetVendorSub(nsString& aVendorSub); \
NS_IMETHOD GetProduct(nsString& aProduct); \
NS_IMETHOD GetProductSub(nsString& aProductSub); \
NS_IMETHOD GetPlugins(nsIDOMPluginArray** aPlugins); \
NS_IMETHOD GetSecurityPolicy(nsAWritableString& aSecurityPolicy); \
NS_IMETHOD GetUserAgent(nsAWritableString& aUserAgent); \
NS_IMETHOD GetSecurityPolicy(nsString& aSecurityPolicy); \
NS_IMETHOD GetUserAgent(nsString& aUserAgent); \
NS_IMETHOD GetCookieEnabled(PRBool* aCookieEnabled); \
NS_IMETHOD JavaEnabled(PRBool* aReturn); \
NS_IMETHOD TaintEnabled(PRBool* aReturn); \
@ -101,20 +101,20 @@ public:
#define NS_FORWARD_IDOMNAVIGATOR(_to) \
NS_IMETHOD GetAppCodeName(nsAWritableString& aAppCodeName) { return _to GetAppCodeName(aAppCodeName); } \
NS_IMETHOD GetAppName(nsAWritableString& aAppName) { return _to GetAppName(aAppName); } \
NS_IMETHOD GetAppVersion(nsAWritableString& aAppVersion) { return _to GetAppVersion(aAppVersion); } \
NS_IMETHOD GetLanguage(nsAWritableString& aLanguage) { return _to GetLanguage(aLanguage); } \
NS_IMETHOD GetAppCodeName(nsString& aAppCodeName) { return _to GetAppCodeName(aAppCodeName); } \
NS_IMETHOD GetAppName(nsString& aAppName) { return _to GetAppName(aAppName); } \
NS_IMETHOD GetAppVersion(nsString& aAppVersion) { return _to GetAppVersion(aAppVersion); } \
NS_IMETHOD GetLanguage(nsString& aLanguage) { return _to GetLanguage(aLanguage); } \
NS_IMETHOD GetMimeTypes(nsIDOMMimeTypeArray** aMimeTypes) { return _to GetMimeTypes(aMimeTypes); } \
NS_IMETHOD GetPlatform(nsAWritableString& aPlatform) { return _to GetPlatform(aPlatform); } \
NS_IMETHOD GetOscpu(nsAWritableString& aOscpu) { return _to GetOscpu(aOscpu); } \
NS_IMETHOD GetVendor(nsAWritableString& aVendor) { return _to GetVendor(aVendor); } \
NS_IMETHOD GetVendorSub(nsAWritableString& aVendorSub) { return _to GetVendorSub(aVendorSub); } \
NS_IMETHOD GetProduct(nsAWritableString& aProduct) { return _to GetProduct(aProduct); } \
NS_IMETHOD GetProductSub(nsAWritableString& aProductSub) { return _to GetProductSub(aProductSub); } \
NS_IMETHOD GetPlatform(nsString& aPlatform) { return _to GetPlatform(aPlatform); } \
NS_IMETHOD GetOscpu(nsString& aOscpu) { return _to GetOscpu(aOscpu); } \
NS_IMETHOD GetVendor(nsString& aVendor) { return _to GetVendor(aVendor); } \
NS_IMETHOD GetVendorSub(nsString& aVendorSub) { return _to GetVendorSub(aVendorSub); } \
NS_IMETHOD GetProduct(nsString& aProduct) { return _to GetProduct(aProduct); } \
NS_IMETHOD GetProductSub(nsString& aProductSub) { return _to GetProductSub(aProductSub); } \
NS_IMETHOD GetPlugins(nsIDOMPluginArray** aPlugins) { return _to GetPlugins(aPlugins); } \
NS_IMETHOD GetSecurityPolicy(nsAWritableString& aSecurityPolicy) { return _to GetSecurityPolicy(aSecurityPolicy); } \
NS_IMETHOD GetUserAgent(nsAWritableString& aUserAgent) { return _to GetUserAgent(aUserAgent); } \
NS_IMETHOD GetSecurityPolicy(nsString& aSecurityPolicy) { return _to GetSecurityPolicy(aSecurityPolicy); } \
NS_IMETHOD GetUserAgent(nsString& aUserAgent) { return _to GetUserAgent(aUserAgent); } \
NS_IMETHOD GetCookieEnabled(PRBool* aCookieEnabled) { return _to GetCookieEnabled(aCookieEnabled); } \
NS_IMETHOD JavaEnabled(PRBool* aReturn) { return _to JavaEnabled(aReturn); } \
NS_IMETHOD TaintEnabled(PRBool* aReturn) { return _to TaintEnabled(aReturn); } \

Просмотреть файл

@ -37,21 +37,21 @@ class nsIDOMPkcs11 : public nsISupports {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMPKCS11_IID; return iid; }
NS_IMETHOD Deletemodule(const nsAReadableString& aModuleName, PRInt32* aReturn)=0;
NS_IMETHOD Deletemodule(const nsString& aModuleName, PRInt32* aReturn)=0;
NS_IMETHOD Addmodule(const nsAReadableString& aModuleName, const nsAReadableString& aLibraryFullPath, PRInt32 aCryptoMechanismFlags, PRInt32 aCipherFlags, PRInt32* aReturn)=0;
NS_IMETHOD Addmodule(const nsString& aModuleName, const nsString& aLibraryFullPath, PRInt32 aCryptoMechanismFlags, PRInt32 aCipherFlags, PRInt32* aReturn)=0;
};
#define NS_DECL_IDOMPKCS11 \
NS_IMETHOD Deletemodule(const nsAReadableString& aModuleName, PRInt32* aReturn); \
NS_IMETHOD Addmodule(const nsAReadableString& aModuleName, const nsAReadableString& aLibraryFullPath, PRInt32 aCryptoMechanismFlags, PRInt32 aCipherFlags, PRInt32* aReturn); \
NS_IMETHOD Deletemodule(const nsString& aModuleName, PRInt32* aReturn); \
NS_IMETHOD Addmodule(const nsString& aModuleName, const nsString& aLibraryFullPath, PRInt32 aCryptoMechanismFlags, PRInt32 aCipherFlags, PRInt32* aReturn); \
#define NS_FORWARD_IDOMPKCS11(_to) \
NS_IMETHOD Deletemodule(const nsAReadableString& aModuleName, PRInt32* aReturn) { return _to Deletemodule(aModuleName, aReturn); } \
NS_IMETHOD Addmodule(const nsAReadableString& aModuleName, const nsAReadableString& aLibraryFullPath, PRInt32 aCryptoMechanismFlags, PRInt32 aCipherFlags, PRInt32* aReturn) { return _to Addmodule(aModuleName, aLibraryFullPath, aCryptoMechanismFlags, aCipherFlags, aReturn); } \
NS_IMETHOD Deletemodule(const nsString& aModuleName, PRInt32* aReturn) { return _to Deletemodule(aModuleName, aReturn); } \
NS_IMETHOD Addmodule(const nsString& aModuleName, const nsString& aLibraryFullPath, PRInt32 aCryptoMechanismFlags, PRInt32 aCipherFlags, PRInt32* aReturn) { return _to Addmodule(aModuleName, aLibraryFullPath, aCryptoMechanismFlags, aCipherFlags, aReturn); } \
extern "C" NS_DOM nsresult NS_InitPkcs11Class(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -37,37 +37,37 @@ class nsIDOMPlugin : public nsISupports {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMPLUGIN_IID; return iid; }
NS_IMETHOD GetDescription(nsAWritableString& aDescription)=0;
NS_IMETHOD GetDescription(nsString& aDescription)=0;
NS_IMETHOD GetFilename(nsAWritableString& aFilename)=0;
NS_IMETHOD GetFilename(nsString& aFilename)=0;
NS_IMETHOD GetName(nsAWritableString& aName)=0;
NS_IMETHOD GetName(nsString& aName)=0;
NS_IMETHOD GetLength(PRUint32* aLength)=0;
NS_IMETHOD Item(PRUint32 aIndex, nsIDOMMimeType** aReturn)=0;
NS_IMETHOD NamedItem(const nsAReadableString& aName, nsIDOMMimeType** aReturn)=0;
NS_IMETHOD NamedItem(const nsString& aName, nsIDOMMimeType** aReturn)=0;
};
#define NS_DECL_IDOMPLUGIN \
NS_IMETHOD GetDescription(nsAWritableString& aDescription); \
NS_IMETHOD GetFilename(nsAWritableString& aFilename); \
NS_IMETHOD GetName(nsAWritableString& aName); \
NS_IMETHOD GetDescription(nsString& aDescription); \
NS_IMETHOD GetFilename(nsString& aFilename); \
NS_IMETHOD GetName(nsString& aName); \
NS_IMETHOD GetLength(PRUint32* aLength); \
NS_IMETHOD Item(PRUint32 aIndex, nsIDOMMimeType** aReturn); \
NS_IMETHOD NamedItem(const nsAReadableString& aName, nsIDOMMimeType** aReturn); \
NS_IMETHOD NamedItem(const nsString& aName, nsIDOMMimeType** aReturn); \
#define NS_FORWARD_IDOMPLUGIN(_to) \
NS_IMETHOD GetDescription(nsAWritableString& aDescription) { return _to GetDescription(aDescription); } \
NS_IMETHOD GetFilename(nsAWritableString& aFilename) { return _to GetFilename(aFilename); } \
NS_IMETHOD GetName(nsAWritableString& aName) { return _to GetName(aName); } \
NS_IMETHOD GetDescription(nsString& aDescription) { return _to GetDescription(aDescription); } \
NS_IMETHOD GetFilename(nsString& aFilename) { return _to GetFilename(aFilename); } \
NS_IMETHOD GetName(nsString& aName) { return _to GetName(aName); } \
NS_IMETHOD GetLength(PRUint32* aLength) { return _to GetLength(aLength); } \
NS_IMETHOD Item(PRUint32 aIndex, nsIDOMMimeType** aReturn) { return _to Item(aIndex, aReturn); } \
NS_IMETHOD NamedItem(const nsAReadableString& aName, nsIDOMMimeType** aReturn) { return _to NamedItem(aName, aReturn); } \
NS_IMETHOD NamedItem(const nsString& aName, nsIDOMMimeType** aReturn) { return _to NamedItem(aName, aReturn); } \
extern "C" NS_DOM nsresult NS_InitPluginClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -41,7 +41,7 @@ public:
NS_IMETHOD Item(PRUint32 aIndex, nsIDOMPlugin** aReturn)=0;
NS_IMETHOD NamedItem(const nsAReadableString& aName, nsIDOMPlugin** aReturn)=0;
NS_IMETHOD NamedItem(const nsString& aName, nsIDOMPlugin** aReturn)=0;
NS_IMETHOD Refresh(PRBool aReloadDocuments)=0;
};
@ -50,7 +50,7 @@ public:
#define NS_DECL_IDOMPLUGINARRAY \
NS_IMETHOD GetLength(PRUint32* aLength); \
NS_IMETHOD Item(PRUint32 aIndex, nsIDOMPlugin** aReturn); \
NS_IMETHOD NamedItem(const nsAReadableString& aName, nsIDOMPlugin** aReturn); \
NS_IMETHOD NamedItem(const nsString& aName, nsIDOMPlugin** aReturn); \
NS_IMETHOD Refresh(PRBool aReloadDocuments); \
@ -58,7 +58,7 @@ public:
#define NS_FORWARD_IDOMPLUGINARRAY(_to) \
NS_IMETHOD GetLength(PRUint32* aLength) { return _to GetLength(aLength); } \
NS_IMETHOD Item(PRUint32 aIndex, nsIDOMPlugin** aReturn) { return _to Item(aIndex, aReturn); } \
NS_IMETHOD NamedItem(const nsAReadableString& aName, nsIDOMPlugin** aReturn) { return _to NamedItem(aName, aReturn); } \
NS_IMETHOD NamedItem(const nsString& aName, nsIDOMPlugin** aReturn) { return _to NamedItem(aName, aReturn); } \
NS_IMETHOD Refresh(PRBool aReloadDocuments) { return _to Refresh(aReloadDocuments); } \

Просмотреть файл

@ -40,17 +40,17 @@ class nsIDOMViewCSS : public nsIDOMAbstractView {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMVIEWCSS_IID; return iid; }
NS_IMETHOD GetComputedStyle(nsIDOMElement* aElt, const nsAReadableString& aPseudoElt, nsIDOMCSSStyleDeclaration** aReturn)=0;
NS_IMETHOD GetComputedStyle(nsIDOMElement* aElt, const nsString& aPseudoElt, nsIDOMCSSStyleDeclaration** aReturn)=0;
};
#define NS_DECL_IDOMVIEWCSS \
NS_IMETHOD GetComputedStyle(nsIDOMElement* aElt, const nsAReadableString& aPseudoElt, nsIDOMCSSStyleDeclaration** aReturn); \
NS_IMETHOD GetComputedStyle(nsIDOMElement* aElt, const nsString& aPseudoElt, nsIDOMCSSStyleDeclaration** aReturn); \
#define NS_FORWARD_IDOMVIEWCSS(_to) \
NS_IMETHOD GetComputedStyle(nsIDOMElement* aElt, const nsAReadableString& aPseudoElt, nsIDOMCSSStyleDeclaration** aReturn) { return _to GetComputedStyle(aElt, aPseudoElt, aReturn); } \
NS_IMETHOD GetComputedStyle(nsIDOMElement* aElt, const nsString& aPseudoElt, nsIDOMCSSStyleDeclaration** aReturn) { return _to GetComputedStyle(aElt, aPseudoElt, aReturn); } \
#endif // nsIDOMViewCSS_h__

Просмотреть файл

@ -101,14 +101,14 @@ public:
NS_IMETHOD GetOpener(nsIDOMWindow** aOpener)=0;
NS_IMETHOD SetOpener(nsIDOMWindow* aOpener)=0;
NS_IMETHOD GetStatus(nsAWritableString& aStatus)=0;
NS_IMETHOD SetStatus(const nsAReadableString& aStatus)=0;
NS_IMETHOD GetStatus(nsString& aStatus)=0;
NS_IMETHOD SetStatus(const nsString& aStatus)=0;
NS_IMETHOD GetDefaultStatus(nsAWritableString& aDefaultStatus)=0;
NS_IMETHOD SetDefaultStatus(const nsAReadableString& aDefaultStatus)=0;
NS_IMETHOD GetDefaultStatus(nsString& aDefaultStatus)=0;
NS_IMETHOD SetDefaultStatus(const nsString& aDefaultStatus)=0;
NS_IMETHOD GetName(nsAWritableString& aName)=0;
NS_IMETHOD SetName(const nsAReadableString& aName)=0;
NS_IMETHOD GetName(nsString& aName)=0;
NS_IMETHOD SetName(const nsString& aName)=0;
NS_IMETHOD GetInnerWidth(PRInt32* aInnerWidth)=0;
NS_IMETHOD SetInnerWidth(PRInt32 aInnerWidth)=0;
@ -140,7 +140,7 @@ public:
NS_IMETHOD GetLength(PRUint32* aLength)=0;
NS_IMETHOD Dump(const nsAReadableString& aStr)=0;
NS_IMETHOD Dump(const nsString& aStr)=0;
NS_IMETHOD Alert(JSContext* cx, jsval* argv, PRUint32 argc)=0;
@ -198,7 +198,7 @@ public:
NS_IMETHOD DisableExternalCapture()=0;
NS_IMETHOD SetCursor(const nsAReadableString& aCursor)=0;
NS_IMETHOD SetCursor(const nsString& aCursor)=0;
NS_IMETHOD Open(JSContext* cx, jsval* argv, PRUint32 argc, nsIDOMWindow** aReturn)=0;
@ -208,11 +208,11 @@ public:
NS_IMETHOD Close(JSContext* cx, jsval* argv, PRUint32 argc)=0;
NS_IMETHOD UpdateCommands(const nsAReadableString& aAction)=0;
NS_IMETHOD UpdateCommands(const nsString& aAction)=0;
NS_IMETHOD Escape(const nsAReadableString& aStr, nsAWritableString& aReturn)=0;
NS_IMETHOD Escape(const nsString& aStr, nsString& aReturn)=0;
NS_IMETHOD Unescape(const nsAReadableString& aStr, nsAWritableString& aReturn)=0;
NS_IMETHOD Unescape(const nsString& aStr, nsString& aReturn)=0;
NS_IMETHOD GetSelection(nsIDOMSelection** aReturn)=0;
};
@ -244,12 +244,12 @@ public:
NS_IMETHOD GetControllers(nsIControllers** aControllers); \
NS_IMETHOD GetOpener(nsIDOMWindow** aOpener); \
NS_IMETHOD SetOpener(nsIDOMWindow* aOpener); \
NS_IMETHOD GetStatus(nsAWritableString& aStatus); \
NS_IMETHOD SetStatus(const nsAReadableString& aStatus); \
NS_IMETHOD GetDefaultStatus(nsAWritableString& aDefaultStatus); \
NS_IMETHOD SetDefaultStatus(const nsAReadableString& aDefaultStatus); \
NS_IMETHOD GetName(nsAWritableString& aName); \
NS_IMETHOD SetName(const nsAReadableString& aName); \
NS_IMETHOD GetStatus(nsString& aStatus); \
NS_IMETHOD SetStatus(const nsString& aStatus); \
NS_IMETHOD GetDefaultStatus(nsString& aDefaultStatus); \
NS_IMETHOD SetDefaultStatus(const nsString& aDefaultStatus); \
NS_IMETHOD GetName(nsString& aName); \
NS_IMETHOD SetName(const nsString& aName); \
NS_IMETHOD GetInnerWidth(PRInt32* aInnerWidth); \
NS_IMETHOD SetInnerWidth(PRInt32 aInnerWidth); \
NS_IMETHOD GetInnerHeight(PRInt32* aInnerHeight); \
@ -269,7 +269,7 @@ public:
NS_IMETHOD GetScrollX(PRInt32* aScrollX); \
NS_IMETHOD GetScrollY(PRInt32* aScrollY); \
NS_IMETHOD GetLength(PRUint32* aLength); \
NS_IMETHOD Dump(const nsAReadableString& aStr); \
NS_IMETHOD Dump(const nsString& aStr); \
NS_IMETHOD Alert(JSContext* cx, jsval* argv, PRUint32 argc); \
NS_IMETHOD Confirm(JSContext* cx, jsval* argv, PRUint32 argc, PRBool* aReturn); \
NS_IMETHOD Prompt(JSContext* cx, jsval* argv, PRUint32 argc, jsval* aReturn); \
@ -298,14 +298,14 @@ public:
NS_IMETHOD RouteEvent(nsIDOMEvent* aEvt); \
NS_IMETHOD EnableExternalCapture(); \
NS_IMETHOD DisableExternalCapture(); \
NS_IMETHOD SetCursor(const nsAReadableString& aCursor); \
NS_IMETHOD SetCursor(const nsString& aCursor); \
NS_IMETHOD Open(JSContext* cx, jsval* argv, PRUint32 argc, nsIDOMWindow** aReturn); \
NS_IMETHOD OpenDialog(JSContext* cx, jsval* argv, PRUint32 argc, nsIDOMWindow** aReturn); \
NS_IMETHOD Close(); \
NS_IMETHOD Close(JSContext* cx, jsval* argv, PRUint32 argc); \
NS_IMETHOD UpdateCommands(const nsAReadableString& aAction); \
NS_IMETHOD Escape(const nsAReadableString& aStr, nsAWritableString& aReturn); \
NS_IMETHOD Unescape(const nsAReadableString& aStr, nsAWritableString& aReturn); \
NS_IMETHOD UpdateCommands(const nsString& aAction); \
NS_IMETHOD Escape(const nsString& aStr, nsString& aReturn); \
NS_IMETHOD Unescape(const nsString& aStr, nsString& aReturn); \
NS_IMETHOD GetSelection(nsIDOMSelection** aReturn); \
@ -336,12 +336,12 @@ public:
NS_IMETHOD GetControllers(nsIControllers** aControllers) { return _to GetControllers(aControllers); } \
NS_IMETHOD GetOpener(nsIDOMWindow** aOpener) { return _to GetOpener(aOpener); } \
NS_IMETHOD SetOpener(nsIDOMWindow* aOpener) { return _to SetOpener(aOpener); } \
NS_IMETHOD GetStatus(nsAWritableString& aStatus) { return _to GetStatus(aStatus); } \
NS_IMETHOD SetStatus(const nsAReadableString& aStatus) { return _to SetStatus(aStatus); } \
NS_IMETHOD GetDefaultStatus(nsAWritableString& aDefaultStatus) { return _to GetDefaultStatus(aDefaultStatus); } \
NS_IMETHOD SetDefaultStatus(const nsAReadableString& aDefaultStatus) { return _to SetDefaultStatus(aDefaultStatus); } \
NS_IMETHOD GetName(nsAWritableString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsAReadableString& aName) { return _to SetName(aName); } \
NS_IMETHOD GetStatus(nsString& aStatus) { return _to GetStatus(aStatus); } \
NS_IMETHOD SetStatus(const nsString& aStatus) { return _to SetStatus(aStatus); } \
NS_IMETHOD GetDefaultStatus(nsString& aDefaultStatus) { return _to GetDefaultStatus(aDefaultStatus); } \
NS_IMETHOD SetDefaultStatus(const nsString& aDefaultStatus) { return _to SetDefaultStatus(aDefaultStatus); } \
NS_IMETHOD GetName(nsString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsString& aName) { return _to SetName(aName); } \
NS_IMETHOD GetInnerWidth(PRInt32* aInnerWidth) { return _to GetInnerWidth(aInnerWidth); } \
NS_IMETHOD SetInnerWidth(PRInt32 aInnerWidth) { return _to SetInnerWidth(aInnerWidth); } \
NS_IMETHOD GetInnerHeight(PRInt32* aInnerHeight) { return _to GetInnerHeight(aInnerHeight); } \
@ -361,7 +361,7 @@ public:
NS_IMETHOD GetScrollX(PRInt32* aScrollX) { return _to GetScrollX(aScrollX); } \
NS_IMETHOD GetScrollY(PRInt32* aScrollY) { return _to GetScrollY(aScrollY); } \
NS_IMETHOD GetLength(PRUint32* aLength) { return _to GetLength(aLength); } \
NS_IMETHOD Dump(const nsAReadableString& aStr) { return _to Dump(aStr); } \
NS_IMETHOD Dump(const nsString& aStr) { return _to Dump(aStr); } \
NS_IMETHOD Alert(JSContext* cx, jsval* argv, PRUint32 argc) { return _to Alert(cx, argv, argc); } \
NS_IMETHOD Confirm(JSContext* cx, jsval* argv, PRUint32 argc, PRBool* aReturn) { return _to Confirm(cx, argv, argc, aReturn); } \
NS_IMETHOD Prompt(JSContext* cx, jsval* argv, PRUint32 argc, jsval* aReturn) { return _to Prompt(cx, argv, argc, aReturn); } \
@ -390,14 +390,14 @@ public:
NS_IMETHOD RouteEvent(nsIDOMEvent* aEvt) { return _to RouteEvent(aEvt); } \
NS_IMETHOD EnableExternalCapture() { return _to EnableExternalCapture(); } \
NS_IMETHOD DisableExternalCapture() { return _to DisableExternalCapture(); } \
NS_IMETHOD SetCursor(const nsAReadableString& aCursor) { return _to SetCursor(aCursor); } \
NS_IMETHOD SetCursor(const nsString& aCursor) { return _to SetCursor(aCursor); } \
NS_IMETHOD Open(JSContext* cx, jsval* argv, PRUint32 argc, nsIDOMWindow** aReturn) { return _to Open(cx, argv, argc, aReturn); } \
NS_IMETHOD OpenDialog(JSContext* cx, jsval* argv, PRUint32 argc, nsIDOMWindow** aReturn) { return _to OpenDialog(cx, argv, argc, aReturn); } \
NS_IMETHOD Close() { return _to Close(); } \
NS_IMETHOD Close(JSContext* cx, jsval* argv, PRUint32 argc) { return _to Close(cx, argv, argc); } \
NS_IMETHOD UpdateCommands(const nsAReadableString& aAction) { return _to UpdateCommands(aAction); } \
NS_IMETHOD Escape(const nsAReadableString& aStr, nsAWritableString& aReturn) { return _to Escape(aStr, aReturn); } \
NS_IMETHOD Unescape(const nsAReadableString& aStr, nsAWritableString& aReturn) { return _to Unescape(aStr, aReturn); } \
NS_IMETHOD UpdateCommands(const nsString& aAction) { return _to UpdateCommands(aAction); } \
NS_IMETHOD Escape(const nsString& aStr, nsString& aReturn) { return _to Escape(aStr, aReturn); } \
NS_IMETHOD Unescape(const nsString& aStr, nsString& aReturn) { return _to Unescape(aStr, aReturn); } \
NS_IMETHOD GetSelection(nsIDOMSelection** aReturn) { return _to GetSelection(aReturn); } \

Просмотреть файл

@ -42,21 +42,21 @@ public:
NS_IMETHOD Item(PRUint32 aIndex, nsIDOMWindow** aReturn)=0;
NS_IMETHOD NamedItem(const nsAReadableString& aName, nsIDOMWindow** aReturn)=0;
NS_IMETHOD NamedItem(const nsString& aName, nsIDOMWindow** aReturn)=0;
};
#define NS_DECL_IDOMWINDOWCOLLECTION \
NS_IMETHOD GetLength(PRUint32* aLength); \
NS_IMETHOD Item(PRUint32 aIndex, nsIDOMWindow** aReturn); \
NS_IMETHOD NamedItem(const nsAReadableString& aName, nsIDOMWindow** aReturn); \
NS_IMETHOD NamedItem(const nsString& aName, nsIDOMWindow** aReturn); \
#define NS_FORWARD_IDOMWINDOWCOLLECTION(_to) \
NS_IMETHOD GetLength(PRUint32* aLength) { return _to GetLength(aLength); } \
NS_IMETHOD Item(PRUint32 aIndex, nsIDOMWindow** aReturn) { return _to Item(aIndex, aReturn); } \
NS_IMETHOD NamedItem(const nsAReadableString& aName, nsIDOMWindow** aReturn) { return _to NamedItem(aName, aReturn); } \
NS_IMETHOD NamedItem(const nsString& aName, nsIDOMWindow** aReturn) { return _to NamedItem(aName, aReturn); } \
extern "C" NS_DOM nsresult NS_InitWindowCollectionClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -39,31 +39,31 @@ class nsIDOMAttr : public nsIDOMNode {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMATTR_IID; return iid; }
NS_IMETHOD GetName(nsAWritableString& aName)=0;
NS_IMETHOD GetName(nsString& aName)=0;
NS_IMETHOD GetSpecified(PRBool* aSpecified)=0;
NS_IMETHOD GetValue(nsAWritableString& aValue)=0;
NS_IMETHOD SetValue(const nsAReadableString& aValue)=0;
NS_IMETHOD GetValue(nsString& aValue)=0;
NS_IMETHOD SetValue(const nsString& aValue)=0;
NS_IMETHOD GetOwnerElement(nsIDOMElement** aOwnerElement)=0;
};
#define NS_DECL_IDOMATTR \
NS_IMETHOD GetName(nsAWritableString& aName); \
NS_IMETHOD GetName(nsString& aName); \
NS_IMETHOD GetSpecified(PRBool* aSpecified); \
NS_IMETHOD GetValue(nsAWritableString& aValue); \
NS_IMETHOD SetValue(const nsAReadableString& aValue); \
NS_IMETHOD GetValue(nsString& aValue); \
NS_IMETHOD SetValue(const nsString& aValue); \
NS_IMETHOD GetOwnerElement(nsIDOMElement** aOwnerElement); \
#define NS_FORWARD_IDOMATTR(_to) \
NS_IMETHOD GetName(nsAWritableString& aName) { return _to GetName(aName); } \
NS_IMETHOD GetName(nsString& aName) { return _to GetName(aName); } \
NS_IMETHOD GetSpecified(PRBool* aSpecified) { return _to GetSpecified(aSpecified); } \
NS_IMETHOD GetValue(nsAWritableString& aValue) { return _to GetValue(aValue); } \
NS_IMETHOD SetValue(const nsAReadableString& aValue) { return _to SetValue(aValue); } \
NS_IMETHOD GetValue(nsString& aValue) { return _to GetValue(aValue); } \
NS_IMETHOD SetValue(const nsString& aValue) { return _to SetValue(aValue); } \
NS_IMETHOD GetOwnerElement(nsIDOMElement** aOwnerElement) { return _to GetOwnerElement(aOwnerElement); } \

Просмотреть файл

@ -38,44 +38,44 @@ class nsIDOMCharacterData : public nsIDOMNode {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMCHARACTERDATA_IID; return iid; }
NS_IMETHOD GetData(nsAWritableString& aData)=0;
NS_IMETHOD SetData(const nsAReadableString& aData)=0;
NS_IMETHOD GetData(nsString& aData)=0;
NS_IMETHOD SetData(const nsString& aData)=0;
NS_IMETHOD GetLength(PRUint32* aLength)=0;
NS_IMETHOD SubstringData(PRUint32 aOffset, PRUint32 aCount, nsAWritableString& aReturn)=0;
NS_IMETHOD SubstringData(PRUint32 aOffset, PRUint32 aCount, nsString& aReturn)=0;
NS_IMETHOD AppendData(const nsAReadableString& aArg)=0;
NS_IMETHOD AppendData(const nsString& aArg)=0;
NS_IMETHOD InsertData(PRUint32 aOffset, const nsAReadableString& aArg)=0;
NS_IMETHOD InsertData(PRUint32 aOffset, const nsString& aArg)=0;
NS_IMETHOD DeleteData(PRUint32 aOffset, PRUint32 aCount)=0;
NS_IMETHOD ReplaceData(PRUint32 aOffset, PRUint32 aCount, const nsAReadableString& aArg)=0;
NS_IMETHOD ReplaceData(PRUint32 aOffset, PRUint32 aCount, const nsString& aArg)=0;
};
#define NS_DECL_IDOMCHARACTERDATA \
NS_IMETHOD GetData(nsAWritableString& aData); \
NS_IMETHOD SetData(const nsAReadableString& aData); \
NS_IMETHOD GetData(nsString& aData); \
NS_IMETHOD SetData(const nsString& aData); \
NS_IMETHOD GetLength(PRUint32* aLength); \
NS_IMETHOD SubstringData(PRUint32 aOffset, PRUint32 aCount, nsAWritableString& aReturn); \
NS_IMETHOD AppendData(const nsAReadableString& aArg); \
NS_IMETHOD InsertData(PRUint32 aOffset, const nsAReadableString& aArg); \
NS_IMETHOD SubstringData(PRUint32 aOffset, PRUint32 aCount, nsString& aReturn); \
NS_IMETHOD AppendData(const nsString& aArg); \
NS_IMETHOD InsertData(PRUint32 aOffset, const nsString& aArg); \
NS_IMETHOD DeleteData(PRUint32 aOffset, PRUint32 aCount); \
NS_IMETHOD ReplaceData(PRUint32 aOffset, PRUint32 aCount, const nsAReadableString& aArg); \
NS_IMETHOD ReplaceData(PRUint32 aOffset, PRUint32 aCount, const nsString& aArg); \
#define NS_FORWARD_IDOMCHARACTERDATA(_to) \
NS_IMETHOD GetData(nsAWritableString& aData) { return _to GetData(aData); } \
NS_IMETHOD SetData(const nsAReadableString& aData) { return _to SetData(aData); } \
NS_IMETHOD GetData(nsString& aData) { return _to GetData(aData); } \
NS_IMETHOD SetData(const nsString& aData) { return _to SetData(aData); } \
NS_IMETHOD GetLength(PRUint32* aLength) { return _to GetLength(aLength); } \
NS_IMETHOD SubstringData(PRUint32 aOffset, PRUint32 aCount, nsAWritableString& aReturn) { return _to SubstringData(aOffset, aCount, aReturn); } \
NS_IMETHOD AppendData(const nsAReadableString& aArg) { return _to AppendData(aArg); } \
NS_IMETHOD InsertData(PRUint32 aOffset, const nsAReadableString& aArg) { return _to InsertData(aOffset, aArg); } \
NS_IMETHOD SubstringData(PRUint32 aOffset, PRUint32 aCount, nsString& aReturn) { return _to SubstringData(aOffset, aCount, aReturn); } \
NS_IMETHOD AppendData(const nsString& aArg) { return _to AppendData(aArg); } \
NS_IMETHOD InsertData(PRUint32 aOffset, const nsString& aArg) { return _to InsertData(aOffset, aArg); } \
NS_IMETHOD DeleteData(PRUint32 aOffset, PRUint32 aCount) { return _to DeleteData(aOffset, aCount); } \
NS_IMETHOD ReplaceData(PRUint32 aOffset, PRUint32 aCount, const nsAReadableString& aArg) { return _to ReplaceData(aOffset, aCount, aArg); } \
NS_IMETHOD ReplaceData(PRUint32 aOffset, PRUint32 aCount, const nsString& aArg) { return _to ReplaceData(aOffset, aCount, aArg); } \
extern "C" NS_DOM nsresult NS_InitCharacterDataClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -39,25 +39,25 @@ class nsIDOMDOMImplementation : public nsISupports {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMDOMIMPLEMENTATION_IID; return iid; }
NS_IMETHOD HasFeature(const nsAReadableString& aFeature, const nsAReadableString& aVersion, PRBool* aReturn)=0;
NS_IMETHOD HasFeature(const nsString& aFeature, const nsString& aVersion, PRBool* aReturn)=0;
NS_IMETHOD CreateDocumentType(const nsAReadableString& aQualifiedName, const nsAReadableString& aPublicId, const nsAReadableString& aSystemId, nsIDOMDocumentType** aReturn)=0;
NS_IMETHOD CreateDocumentType(const nsString& aQualifiedName, const nsString& aPublicId, const nsString& aSystemId, nsIDOMDocumentType** aReturn)=0;
NS_IMETHOD CreateDocument(const nsAReadableString& aNamespaceURI, const nsAReadableString& aQualifiedName, nsIDOMDocumentType* aDoctype, nsIDOMDocument** aReturn)=0;
NS_IMETHOD CreateDocument(const nsString& aNamespaceURI, const nsString& aQualifiedName, nsIDOMDocumentType* aDoctype, nsIDOMDocument** aReturn)=0;
};
#define NS_DECL_IDOMDOMIMPLEMENTATION \
NS_IMETHOD HasFeature(const nsAReadableString& aFeature, const nsAReadableString& aVersion, PRBool* aReturn); \
NS_IMETHOD CreateDocumentType(const nsAReadableString& aQualifiedName, const nsAReadableString& aPublicId, const nsAReadableString& aSystemId, nsIDOMDocumentType** aReturn); \
NS_IMETHOD CreateDocument(const nsAReadableString& aNamespaceURI, const nsAReadableString& aQualifiedName, nsIDOMDocumentType* aDoctype, nsIDOMDocument** aReturn); \
NS_IMETHOD HasFeature(const nsString& aFeature, const nsString& aVersion, PRBool* aReturn); \
NS_IMETHOD CreateDocumentType(const nsString& aQualifiedName, const nsString& aPublicId, const nsString& aSystemId, nsIDOMDocumentType** aReturn); \
NS_IMETHOD CreateDocument(const nsString& aNamespaceURI, const nsString& aQualifiedName, nsIDOMDocumentType* aDoctype, nsIDOMDocument** aReturn); \
#define NS_FORWARD_IDOMDOMIMPLEMENTATION(_to) \
NS_IMETHOD HasFeature(const nsAReadableString& aFeature, const nsAReadableString& aVersion, PRBool* aReturn) { return _to HasFeature(aFeature, aVersion, aReturn); } \
NS_IMETHOD CreateDocumentType(const nsAReadableString& aQualifiedName, const nsAReadableString& aPublicId, const nsAReadableString& aSystemId, nsIDOMDocumentType** aReturn) { return _to CreateDocumentType(aQualifiedName, aPublicId, aSystemId, aReturn); } \
NS_IMETHOD CreateDocument(const nsAReadableString& aNamespaceURI, const nsAReadableString& aQualifiedName, nsIDOMDocumentType* aDoctype, nsIDOMDocument** aReturn) { return _to CreateDocument(aNamespaceURI, aQualifiedName, aDoctype, aReturn); } \
NS_IMETHOD HasFeature(const nsString& aFeature, const nsString& aVersion, PRBool* aReturn) { return _to HasFeature(aFeature, aVersion, aReturn); } \
NS_IMETHOD CreateDocumentType(const nsString& aQualifiedName, const nsString& aPublicId, const nsString& aSystemId, nsIDOMDocumentType** aReturn) { return _to CreateDocumentType(aQualifiedName, aPublicId, aSystemId, aReturn); } \
NS_IMETHOD CreateDocument(const nsString& aNamespaceURI, const nsString& aQualifiedName, nsIDOMDocumentType* aDoctype, nsIDOMDocument** aReturn) { return _to CreateDocument(aNamespaceURI, aQualifiedName, aDoctype, aReturn); } \
extern "C" NS_DOM nsresult NS_InitDOMImplementationClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -56,33 +56,33 @@ public:
NS_IMETHOD GetDocumentElement(nsIDOMElement** aDocumentElement)=0;
NS_IMETHOD CreateElement(const nsAReadableString& aTagName, nsIDOMElement** aReturn)=0;
NS_IMETHOD CreateElement(const nsString& aTagName, nsIDOMElement** aReturn)=0;
NS_IMETHOD CreateDocumentFragment(nsIDOMDocumentFragment** aReturn)=0;
NS_IMETHOD CreateTextNode(const nsAReadableString& aData, nsIDOMText** aReturn)=0;
NS_IMETHOD CreateTextNode(const nsString& aData, nsIDOMText** aReturn)=0;
NS_IMETHOD CreateComment(const nsAReadableString& aData, nsIDOMComment** aReturn)=0;
NS_IMETHOD CreateComment(const nsString& aData, nsIDOMComment** aReturn)=0;
NS_IMETHOD CreateCDATASection(const nsAReadableString& aData, nsIDOMCDATASection** aReturn)=0;
NS_IMETHOD CreateCDATASection(const nsString& aData, nsIDOMCDATASection** aReturn)=0;
NS_IMETHOD CreateProcessingInstruction(const nsAReadableString& aTarget, const nsAReadableString& aData, nsIDOMProcessingInstruction** aReturn)=0;
NS_IMETHOD CreateProcessingInstruction(const nsString& aTarget, const nsString& aData, nsIDOMProcessingInstruction** aReturn)=0;
NS_IMETHOD CreateAttribute(const nsAReadableString& aName, nsIDOMAttr** aReturn)=0;
NS_IMETHOD CreateAttribute(const nsString& aName, nsIDOMAttr** aReturn)=0;
NS_IMETHOD CreateEntityReference(const nsAReadableString& aName, nsIDOMEntityReference** aReturn)=0;
NS_IMETHOD CreateEntityReference(const nsString& aName, nsIDOMEntityReference** aReturn)=0;
NS_IMETHOD GetElementsByTagName(const nsAReadableString& aTagname, nsIDOMNodeList** aReturn)=0;
NS_IMETHOD GetElementsByTagName(const nsString& aTagname, nsIDOMNodeList** aReturn)=0;
NS_IMETHOD ImportNode(nsIDOMNode* aImportedNode, PRBool aDeep, nsIDOMNode** aReturn)=0;
NS_IMETHOD CreateElementNS(const nsAReadableString& aNamespaceURI, const nsAReadableString& aQualifiedName, nsIDOMElement** aReturn)=0;
NS_IMETHOD CreateElementNS(const nsString& aNamespaceURI, const nsString& aQualifiedName, nsIDOMElement** aReturn)=0;
NS_IMETHOD CreateAttributeNS(const nsAReadableString& aNamespaceURI, const nsAReadableString& aQualifiedName, nsIDOMAttr** aReturn)=0;
NS_IMETHOD CreateAttributeNS(const nsString& aNamespaceURI, const nsString& aQualifiedName, nsIDOMAttr** aReturn)=0;
NS_IMETHOD GetElementsByTagNameNS(const nsAReadableString& aNamespaceURI, const nsAReadableString& aLocalName, nsIDOMNodeList** aReturn)=0;
NS_IMETHOD GetElementsByTagNameNS(const nsString& aNamespaceURI, const nsString& aLocalName, nsIDOMNodeList** aReturn)=0;
NS_IMETHOD GetElementById(const nsAReadableString& aElementId, nsIDOMElement** aReturn)=0;
NS_IMETHOD GetElementById(const nsString& aElementId, nsIDOMElement** aReturn)=0;
};
@ -90,20 +90,20 @@ public:
NS_IMETHOD GetDoctype(nsIDOMDocumentType** aDoctype); \
NS_IMETHOD GetImplementation(nsIDOMDOMImplementation** aImplementation); \
NS_IMETHOD GetDocumentElement(nsIDOMElement** aDocumentElement); \
NS_IMETHOD CreateElement(const nsAReadableString& aTagName, nsIDOMElement** aReturn); \
NS_IMETHOD CreateElement(const nsString& aTagName, nsIDOMElement** aReturn); \
NS_IMETHOD CreateDocumentFragment(nsIDOMDocumentFragment** aReturn); \
NS_IMETHOD CreateTextNode(const nsAReadableString& aData, nsIDOMText** aReturn); \
NS_IMETHOD CreateComment(const nsAReadableString& aData, nsIDOMComment** aReturn); \
NS_IMETHOD CreateCDATASection(const nsAReadableString& aData, nsIDOMCDATASection** aReturn); \
NS_IMETHOD CreateProcessingInstruction(const nsAReadableString& aTarget, const nsAReadableString& aData, nsIDOMProcessingInstruction** aReturn); \
NS_IMETHOD CreateAttribute(const nsAReadableString& aName, nsIDOMAttr** aReturn); \
NS_IMETHOD CreateEntityReference(const nsAReadableString& aName, nsIDOMEntityReference** aReturn); \
NS_IMETHOD GetElementsByTagName(const nsAReadableString& aTagname, nsIDOMNodeList** aReturn); \
NS_IMETHOD CreateTextNode(const nsString& aData, nsIDOMText** aReturn); \
NS_IMETHOD CreateComment(const nsString& aData, nsIDOMComment** aReturn); \
NS_IMETHOD CreateCDATASection(const nsString& aData, nsIDOMCDATASection** aReturn); \
NS_IMETHOD CreateProcessingInstruction(const nsString& aTarget, const nsString& aData, nsIDOMProcessingInstruction** aReturn); \
NS_IMETHOD CreateAttribute(const nsString& aName, nsIDOMAttr** aReturn); \
NS_IMETHOD CreateEntityReference(const nsString& aName, nsIDOMEntityReference** aReturn); \
NS_IMETHOD GetElementsByTagName(const nsString& aTagname, nsIDOMNodeList** aReturn); \
NS_IMETHOD ImportNode(nsIDOMNode* aImportedNode, PRBool aDeep, nsIDOMNode** aReturn); \
NS_IMETHOD CreateElementNS(const nsAReadableString& aNamespaceURI, const nsAReadableString& aQualifiedName, nsIDOMElement** aReturn); \
NS_IMETHOD CreateAttributeNS(const nsAReadableString& aNamespaceURI, const nsAReadableString& aQualifiedName, nsIDOMAttr** aReturn); \
NS_IMETHOD GetElementsByTagNameNS(const nsAReadableString& aNamespaceURI, const nsAReadableString& aLocalName, nsIDOMNodeList** aReturn); \
NS_IMETHOD GetElementById(const nsAReadableString& aElementId, nsIDOMElement** aReturn); \
NS_IMETHOD CreateElementNS(const nsString& aNamespaceURI, const nsString& aQualifiedName, nsIDOMElement** aReturn); \
NS_IMETHOD CreateAttributeNS(const nsString& aNamespaceURI, const nsString& aQualifiedName, nsIDOMAttr** aReturn); \
NS_IMETHOD GetElementsByTagNameNS(const nsString& aNamespaceURI, const nsString& aLocalName, nsIDOMNodeList** aReturn); \
NS_IMETHOD GetElementById(const nsString& aElementId, nsIDOMElement** aReturn); \
@ -111,20 +111,20 @@ public:
NS_IMETHOD GetDoctype(nsIDOMDocumentType** aDoctype) { return _to GetDoctype(aDoctype); } \
NS_IMETHOD GetImplementation(nsIDOMDOMImplementation** aImplementation) { return _to GetImplementation(aImplementation); } \
NS_IMETHOD GetDocumentElement(nsIDOMElement** aDocumentElement) { return _to GetDocumentElement(aDocumentElement); } \
NS_IMETHOD CreateElement(const nsAReadableString& aTagName, nsIDOMElement** aReturn) { return _to CreateElement(aTagName, aReturn); } \
NS_IMETHOD CreateElement(const nsString& aTagName, nsIDOMElement** aReturn) { return _to CreateElement(aTagName, aReturn); } \
NS_IMETHOD CreateDocumentFragment(nsIDOMDocumentFragment** aReturn) { return _to CreateDocumentFragment(aReturn); } \
NS_IMETHOD CreateTextNode(const nsAReadableString& aData, nsIDOMText** aReturn) { return _to CreateTextNode(aData, aReturn); } \
NS_IMETHOD CreateComment(const nsAReadableString& aData, nsIDOMComment** aReturn) { return _to CreateComment(aData, aReturn); } \
NS_IMETHOD CreateCDATASection(const nsAReadableString& aData, nsIDOMCDATASection** aReturn) { return _to CreateCDATASection(aData, aReturn); } \
NS_IMETHOD CreateProcessingInstruction(const nsAReadableString& aTarget, const nsAReadableString& aData, nsIDOMProcessingInstruction** aReturn) { return _to CreateProcessingInstruction(aTarget, aData, aReturn); } \
NS_IMETHOD CreateAttribute(const nsAReadableString& aName, nsIDOMAttr** aReturn) { return _to CreateAttribute(aName, aReturn); } \
NS_IMETHOD CreateEntityReference(const nsAReadableString& aName, nsIDOMEntityReference** aReturn) { return _to CreateEntityReference(aName, aReturn); } \
NS_IMETHOD GetElementsByTagName(const nsAReadableString& aTagname, nsIDOMNodeList** aReturn) { return _to GetElementsByTagName(aTagname, aReturn); } \
NS_IMETHOD CreateTextNode(const nsString& aData, nsIDOMText** aReturn) { return _to CreateTextNode(aData, aReturn); } \
NS_IMETHOD CreateComment(const nsString& aData, nsIDOMComment** aReturn) { return _to CreateComment(aData, aReturn); } \
NS_IMETHOD CreateCDATASection(const nsString& aData, nsIDOMCDATASection** aReturn) { return _to CreateCDATASection(aData, aReturn); } \
NS_IMETHOD CreateProcessingInstruction(const nsString& aTarget, const nsString& aData, nsIDOMProcessingInstruction** aReturn) { return _to CreateProcessingInstruction(aTarget, aData, aReturn); } \
NS_IMETHOD CreateAttribute(const nsString& aName, nsIDOMAttr** aReturn) { return _to CreateAttribute(aName, aReturn); } \
NS_IMETHOD CreateEntityReference(const nsString& aName, nsIDOMEntityReference** aReturn) { return _to CreateEntityReference(aName, aReturn); } \
NS_IMETHOD GetElementsByTagName(const nsString& aTagname, nsIDOMNodeList** aReturn) { return _to GetElementsByTagName(aTagname, aReturn); } \
NS_IMETHOD ImportNode(nsIDOMNode* aImportedNode, PRBool aDeep, nsIDOMNode** aReturn) { return _to ImportNode(aImportedNode, aDeep, aReturn); } \
NS_IMETHOD CreateElementNS(const nsAReadableString& aNamespaceURI, const nsAReadableString& aQualifiedName, nsIDOMElement** aReturn) { return _to CreateElementNS(aNamespaceURI, aQualifiedName, aReturn); } \
NS_IMETHOD CreateAttributeNS(const nsAReadableString& aNamespaceURI, const nsAReadableString& aQualifiedName, nsIDOMAttr** aReturn) { return _to CreateAttributeNS(aNamespaceURI, aQualifiedName, aReturn); } \
NS_IMETHOD GetElementsByTagNameNS(const nsAReadableString& aNamespaceURI, const nsAReadableString& aLocalName, nsIDOMNodeList** aReturn) { return _to GetElementsByTagNameNS(aNamespaceURI, aLocalName, aReturn); } \
NS_IMETHOD GetElementById(const nsAReadableString& aElementId, nsIDOMElement** aReturn) { return _to GetElementById(aElementId, aReturn); } \
NS_IMETHOD CreateElementNS(const nsString& aNamespaceURI, const nsString& aQualifiedName, nsIDOMElement** aReturn) { return _to CreateElementNS(aNamespaceURI, aQualifiedName, aReturn); } \
NS_IMETHOD CreateAttributeNS(const nsString& aNamespaceURI, const nsString& aQualifiedName, nsIDOMAttr** aReturn) { return _to CreateAttributeNS(aNamespaceURI, aQualifiedName, aReturn); } \
NS_IMETHOD GetElementsByTagNameNS(const nsString& aNamespaceURI, const nsString& aLocalName, nsIDOMNodeList** aReturn) { return _to GetElementsByTagNameNS(aNamespaceURI, aLocalName, aReturn); } \
NS_IMETHOD GetElementById(const nsString& aElementId, nsIDOMElement** aReturn) { return _to GetElementById(aElementId, aReturn); } \
extern "C" NS_DOM nsresult NS_InitDocumentClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -40,17 +40,17 @@ class nsIDOMDocumentCSS : public nsIDOMDocumentStyle {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMDOCUMENTCSS_IID; return iid; }
NS_IMETHOD GetOverrideStyle(nsIDOMElement* aElt, const nsAReadableString& aPseudoElt, nsIDOMCSSStyleDeclaration** aReturn)=0;
NS_IMETHOD GetOverrideStyle(nsIDOMElement* aElt, const nsString& aPseudoElt, nsIDOMCSSStyleDeclaration** aReturn)=0;
};
#define NS_DECL_IDOMDOCUMENTCSS \
NS_IMETHOD GetOverrideStyle(nsIDOMElement* aElt, const nsAReadableString& aPseudoElt, nsIDOMCSSStyleDeclaration** aReturn); \
NS_IMETHOD GetOverrideStyle(nsIDOMElement* aElt, const nsString& aPseudoElt, nsIDOMCSSStyleDeclaration** aReturn); \
#define NS_FORWARD_IDOMDOCUMENTCSS(_to) \
NS_IMETHOD GetOverrideStyle(nsIDOMElement* aElt, const nsAReadableString& aPseudoElt, nsIDOMCSSStyleDeclaration** aReturn) { return _to GetOverrideStyle(aElt, aPseudoElt, aReturn); } \
NS_IMETHOD GetOverrideStyle(nsIDOMElement* aElt, const nsString& aPseudoElt, nsIDOMCSSStyleDeclaration** aReturn) { return _to GetOverrideStyle(aElt, aPseudoElt, aReturn); } \
#endif // nsIDOMDocumentCSS_h__

Просмотреть файл

@ -38,17 +38,17 @@ class nsIDOMDocumentEvent : public nsISupports {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMDOCUMENTEVENT_IID; return iid; }
NS_IMETHOD CreateEvent(const nsAReadableString& aEventType, nsIDOMEvent** aReturn)=0;
NS_IMETHOD CreateEvent(const nsString& aEventType, nsIDOMEvent** aReturn)=0;
};
#define NS_DECL_IDOMDOCUMENTEVENT \
NS_IMETHOD CreateEvent(const nsAReadableString& aEventType, nsIDOMEvent** aReturn); \
NS_IMETHOD CreateEvent(const nsString& aEventType, nsIDOMEvent** aReturn); \
#define NS_FORWARD_IDOMDOCUMENTEVENT(_to) \
NS_IMETHOD CreateEvent(const nsAReadableString& aEventType, nsIDOMEvent** aReturn) { return _to CreateEvent(aEventType, aReturn); } \
NS_IMETHOD CreateEvent(const nsString& aEventType, nsIDOMEvent** aReturn) { return _to CreateEvent(aEventType, aReturn); } \
#endif // nsIDOMDocumentEvent_h__

Просмотреть файл

@ -39,37 +39,37 @@ class nsIDOMDocumentType : public nsIDOMNode {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMDOCUMENTTYPE_IID; return iid; }
NS_IMETHOD GetName(nsAWritableString& aName)=0;
NS_IMETHOD GetName(nsString& aName)=0;
NS_IMETHOD GetEntities(nsIDOMNamedNodeMap** aEntities)=0;
NS_IMETHOD GetNotations(nsIDOMNamedNodeMap** aNotations)=0;
NS_IMETHOD GetPublicId(nsAWritableString& aPublicId)=0;
NS_IMETHOD GetPublicId(nsString& aPublicId)=0;
NS_IMETHOD GetSystemId(nsAWritableString& aSystemId)=0;
NS_IMETHOD GetSystemId(nsString& aSystemId)=0;
NS_IMETHOD GetInternalSubset(nsAWritableString& aInternalSubset)=0;
NS_IMETHOD GetInternalSubset(nsString& aInternalSubset)=0;
};
#define NS_DECL_IDOMDOCUMENTTYPE \
NS_IMETHOD GetName(nsAWritableString& aName); \
NS_IMETHOD GetName(nsString& aName); \
NS_IMETHOD GetEntities(nsIDOMNamedNodeMap** aEntities); \
NS_IMETHOD GetNotations(nsIDOMNamedNodeMap** aNotations); \
NS_IMETHOD GetPublicId(nsAWritableString& aPublicId); \
NS_IMETHOD GetSystemId(nsAWritableString& aSystemId); \
NS_IMETHOD GetInternalSubset(nsAWritableString& aInternalSubset); \
NS_IMETHOD GetPublicId(nsString& aPublicId); \
NS_IMETHOD GetSystemId(nsString& aSystemId); \
NS_IMETHOD GetInternalSubset(nsString& aInternalSubset); \
#define NS_FORWARD_IDOMDOCUMENTTYPE(_to) \
NS_IMETHOD GetName(nsAWritableString& aName) { return _to GetName(aName); } \
NS_IMETHOD GetName(nsString& aName) { return _to GetName(aName); } \
NS_IMETHOD GetEntities(nsIDOMNamedNodeMap** aEntities) { return _to GetEntities(aEntities); } \
NS_IMETHOD GetNotations(nsIDOMNamedNodeMap** aNotations) { return _to GetNotations(aNotations); } \
NS_IMETHOD GetPublicId(nsAWritableString& aPublicId) { return _to GetPublicId(aPublicId); } \
NS_IMETHOD GetSystemId(nsAWritableString& aSystemId) { return _to GetSystemId(aSystemId); } \
NS_IMETHOD GetInternalSubset(nsAWritableString& aInternalSubset) { return _to GetInternalSubset(aInternalSubset); } \
NS_IMETHOD GetPublicId(nsString& aPublicId) { return _to GetPublicId(aPublicId); } \
NS_IMETHOD GetSystemId(nsString& aSystemId) { return _to GetSystemId(aSystemId); } \
NS_IMETHOD GetInternalSubset(nsString& aInternalSubset) { return _to GetInternalSubset(aInternalSubset); } \
extern "C" NS_DOM nsresult NS_InitDocumentTypeClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -41,23 +41,23 @@ public:
NS_IMETHOD GetAnonymousNodes(nsIDOMElement* aElt, nsIDOMNodeList** aReturn)=0;
NS_IMETHOD AddBinding(nsIDOMElement* aElt, const nsAReadableString& aBindingURL)=0;
NS_IMETHOD AddBinding(nsIDOMElement* aElt, const nsString& aBindingURL)=0;
NS_IMETHOD RemoveBinding(nsIDOMElement* aElt, const nsAReadableString& aBindingURL)=0;
NS_IMETHOD RemoveBinding(nsIDOMElement* aElt, const nsString& aBindingURL)=0;
};
#define NS_DECL_IDOMDOCUMENTXBL \
NS_IMETHOD GetAnonymousNodes(nsIDOMElement* aElt, nsIDOMNodeList** aReturn); \
NS_IMETHOD AddBinding(nsIDOMElement* aElt, const nsAReadableString& aBindingURL); \
NS_IMETHOD RemoveBinding(nsIDOMElement* aElt, const nsAReadableString& aBindingURL); \
NS_IMETHOD AddBinding(nsIDOMElement* aElt, const nsString& aBindingURL); \
NS_IMETHOD RemoveBinding(nsIDOMElement* aElt, const nsString& aBindingURL); \
#define NS_FORWARD_IDOMDOCUMENTXBL(_to) \
NS_IMETHOD GetAnonymousNodes(nsIDOMElement* aElt, nsIDOMNodeList** aReturn) { return _to GetAnonymousNodes(aElt, aReturn); } \
NS_IMETHOD AddBinding(nsIDOMElement* aElt, const nsAReadableString& aBindingURL) { return _to AddBinding(aElt, aBindingURL); } \
NS_IMETHOD RemoveBinding(nsIDOMElement* aElt, const nsAReadableString& aBindingURL) { return _to RemoveBinding(aElt, aBindingURL); } \
NS_IMETHOD AddBinding(nsIDOMElement* aElt, const nsString& aBindingURL) { return _to AddBinding(aElt, aBindingURL); } \
NS_IMETHOD RemoveBinding(nsIDOMElement* aElt, const nsString& aBindingURL) { return _to RemoveBinding(aElt, aBindingURL); } \
#endif // nsIDOMDocumentXBL_h__

Просмотреть файл

@ -40,77 +40,77 @@ class nsIDOMElement : public nsIDOMNode {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMELEMENT_IID; return iid; }
NS_IMETHOD GetTagName(nsAWritableString& aTagName)=0;
NS_IMETHOD GetTagName(nsString& aTagName)=0;
NS_IMETHOD GetAttribute(const nsAReadableString& aName, nsAWritableString& aReturn)=0;
NS_IMETHOD GetAttribute(const nsString& aName, nsString& aReturn)=0;
NS_IMETHOD SetAttribute(const nsAReadableString& aName, const nsAReadableString& aValue)=0;
NS_IMETHOD SetAttribute(const nsString& aName, const nsString& aValue)=0;
NS_IMETHOD RemoveAttribute(const nsAReadableString& aName)=0;
NS_IMETHOD RemoveAttribute(const nsString& aName)=0;
NS_IMETHOD GetAttributeNode(const nsAReadableString& aName, nsIDOMAttr** aReturn)=0;
NS_IMETHOD GetAttributeNode(const nsString& aName, nsIDOMAttr** aReturn)=0;
NS_IMETHOD SetAttributeNode(nsIDOMAttr* aNewAttr, nsIDOMAttr** aReturn)=0;
NS_IMETHOD RemoveAttributeNode(nsIDOMAttr* aOldAttr, nsIDOMAttr** aReturn)=0;
NS_IMETHOD GetElementsByTagName(const nsAReadableString& aName, nsIDOMNodeList** aReturn)=0;
NS_IMETHOD GetElementsByTagName(const nsString& aName, nsIDOMNodeList** aReturn)=0;
NS_IMETHOD GetAttributeNS(const nsAReadableString& aNamespaceURI, const nsAReadableString& aLocalName, nsAWritableString& aReturn)=0;
NS_IMETHOD GetAttributeNS(const nsString& aNamespaceURI, const nsString& aLocalName, nsString& aReturn)=0;
NS_IMETHOD SetAttributeNS(const nsAReadableString& aNamespaceURI, const nsAReadableString& aQualifiedName, const nsAReadableString& aValue)=0;
NS_IMETHOD SetAttributeNS(const nsString& aNamespaceURI, const nsString& aQualifiedName, const nsString& aValue)=0;
NS_IMETHOD RemoveAttributeNS(const nsAReadableString& aNamespaceURI, const nsAReadableString& aLocalName)=0;
NS_IMETHOD RemoveAttributeNS(const nsString& aNamespaceURI, const nsString& aLocalName)=0;
NS_IMETHOD GetAttributeNodeNS(const nsAReadableString& aNamespaceURI, const nsAReadableString& aLocalName, nsIDOMAttr** aReturn)=0;
NS_IMETHOD GetAttributeNodeNS(const nsString& aNamespaceURI, const nsString& aLocalName, nsIDOMAttr** aReturn)=0;
NS_IMETHOD SetAttributeNodeNS(nsIDOMAttr* aNewAttr, nsIDOMAttr** aReturn)=0;
NS_IMETHOD GetElementsByTagNameNS(const nsAReadableString& aNamespaceURI, const nsAReadableString& aLocalName, nsIDOMNodeList** aReturn)=0;
NS_IMETHOD GetElementsByTagNameNS(const nsString& aNamespaceURI, const nsString& aLocalName, nsIDOMNodeList** aReturn)=0;
NS_IMETHOD HasAttribute(const nsAReadableString& aName, PRBool* aReturn)=0;
NS_IMETHOD HasAttribute(const nsString& aName, PRBool* aReturn)=0;
NS_IMETHOD HasAttributeNS(const nsAReadableString& aNamespaceURI, const nsAReadableString& aLocalName, PRBool* aReturn)=0;
NS_IMETHOD HasAttributeNS(const nsString& aNamespaceURI, const nsString& aLocalName, PRBool* aReturn)=0;
};
#define NS_DECL_IDOMELEMENT \
NS_IMETHOD GetTagName(nsAWritableString& aTagName); \
NS_IMETHOD GetAttribute(const nsAReadableString& aName, nsAWritableString& aReturn); \
NS_IMETHOD SetAttribute(const nsAReadableString& aName, const nsAReadableString& aValue); \
NS_IMETHOD RemoveAttribute(const nsAReadableString& aName); \
NS_IMETHOD GetAttributeNode(const nsAReadableString& aName, nsIDOMAttr** aReturn); \
NS_IMETHOD GetTagName(nsString& aTagName); \
NS_IMETHOD GetAttribute(const nsString& aName, nsString& aReturn); \
NS_IMETHOD SetAttribute(const nsString& aName, const nsString& aValue); \
NS_IMETHOD RemoveAttribute(const nsString& aName); \
NS_IMETHOD GetAttributeNode(const nsString& aName, nsIDOMAttr** aReturn); \
NS_IMETHOD SetAttributeNode(nsIDOMAttr* aNewAttr, nsIDOMAttr** aReturn); \
NS_IMETHOD RemoveAttributeNode(nsIDOMAttr* aOldAttr, nsIDOMAttr** aReturn); \
NS_IMETHOD GetElementsByTagName(const nsAReadableString& aName, nsIDOMNodeList** aReturn); \
NS_IMETHOD GetAttributeNS(const nsAReadableString& aNamespaceURI, const nsAReadableString& aLocalName, nsAWritableString& aReturn); \
NS_IMETHOD SetAttributeNS(const nsAReadableString& aNamespaceURI, const nsAReadableString& aQualifiedName, const nsAReadableString& aValue); \
NS_IMETHOD RemoveAttributeNS(const nsAReadableString& aNamespaceURI, const nsAReadableString& aLocalName); \
NS_IMETHOD GetAttributeNodeNS(const nsAReadableString& aNamespaceURI, const nsAReadableString& aLocalName, nsIDOMAttr** aReturn); \
NS_IMETHOD GetElementsByTagName(const nsString& aName, nsIDOMNodeList** aReturn); \
NS_IMETHOD GetAttributeNS(const nsString& aNamespaceURI, const nsString& aLocalName, nsString& aReturn); \
NS_IMETHOD SetAttributeNS(const nsString& aNamespaceURI, const nsString& aQualifiedName, const nsString& aValue); \
NS_IMETHOD RemoveAttributeNS(const nsString& aNamespaceURI, const nsString& aLocalName); \
NS_IMETHOD GetAttributeNodeNS(const nsString& aNamespaceURI, const nsString& aLocalName, nsIDOMAttr** aReturn); \
NS_IMETHOD SetAttributeNodeNS(nsIDOMAttr* aNewAttr, nsIDOMAttr** aReturn); \
NS_IMETHOD GetElementsByTagNameNS(const nsAReadableString& aNamespaceURI, const nsAReadableString& aLocalName, nsIDOMNodeList** aReturn); \
NS_IMETHOD HasAttribute(const nsAReadableString& aName, PRBool* aReturn); \
NS_IMETHOD HasAttributeNS(const nsAReadableString& aNamespaceURI, const nsAReadableString& aLocalName, PRBool* aReturn); \
NS_IMETHOD GetElementsByTagNameNS(const nsString& aNamespaceURI, const nsString& aLocalName, nsIDOMNodeList** aReturn); \
NS_IMETHOD HasAttribute(const nsString& aName, PRBool* aReturn); \
NS_IMETHOD HasAttributeNS(const nsString& aNamespaceURI, const nsString& aLocalName, PRBool* aReturn); \
#define NS_FORWARD_IDOMELEMENT(_to) \
NS_IMETHOD GetTagName(nsAWritableString& aTagName) { return _to GetTagName(aTagName); } \
NS_IMETHOD GetAttribute(const nsAReadableString& aName, nsAWritableString& aReturn) { return _to GetAttribute(aName, aReturn); } \
NS_IMETHOD SetAttribute(const nsAReadableString& aName, const nsAReadableString& aValue) { return _to SetAttribute(aName, aValue); } \
NS_IMETHOD RemoveAttribute(const nsAReadableString& aName) { return _to RemoveAttribute(aName); } \
NS_IMETHOD GetAttributeNode(const nsAReadableString& aName, nsIDOMAttr** aReturn) { return _to GetAttributeNode(aName, aReturn); } \
NS_IMETHOD GetTagName(nsString& aTagName) { return _to GetTagName(aTagName); } \
NS_IMETHOD GetAttribute(const nsString& aName, nsString& aReturn) { return _to GetAttribute(aName, aReturn); } \
NS_IMETHOD SetAttribute(const nsString& aName, const nsString& aValue) { return _to SetAttribute(aName, aValue); } \
NS_IMETHOD RemoveAttribute(const nsString& aName) { return _to RemoveAttribute(aName); } \
NS_IMETHOD GetAttributeNode(const nsString& aName, nsIDOMAttr** aReturn) { return _to GetAttributeNode(aName, aReturn); } \
NS_IMETHOD SetAttributeNode(nsIDOMAttr* aNewAttr, nsIDOMAttr** aReturn) { return _to SetAttributeNode(aNewAttr, aReturn); } \
NS_IMETHOD RemoveAttributeNode(nsIDOMAttr* aOldAttr, nsIDOMAttr** aReturn) { return _to RemoveAttributeNode(aOldAttr, aReturn); } \
NS_IMETHOD GetElementsByTagName(const nsAReadableString& aName, nsIDOMNodeList** aReturn) { return _to GetElementsByTagName(aName, aReturn); } \
NS_IMETHOD GetAttributeNS(const nsAReadableString& aNamespaceURI, const nsAReadableString& aLocalName, nsAWritableString& aReturn) { return _to GetAttributeNS(aNamespaceURI, aLocalName, aReturn); } \
NS_IMETHOD SetAttributeNS(const nsAReadableString& aNamespaceURI, const nsAReadableString& aQualifiedName, const nsAReadableString& aValue) { return _to SetAttributeNS(aNamespaceURI, aQualifiedName, aValue); } \
NS_IMETHOD RemoveAttributeNS(const nsAReadableString& aNamespaceURI, const nsAReadableString& aLocalName) { return _to RemoveAttributeNS(aNamespaceURI, aLocalName); } \
NS_IMETHOD GetAttributeNodeNS(const nsAReadableString& aNamespaceURI, const nsAReadableString& aLocalName, nsIDOMAttr** aReturn) { return _to GetAttributeNodeNS(aNamespaceURI, aLocalName, aReturn); } \
NS_IMETHOD GetElementsByTagName(const nsString& aName, nsIDOMNodeList** aReturn) { return _to GetElementsByTagName(aName, aReturn); } \
NS_IMETHOD GetAttributeNS(const nsString& aNamespaceURI, const nsString& aLocalName, nsString& aReturn) { return _to GetAttributeNS(aNamespaceURI, aLocalName, aReturn); } \
NS_IMETHOD SetAttributeNS(const nsString& aNamespaceURI, const nsString& aQualifiedName, const nsString& aValue) { return _to SetAttributeNS(aNamespaceURI, aQualifiedName, aValue); } \
NS_IMETHOD RemoveAttributeNS(const nsString& aNamespaceURI, const nsString& aLocalName) { return _to RemoveAttributeNS(aNamespaceURI, aLocalName); } \
NS_IMETHOD GetAttributeNodeNS(const nsString& aNamespaceURI, const nsString& aLocalName, nsIDOMAttr** aReturn) { return _to GetAttributeNodeNS(aNamespaceURI, aLocalName, aReturn); } \
NS_IMETHOD SetAttributeNodeNS(nsIDOMAttr* aNewAttr, nsIDOMAttr** aReturn) { return _to SetAttributeNodeNS(aNewAttr, aReturn); } \
NS_IMETHOD GetElementsByTagNameNS(const nsAReadableString& aNamespaceURI, const nsAReadableString& aLocalName, nsIDOMNodeList** aReturn) { return _to GetElementsByTagNameNS(aNamespaceURI, aLocalName, aReturn); } \
NS_IMETHOD HasAttribute(const nsAReadableString& aName, PRBool* aReturn) { return _to HasAttribute(aName, aReturn); } \
NS_IMETHOD HasAttributeNS(const nsAReadableString& aNamespaceURI, const nsAReadableString& aLocalName, PRBool* aReturn) { return _to HasAttributeNS(aNamespaceURI, aLocalName, aReturn); } \
NS_IMETHOD GetElementsByTagNameNS(const nsString& aNamespaceURI, const nsString& aLocalName, nsIDOMNodeList** aReturn) { return _to GetElementsByTagNameNS(aNamespaceURI, aLocalName, aReturn); } \
NS_IMETHOD HasAttribute(const nsString& aName, PRBool* aReturn) { return _to HasAttribute(aName, aReturn); } \
NS_IMETHOD HasAttributeNS(const nsString& aNamespaceURI, const nsString& aLocalName, PRBool* aReturn) { return _to HasAttributeNS(aNamespaceURI, aLocalName, aReturn); } \
extern "C" NS_DOM nsresult NS_InitElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -38,25 +38,25 @@ class nsIDOMEntity : public nsIDOMNode {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMENTITY_IID; return iid; }
NS_IMETHOD GetPublicId(nsAWritableString& aPublicId)=0;
NS_IMETHOD GetPublicId(nsString& aPublicId)=0;
NS_IMETHOD GetSystemId(nsAWritableString& aSystemId)=0;
NS_IMETHOD GetSystemId(nsString& aSystemId)=0;
NS_IMETHOD GetNotationName(nsAWritableString& aNotationName)=0;
NS_IMETHOD GetNotationName(nsString& aNotationName)=0;
};
#define NS_DECL_IDOMENTITY \
NS_IMETHOD GetPublicId(nsAWritableString& aPublicId); \
NS_IMETHOD GetSystemId(nsAWritableString& aSystemId); \
NS_IMETHOD GetNotationName(nsAWritableString& aNotationName); \
NS_IMETHOD GetPublicId(nsString& aPublicId); \
NS_IMETHOD GetSystemId(nsString& aSystemId); \
NS_IMETHOD GetNotationName(nsString& aNotationName); \
#define NS_FORWARD_IDOMENTITY(_to) \
NS_IMETHOD GetPublicId(nsAWritableString& aPublicId) { return _to GetPublicId(aPublicId); } \
NS_IMETHOD GetSystemId(nsAWritableString& aSystemId) { return _to GetSystemId(aSystemId); } \
NS_IMETHOD GetNotationName(nsAWritableString& aNotationName) { return _to GetNotationName(aNotationName); } \
NS_IMETHOD GetPublicId(nsString& aPublicId) { return _to GetPublicId(aPublicId); } \
NS_IMETHOD GetSystemId(nsString& aSystemId) { return _to GetSystemId(aSystemId); } \
NS_IMETHOD GetNotationName(nsString& aNotationName) { return _to GetNotationName(aNotationName); } \
extern "C" NS_DOM nsresult NS_InitEntityClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -37,36 +37,36 @@ class nsIDOMMediaList : public nsISupports {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMMEDIALIST_IID; return iid; }
NS_IMETHOD GetMediaText(nsAWritableString& aMediaText)=0;
NS_IMETHOD SetMediaText(const nsAReadableString& aMediaText)=0;
NS_IMETHOD GetMediaText(nsString& aMediaText)=0;
NS_IMETHOD SetMediaText(const nsString& aMediaText)=0;
NS_IMETHOD GetLength(PRUint32* aLength)=0;
NS_IMETHOD Item(PRUint32 aIndex, nsAWritableString& aReturn)=0;
NS_IMETHOD Item(PRUint32 aIndex, nsString& aReturn)=0;
NS_IMETHOD Delete(const nsAReadableString& aOldMedium)=0;
NS_IMETHOD Delete(const nsString& aOldMedium)=0;
NS_IMETHOD Append(const nsAReadableString& aNewMedium)=0;
NS_IMETHOD Append(const nsString& aNewMedium)=0;
};
#define NS_DECL_IDOMMEDIALIST \
NS_IMETHOD GetMediaText(nsAWritableString& aMediaText); \
NS_IMETHOD SetMediaText(const nsAReadableString& aMediaText); \
NS_IMETHOD GetMediaText(nsString& aMediaText); \
NS_IMETHOD SetMediaText(const nsString& aMediaText); \
NS_IMETHOD GetLength(PRUint32* aLength); \
NS_IMETHOD Item(PRUint32 aIndex, nsAWritableString& aReturn); \
NS_IMETHOD Delete(const nsAReadableString& aOldMedium); \
NS_IMETHOD Append(const nsAReadableString& aNewMedium); \
NS_IMETHOD Item(PRUint32 aIndex, nsString& aReturn); \
NS_IMETHOD Delete(const nsString& aOldMedium); \
NS_IMETHOD Append(const nsString& aNewMedium); \
#define NS_FORWARD_IDOMMEDIALIST(_to) \
NS_IMETHOD GetMediaText(nsAWritableString& aMediaText) { return _to GetMediaText(aMediaText); } \
NS_IMETHOD SetMediaText(const nsAReadableString& aMediaText) { return _to SetMediaText(aMediaText); } \
NS_IMETHOD GetMediaText(nsString& aMediaText) { return _to GetMediaText(aMediaText); } \
NS_IMETHOD SetMediaText(const nsString& aMediaText) { return _to SetMediaText(aMediaText); } \
NS_IMETHOD GetLength(PRUint32* aLength) { return _to GetLength(aLength); } \
NS_IMETHOD Item(PRUint32 aIndex, nsAWritableString& aReturn) { return _to Item(aIndex, aReturn); } \
NS_IMETHOD Delete(const nsAReadableString& aOldMedium) { return _to Delete(aOldMedium); } \
NS_IMETHOD Append(const nsAReadableString& aNewMedium) { return _to Append(aNewMedium); } \
NS_IMETHOD Item(PRUint32 aIndex, nsString& aReturn) { return _to Item(aIndex, aReturn); } \
NS_IMETHOD Delete(const nsString& aOldMedium) { return _to Delete(aOldMedium); } \
NS_IMETHOD Append(const nsString& aNewMedium) { return _to Append(aNewMedium); } \
extern "C" NS_DOM nsresult NS_InitMediaListClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -44,37 +44,37 @@ public:
NS_IMETHOD GetHeight(PRInt32* aHeight)=0;
NS_IMETHOD GetCharacterSet(nsAWritableString& aCharacterSet)=0;
NS_IMETHOD GetCharacterSet(nsString& aCharacterSet)=0;
NS_IMETHOD GetPlugins(nsIDOMPluginArray** aPlugins)=0;
NS_IMETHOD CreateElementWithNameSpace(const nsAReadableString& aTagName, const nsAReadableString& aNameSpace, nsIDOMElement** aReturn)=0;
NS_IMETHOD CreateElementWithNameSpace(const nsString& aTagName, const nsString& aNameSpace, nsIDOMElement** aReturn)=0;
NS_IMETHOD CreateRange(nsIDOMRange** aReturn)=0;
NS_IMETHOD Load(const nsAReadableString& aUrl)=0;
NS_IMETHOD Load(const nsString& aUrl)=0;
};
#define NS_DECL_IDOMNSDOCUMENT \
NS_IMETHOD GetWidth(PRInt32* aWidth); \
NS_IMETHOD GetHeight(PRInt32* aHeight); \
NS_IMETHOD GetCharacterSet(nsAWritableString& aCharacterSet); \
NS_IMETHOD GetCharacterSet(nsString& aCharacterSet); \
NS_IMETHOD GetPlugins(nsIDOMPluginArray** aPlugins); \
NS_IMETHOD CreateElementWithNameSpace(const nsAReadableString& aTagName, const nsAReadableString& aNameSpace, nsIDOMElement** aReturn); \
NS_IMETHOD CreateElementWithNameSpace(const nsString& aTagName, const nsString& aNameSpace, nsIDOMElement** aReturn); \
NS_IMETHOD CreateRange(nsIDOMRange** aReturn); \
NS_IMETHOD Load(const nsAReadableString& aUrl); \
NS_IMETHOD Load(const nsString& aUrl); \
#define NS_FORWARD_IDOMNSDOCUMENT(_to) \
NS_IMETHOD GetWidth(PRInt32* aWidth) { return _to GetWidth(aWidth); } \
NS_IMETHOD GetHeight(PRInt32* aHeight) { return _to GetHeight(aHeight); } \
NS_IMETHOD GetCharacterSet(nsAWritableString& aCharacterSet) { return _to GetCharacterSet(aCharacterSet); } \
NS_IMETHOD GetCharacterSet(nsString& aCharacterSet) { return _to GetCharacterSet(aCharacterSet); } \
NS_IMETHOD GetPlugins(nsIDOMPluginArray** aPlugins) { return _to GetPlugins(aPlugins); } \
NS_IMETHOD CreateElementWithNameSpace(const nsAReadableString& aTagName, const nsAReadableString& aNameSpace, nsIDOMElement** aReturn) { return _to CreateElementWithNameSpace(aTagName, aNameSpace, aReturn); } \
NS_IMETHOD CreateElementWithNameSpace(const nsString& aTagName, const nsString& aNameSpace, nsIDOMElement** aReturn) { return _to CreateElementWithNameSpace(aTagName, aNameSpace, aReturn); } \
NS_IMETHOD CreateRange(nsIDOMRange** aReturn) { return _to CreateRange(aReturn); } \
NS_IMETHOD Load(const nsAReadableString& aUrl) { return _to Load(aUrl); } \
NS_IMETHOD Load(const nsString& aUrl) { return _to Load(aUrl); } \
#endif // nsIDOMNSDocument_h__

Просмотреть файл

@ -40,43 +40,43 @@ public:
NS_IMETHOD GetLength(PRUint32* aLength)=0;
NS_IMETHOD GetNamedItem(const nsAReadableString& aName, nsIDOMNode** aReturn)=0;
NS_IMETHOD GetNamedItem(const nsString& aName, nsIDOMNode** aReturn)=0;
NS_IMETHOD SetNamedItem(nsIDOMNode* aArg, nsIDOMNode** aReturn)=0;
NS_IMETHOD RemoveNamedItem(const nsAReadableString& aName, nsIDOMNode** aReturn)=0;
NS_IMETHOD RemoveNamedItem(const nsString& aName, nsIDOMNode** aReturn)=0;
NS_IMETHOD Item(PRUint32 aIndex, nsIDOMNode** aReturn)=0;
NS_IMETHOD GetNamedItemNS(const nsAReadableString& aNamespaceURI, const nsAReadableString& aLocalName, nsIDOMNode** aReturn)=0;
NS_IMETHOD GetNamedItemNS(const nsString& aNamespaceURI, const nsString& aLocalName, nsIDOMNode** aReturn)=0;
NS_IMETHOD SetNamedItemNS(nsIDOMNode* aArg, nsIDOMNode** aReturn)=0;
NS_IMETHOD RemoveNamedItemNS(const nsAReadableString& aNamespaceURI, const nsAReadableString& aLocalName, nsIDOMNode** aReturn)=0;
NS_IMETHOD RemoveNamedItemNS(const nsString& aNamespaceURI, const nsString& aLocalName, nsIDOMNode** aReturn)=0;
};
#define NS_DECL_IDOMNAMEDNODEMAP \
NS_IMETHOD GetLength(PRUint32* aLength); \
NS_IMETHOD GetNamedItem(const nsAReadableString& aName, nsIDOMNode** aReturn); \
NS_IMETHOD GetNamedItem(const nsString& aName, nsIDOMNode** aReturn); \
NS_IMETHOD SetNamedItem(nsIDOMNode* aArg, nsIDOMNode** aReturn); \
NS_IMETHOD RemoveNamedItem(const nsAReadableString& aName, nsIDOMNode** aReturn); \
NS_IMETHOD RemoveNamedItem(const nsString& aName, nsIDOMNode** aReturn); \
NS_IMETHOD Item(PRUint32 aIndex, nsIDOMNode** aReturn); \
NS_IMETHOD GetNamedItemNS(const nsAReadableString& aNamespaceURI, const nsAReadableString& aLocalName, nsIDOMNode** aReturn); \
NS_IMETHOD GetNamedItemNS(const nsString& aNamespaceURI, const nsString& aLocalName, nsIDOMNode** aReturn); \
NS_IMETHOD SetNamedItemNS(nsIDOMNode* aArg, nsIDOMNode** aReturn); \
NS_IMETHOD RemoveNamedItemNS(const nsAReadableString& aNamespaceURI, const nsAReadableString& aLocalName, nsIDOMNode** aReturn); \
NS_IMETHOD RemoveNamedItemNS(const nsString& aNamespaceURI, const nsString& aLocalName, nsIDOMNode** aReturn); \
#define NS_FORWARD_IDOMNAMEDNODEMAP(_to) \
NS_IMETHOD GetLength(PRUint32* aLength) { return _to GetLength(aLength); } \
NS_IMETHOD GetNamedItem(const nsAReadableString& aName, nsIDOMNode** aReturn) { return _to GetNamedItem(aName, aReturn); } \
NS_IMETHOD GetNamedItem(const nsString& aName, nsIDOMNode** aReturn) { return _to GetNamedItem(aName, aReturn); } \
NS_IMETHOD SetNamedItem(nsIDOMNode* aArg, nsIDOMNode** aReturn) { return _to SetNamedItem(aArg, aReturn); } \
NS_IMETHOD RemoveNamedItem(const nsAReadableString& aName, nsIDOMNode** aReturn) { return _to RemoveNamedItem(aName, aReturn); } \
NS_IMETHOD RemoveNamedItem(const nsString& aName, nsIDOMNode** aReturn) { return _to RemoveNamedItem(aName, aReturn); } \
NS_IMETHOD Item(PRUint32 aIndex, nsIDOMNode** aReturn) { return _to Item(aIndex, aReturn); } \
NS_IMETHOD GetNamedItemNS(const nsAReadableString& aNamespaceURI, const nsAReadableString& aLocalName, nsIDOMNode** aReturn) { return _to GetNamedItemNS(aNamespaceURI, aLocalName, aReturn); } \
NS_IMETHOD GetNamedItemNS(const nsString& aNamespaceURI, const nsString& aLocalName, nsIDOMNode** aReturn) { return _to GetNamedItemNS(aNamespaceURI, aLocalName, aReturn); } \
NS_IMETHOD SetNamedItemNS(nsIDOMNode* aArg, nsIDOMNode** aReturn) { return _to SetNamedItemNS(aArg, aReturn); } \
NS_IMETHOD RemoveNamedItemNS(const nsAReadableString& aNamespaceURI, const nsAReadableString& aLocalName, nsIDOMNode** aReturn) { return _to RemoveNamedItemNS(aNamespaceURI, aLocalName, aReturn); } \
NS_IMETHOD RemoveNamedItemNS(const nsString& aNamespaceURI, const nsString& aLocalName, nsIDOMNode** aReturn) { return _to RemoveNamedItemNS(aNamespaceURI, aLocalName, aReturn); } \
extern "C" NS_DOM nsresult NS_InitNamedNodeMapClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -55,10 +55,10 @@ public:
NOTATION_NODE = 12
};
NS_IMETHOD GetNodeName(nsAWritableString& aNodeName)=0;
NS_IMETHOD GetNodeName(nsString& aNodeName)=0;
NS_IMETHOD GetNodeValue(nsAWritableString& aNodeValue)=0;
NS_IMETHOD SetNodeValue(const nsAReadableString& aNodeValue)=0;
NS_IMETHOD GetNodeValue(nsString& aNodeValue)=0;
NS_IMETHOD SetNodeValue(const nsString& aNodeValue)=0;
NS_IMETHOD GetNodeType(PRUint16* aNodeType)=0;
@ -78,12 +78,12 @@ public:
NS_IMETHOD GetOwnerDocument(nsIDOMDocument** aOwnerDocument)=0;
NS_IMETHOD GetNamespaceURI(nsAWritableString& aNamespaceURI)=0;
NS_IMETHOD GetNamespaceURI(nsString& aNamespaceURI)=0;
NS_IMETHOD GetPrefix(nsAWritableString& aPrefix)=0;
NS_IMETHOD SetPrefix(const nsAReadableString& aPrefix)=0;
NS_IMETHOD GetPrefix(nsString& aPrefix)=0;
NS_IMETHOD SetPrefix(const nsString& aPrefix)=0;
NS_IMETHOD GetLocalName(nsAWritableString& aLocalName)=0;
NS_IMETHOD GetLocalName(nsString& aLocalName)=0;
NS_IMETHOD InsertBefore(nsIDOMNode* aNewChild, nsIDOMNode* aRefChild, nsIDOMNode** aReturn)=0;
@ -99,14 +99,14 @@ public:
NS_IMETHOD Normalize()=0;
NS_IMETHOD Supports(const nsAReadableString& aFeature, const nsAReadableString& aVersion, PRBool* aReturn)=0;
NS_IMETHOD Supports(const nsString& aFeature, const nsString& aVersion, PRBool* aReturn)=0;
};
#define NS_DECL_IDOMNODE \
NS_IMETHOD GetNodeName(nsAWritableString& aNodeName); \
NS_IMETHOD GetNodeValue(nsAWritableString& aNodeValue); \
NS_IMETHOD SetNodeValue(const nsAReadableString& aNodeValue); \
NS_IMETHOD GetNodeName(nsString& aNodeName); \
NS_IMETHOD GetNodeValue(nsString& aNodeValue); \
NS_IMETHOD SetNodeValue(const nsString& aNodeValue); \
NS_IMETHOD GetNodeType(PRUint16* aNodeType); \
NS_IMETHOD GetParentNode(nsIDOMNode** aParentNode); \
NS_IMETHOD GetChildNodes(nsIDOMNodeList** aChildNodes); \
@ -116,10 +116,10 @@ public:
NS_IMETHOD GetNextSibling(nsIDOMNode** aNextSibling); \
NS_IMETHOD GetAttributes(nsIDOMNamedNodeMap** aAttributes); \
NS_IMETHOD GetOwnerDocument(nsIDOMDocument** aOwnerDocument); \
NS_IMETHOD GetNamespaceURI(nsAWritableString& aNamespaceURI); \
NS_IMETHOD GetPrefix(nsAWritableString& aPrefix); \
NS_IMETHOD SetPrefix(const nsAReadableString& aPrefix); \
NS_IMETHOD GetLocalName(nsAWritableString& aLocalName); \
NS_IMETHOD GetNamespaceURI(nsString& aNamespaceURI); \
NS_IMETHOD GetPrefix(nsString& aPrefix); \
NS_IMETHOD SetPrefix(const nsString& aPrefix); \
NS_IMETHOD GetLocalName(nsString& aLocalName); \
NS_IMETHOD InsertBefore(nsIDOMNode* aNewChild, nsIDOMNode* aRefChild, nsIDOMNode** aReturn); \
NS_IMETHOD ReplaceChild(nsIDOMNode* aNewChild, nsIDOMNode* aOldChild, nsIDOMNode** aReturn); \
NS_IMETHOD RemoveChild(nsIDOMNode* aOldChild, nsIDOMNode** aReturn); \
@ -127,14 +127,14 @@ public:
NS_IMETHOD HasChildNodes(PRBool* aReturn); \
NS_IMETHOD CloneNode(PRBool aDeep, nsIDOMNode** aReturn); \
NS_IMETHOD Normalize(); \
NS_IMETHOD Supports(const nsAReadableString& aFeature, const nsAReadableString& aVersion, PRBool* aReturn); \
NS_IMETHOD Supports(const nsString& aFeature, const nsString& aVersion, PRBool* aReturn); \
#define NS_FORWARD_IDOMNODE(_to) \
NS_IMETHOD GetNodeName(nsAWritableString& aNodeName) { return _to GetNodeName(aNodeName); } \
NS_IMETHOD GetNodeValue(nsAWritableString& aNodeValue) { return _to GetNodeValue(aNodeValue); } \
NS_IMETHOD SetNodeValue(const nsAReadableString& aNodeValue) { return _to SetNodeValue(aNodeValue); } \
NS_IMETHOD GetNodeName(nsString& aNodeName) { return _to GetNodeName(aNodeName); } \
NS_IMETHOD GetNodeValue(nsString& aNodeValue) { return _to GetNodeValue(aNodeValue); } \
NS_IMETHOD SetNodeValue(const nsString& aNodeValue) { return _to SetNodeValue(aNodeValue); } \
NS_IMETHOD GetNodeType(PRUint16* aNodeType) { return _to GetNodeType(aNodeType); } \
NS_IMETHOD GetParentNode(nsIDOMNode** aParentNode) { return _to GetParentNode(aParentNode); } \
NS_IMETHOD GetChildNodes(nsIDOMNodeList** aChildNodes) { return _to GetChildNodes(aChildNodes); } \
@ -144,10 +144,10 @@ public:
NS_IMETHOD GetNextSibling(nsIDOMNode** aNextSibling) { return _to GetNextSibling(aNextSibling); } \
NS_IMETHOD GetAttributes(nsIDOMNamedNodeMap** aAttributes) { return _to GetAttributes(aAttributes); } \
NS_IMETHOD GetOwnerDocument(nsIDOMDocument** aOwnerDocument) { return _to GetOwnerDocument(aOwnerDocument); } \
NS_IMETHOD GetNamespaceURI(nsAWritableString& aNamespaceURI) { return _to GetNamespaceURI(aNamespaceURI); } \
NS_IMETHOD GetPrefix(nsAWritableString& aPrefix) { return _to GetPrefix(aPrefix); } \
NS_IMETHOD SetPrefix(const nsAReadableString& aPrefix) { return _to SetPrefix(aPrefix); } \
NS_IMETHOD GetLocalName(nsAWritableString& aLocalName) { return _to GetLocalName(aLocalName); } \
NS_IMETHOD GetNamespaceURI(nsString& aNamespaceURI) { return _to GetNamespaceURI(aNamespaceURI); } \
NS_IMETHOD GetPrefix(nsString& aPrefix) { return _to GetPrefix(aPrefix); } \
NS_IMETHOD SetPrefix(const nsString& aPrefix) { return _to SetPrefix(aPrefix); } \
NS_IMETHOD GetLocalName(nsString& aLocalName) { return _to GetLocalName(aLocalName); } \
NS_IMETHOD InsertBefore(nsIDOMNode* aNewChild, nsIDOMNode* aRefChild, nsIDOMNode** aReturn) { return _to InsertBefore(aNewChild, aRefChild, aReturn); } \
NS_IMETHOD ReplaceChild(nsIDOMNode* aNewChild, nsIDOMNode* aOldChild, nsIDOMNode** aReturn) { return _to ReplaceChild(aNewChild, aOldChild, aReturn); } \
NS_IMETHOD RemoveChild(nsIDOMNode* aOldChild, nsIDOMNode** aReturn) { return _to RemoveChild(aOldChild, aReturn); } \
@ -155,7 +155,7 @@ public:
NS_IMETHOD HasChildNodes(PRBool* aReturn) { return _to HasChildNodes(aReturn); } \
NS_IMETHOD CloneNode(PRBool aDeep, nsIDOMNode** aReturn) { return _to CloneNode(aDeep, aReturn); } \
NS_IMETHOD Normalize() { return _to Normalize(); } \
NS_IMETHOD Supports(const nsAReadableString& aFeature, const nsAReadableString& aVersion, PRBool* aReturn) { return _to Supports(aFeature, aVersion, aReturn); } \
NS_IMETHOD Supports(const nsString& aFeature, const nsString& aVersion, PRBool* aReturn) { return _to Supports(aFeature, aVersion, aReturn); } \
extern "C" NS_DOM nsresult NS_InitNodeClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -38,21 +38,21 @@ class nsIDOMNotation : public nsIDOMNode {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMNOTATION_IID; return iid; }
NS_IMETHOD GetPublicId(nsAWritableString& aPublicId)=0;
NS_IMETHOD GetPublicId(nsString& aPublicId)=0;
NS_IMETHOD GetSystemId(nsAWritableString& aSystemId)=0;
NS_IMETHOD GetSystemId(nsString& aSystemId)=0;
};
#define NS_DECL_IDOMNOTATION \
NS_IMETHOD GetPublicId(nsAWritableString& aPublicId); \
NS_IMETHOD GetSystemId(nsAWritableString& aSystemId); \
NS_IMETHOD GetPublicId(nsString& aPublicId); \
NS_IMETHOD GetSystemId(nsString& aSystemId); \
#define NS_FORWARD_IDOMNOTATION(_to) \
NS_IMETHOD GetPublicId(nsAWritableString& aPublicId) { return _to GetPublicId(aPublicId); } \
NS_IMETHOD GetSystemId(nsAWritableString& aSystemId) { return _to GetSystemId(aSystemId); } \
NS_IMETHOD GetPublicId(nsString& aPublicId) { return _to GetPublicId(aPublicId); } \
NS_IMETHOD GetSystemId(nsString& aSystemId) { return _to GetSystemId(aSystemId); } \
extern "C" NS_DOM nsresult NS_InitNotationClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -38,24 +38,24 @@ class nsIDOMProcessingInstruction : public nsIDOMNode {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMPROCESSINGINSTRUCTION_IID; return iid; }
NS_IMETHOD GetTarget(nsAWritableString& aTarget)=0;
NS_IMETHOD GetTarget(nsString& aTarget)=0;
NS_IMETHOD GetData(nsAWritableString& aData)=0;
NS_IMETHOD SetData(const nsAReadableString& aData)=0;
NS_IMETHOD GetData(nsString& aData)=0;
NS_IMETHOD SetData(const nsString& aData)=0;
};
#define NS_DECL_IDOMPROCESSINGINSTRUCTION \
NS_IMETHOD GetTarget(nsAWritableString& aTarget); \
NS_IMETHOD GetData(nsAWritableString& aData); \
NS_IMETHOD SetData(const nsAReadableString& aData); \
NS_IMETHOD GetTarget(nsString& aTarget); \
NS_IMETHOD GetData(nsString& aData); \
NS_IMETHOD SetData(const nsString& aData); \
#define NS_FORWARD_IDOMPROCESSINGINSTRUCTION(_to) \
NS_IMETHOD GetTarget(nsAWritableString& aTarget) { return _to GetTarget(aTarget); } \
NS_IMETHOD GetData(nsAWritableString& aData) { return _to GetData(aData); } \
NS_IMETHOD SetData(const nsAReadableString& aData) { return _to SetData(aData); } \
NS_IMETHOD GetTarget(nsString& aTarget) { return _to GetTarget(aTarget); } \
NS_IMETHOD GetData(nsString& aData) { return _to GetData(aData); } \
NS_IMETHOD SetData(const nsString& aData) { return _to SetData(aData); } \
extern "C" NS_DOM nsresult NS_InitProcessingInstructionClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -40,7 +40,7 @@ class nsIDOMStyleSheet : public nsISupports {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMSTYLESHEET_IID; return iid; }
NS_IMETHOD GetType(nsAWritableString& aType)=0;
NS_IMETHOD GetType(nsString& aType)=0;
NS_IMETHOD GetDisabled(PRBool* aDisabled)=0;
NS_IMETHOD SetDisabled(PRBool aDisabled)=0;
@ -49,34 +49,34 @@ public:
NS_IMETHOD GetParentStyleSheet(nsIDOMStyleSheet** aParentStyleSheet)=0;
NS_IMETHOD GetHref(nsAWritableString& aHref)=0;
NS_IMETHOD GetHref(nsString& aHref)=0;
NS_IMETHOD GetTitle(nsAWritableString& aTitle)=0;
NS_IMETHOD GetTitle(nsString& aTitle)=0;
NS_IMETHOD GetMedia(nsIDOMMediaList** aMedia)=0;
};
#define NS_DECL_IDOMSTYLESHEET \
NS_IMETHOD GetType(nsAWritableString& aType); \
NS_IMETHOD GetType(nsString& aType); \
NS_IMETHOD GetDisabled(PRBool* aDisabled); \
NS_IMETHOD SetDisabled(PRBool aDisabled); \
NS_IMETHOD GetOwnerNode(nsIDOMNode** aOwnerNode); \
NS_IMETHOD GetParentStyleSheet(nsIDOMStyleSheet** aParentStyleSheet); \
NS_IMETHOD GetHref(nsAWritableString& aHref); \
NS_IMETHOD GetTitle(nsAWritableString& aTitle); \
NS_IMETHOD GetHref(nsString& aHref); \
NS_IMETHOD GetTitle(nsString& aTitle); \
NS_IMETHOD GetMedia(nsIDOMMediaList** aMedia); \
#define NS_FORWARD_IDOMSTYLESHEET(_to) \
NS_IMETHOD GetType(nsAWritableString& aType) { return _to GetType(aType); } \
NS_IMETHOD GetType(nsString& aType) { return _to GetType(aType); } \
NS_IMETHOD GetDisabled(PRBool* aDisabled) { return _to GetDisabled(aDisabled); } \
NS_IMETHOD SetDisabled(PRBool aDisabled) { return _to SetDisabled(aDisabled); } \
NS_IMETHOD GetOwnerNode(nsIDOMNode** aOwnerNode) { return _to GetOwnerNode(aOwnerNode); } \
NS_IMETHOD GetParentStyleSheet(nsIDOMStyleSheet** aParentStyleSheet) { return _to GetParentStyleSheet(aParentStyleSheet); } \
NS_IMETHOD GetHref(nsAWritableString& aHref) { return _to GetHref(aHref); } \
NS_IMETHOD GetTitle(nsAWritableString& aTitle) { return _to GetTitle(aTitle); } \
NS_IMETHOD GetHref(nsString& aHref) { return _to GetHref(aHref); } \
NS_IMETHOD GetTitle(nsString& aTitle) { return _to GetTitle(aTitle); } \
NS_IMETHOD GetMedia(nsIDOMMediaList** aMedia) { return _to GetMedia(aMedia); } \

Просмотреть файл

@ -78,7 +78,7 @@ public:
META_MASK = 8
};
NS_IMETHOD GetType(nsAWritableString& aType)=0;
NS_IMETHOD GetType(nsString& aType)=0;
NS_IMETHOD GetTarget(nsIDOMEventTarget** aTarget)=0;
@ -100,12 +100,12 @@ public:
NS_IMETHOD PreventDefault()=0;
NS_IMETHOD InitEvent(const nsAReadableString& aEventTypeArg, PRBool aCanBubbleArg, PRBool aCancelableArg)=0;
NS_IMETHOD InitEvent(const nsString& aEventTypeArg, PRBool aCanBubbleArg, PRBool aCancelableArg)=0;
};
#define NS_DECL_IDOMEVENT \
NS_IMETHOD GetType(nsAWritableString& aType); \
NS_IMETHOD GetType(nsString& aType); \
NS_IMETHOD GetTarget(nsIDOMEventTarget** aTarget); \
NS_IMETHOD GetCurrentTarget(nsIDOMEventTarget** aCurrentTarget); \
NS_IMETHOD GetEventPhase(PRUint16* aEventPhase); \
@ -116,12 +116,12 @@ public:
NS_IMETHOD PreventBubble(); \
NS_IMETHOD PreventCapture(); \
NS_IMETHOD PreventDefault(); \
NS_IMETHOD InitEvent(const nsAReadableString& aEventTypeArg, PRBool aCanBubbleArg, PRBool aCancelableArg); \
NS_IMETHOD InitEvent(const nsString& aEventTypeArg, PRBool aCanBubbleArg, PRBool aCancelableArg); \
#define NS_FORWARD_IDOMEVENT(_to) \
NS_IMETHOD GetType(nsAWritableString& aType) { return _to GetType(aType); } \
NS_IMETHOD GetType(nsString& aType) { return _to GetType(aType); } \
NS_IMETHOD GetTarget(nsIDOMEventTarget** aTarget) { return _to GetTarget(aTarget); } \
NS_IMETHOD GetCurrentTarget(nsIDOMEventTarget** aCurrentTarget) { return _to GetCurrentTarget(aCurrentTarget); } \
NS_IMETHOD GetEventPhase(PRUint16* aEventPhase) { return _to GetEventPhase(aEventPhase); } \
@ -132,7 +132,7 @@ public:
NS_IMETHOD PreventBubble() { return _to PreventBubble(); } \
NS_IMETHOD PreventCapture() { return _to PreventCapture(); } \
NS_IMETHOD PreventDefault() { return _to PreventDefault(); } \
NS_IMETHOD InitEvent(const nsAReadableString& aEventTypeArg, PRBool aCanBubbleArg, PRBool aCancelableArg) { return _to InitEvent(aEventTypeArg, aCanBubbleArg, aCancelableArg); } \
NS_IMETHOD InitEvent(const nsString& aEventTypeArg, PRBool aCanBubbleArg, PRBool aCancelableArg) { return _to InitEvent(aEventTypeArg, aCanBubbleArg, aCancelableArg); } \
extern "C" NS_DOM nsresult NS_InitEventClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -39,24 +39,24 @@ class nsIDOMEventTarget : public nsISupports {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMEVENTTARGET_IID; return iid; }
NS_IMETHOD AddEventListener(const nsAReadableString& aType, nsIDOMEventListener* aListener, PRBool aUseCapture)=0;
NS_IMETHOD AddEventListener(const nsString& aType, nsIDOMEventListener* aListener, PRBool aUseCapture)=0;
NS_IMETHOD RemoveEventListener(const nsAReadableString& aType, nsIDOMEventListener* aListener, PRBool aUseCapture)=0;
NS_IMETHOD RemoveEventListener(const nsString& aType, nsIDOMEventListener* aListener, PRBool aUseCapture)=0;
NS_IMETHOD DispatchEvent(nsIDOMEvent* aEvt)=0;
};
#define NS_DECL_IDOMEVENTTARGET \
NS_IMETHOD AddEventListener(const nsAReadableString& aType, nsIDOMEventListener* aListener, PRBool aUseCapture); \
NS_IMETHOD RemoveEventListener(const nsAReadableString& aType, nsIDOMEventListener* aListener, PRBool aUseCapture); \
NS_IMETHOD AddEventListener(const nsString& aType, nsIDOMEventListener* aListener, PRBool aUseCapture); \
NS_IMETHOD RemoveEventListener(const nsString& aType, nsIDOMEventListener* aListener, PRBool aUseCapture); \
NS_IMETHOD DispatchEvent(nsIDOMEvent* aEvt); \
#define NS_FORWARD_IDOMEVENTTARGET(_to) \
NS_IMETHOD AddEventListener(const nsAReadableString& aType, nsIDOMEventListener* aListener, PRBool aUseCapture) { return _to AddEventListener(aType, aListener, aUseCapture); } \
NS_IMETHOD RemoveEventListener(const nsAReadableString& aType, nsIDOMEventListener* aListener, PRBool aUseCapture) { return _to RemoveEventListener(aType, aListener, aUseCapture); } \
NS_IMETHOD AddEventListener(const nsString& aType, nsIDOMEventListener* aListener, PRBool aUseCapture) { return _to AddEventListener(aType, aListener, aUseCapture); } \
NS_IMETHOD RemoveEventListener(const nsString& aType, nsIDOMEventListener* aListener, PRBool aUseCapture) { return _to RemoveEventListener(aType, aListener, aUseCapture); } \
NS_IMETHOD DispatchEvent(nsIDOMEvent* aEvt) { return _to DispatchEvent(aEvt); } \

Просмотреть файл

@ -165,7 +165,7 @@ public:
NS_IMETHOD GetMetaKey(PRBool* aMetaKey)=0;
NS_IMETHOD InitKeyEvent(const nsAReadableString& aTypeArg, PRBool aCanBubbleArg, PRBool aCancelableArg, PRBool aCtrlKeyArg, PRBool aAltKeyArg, PRBool aShiftKeyArg, PRBool aMetaKeyArg, PRUint32 aKeyCodeArg, PRUint32 aCharCodeArg, nsIDOMAbstractView* aViewArg)=0;
NS_IMETHOD InitKeyEvent(const nsString& aTypeArg, PRBool aCanBubbleArg, PRBool aCancelableArg, PRBool aCtrlKeyArg, PRBool aAltKeyArg, PRBool aShiftKeyArg, PRBool aMetaKeyArg, PRUint32 aKeyCodeArg, PRUint32 aCharCodeArg, nsIDOMAbstractView* aViewArg)=0;
};
@ -176,7 +176,7 @@ public:
NS_IMETHOD GetCtrlKey(PRBool* aCtrlKey); \
NS_IMETHOD GetShiftKey(PRBool* aShiftKey); \
NS_IMETHOD GetMetaKey(PRBool* aMetaKey); \
NS_IMETHOD InitKeyEvent(const nsAReadableString& aTypeArg, PRBool aCanBubbleArg, PRBool aCancelableArg, PRBool aCtrlKeyArg, PRBool aAltKeyArg, PRBool aShiftKeyArg, PRBool aMetaKeyArg, PRUint32 aKeyCodeArg, PRUint32 aCharCodeArg, nsIDOMAbstractView* aViewArg); \
NS_IMETHOD InitKeyEvent(const nsString& aTypeArg, PRBool aCanBubbleArg, PRBool aCancelableArg, PRBool aCtrlKeyArg, PRBool aAltKeyArg, PRBool aShiftKeyArg, PRBool aMetaKeyArg, PRUint32 aKeyCodeArg, PRUint32 aCharCodeArg, nsIDOMAbstractView* aViewArg); \
@ -187,7 +187,7 @@ public:
NS_IMETHOD GetCtrlKey(PRBool* aCtrlKey) { return _to GetCtrlKey(aCtrlKey); } \
NS_IMETHOD GetShiftKey(PRBool* aShiftKey) { return _to GetShiftKey(aShiftKey); } \
NS_IMETHOD GetMetaKey(PRBool* aMetaKey) { return _to GetMetaKey(aMetaKey); } \
NS_IMETHOD InitKeyEvent(const nsAReadableString& aTypeArg, PRBool aCanBubbleArg, PRBool aCancelableArg, PRBool aCtrlKeyArg, PRBool aAltKeyArg, PRBool aShiftKeyArg, PRBool aMetaKeyArg, PRUint32 aKeyCodeArg, PRUint32 aCharCodeArg, nsIDOMAbstractView* aViewArg) { return _to InitKeyEvent(aTypeArg, aCanBubbleArg, aCancelableArg, aCtrlKeyArg, aAltKeyArg, aShiftKeyArg, aMetaKeyArg, aKeyCodeArg, aCharCodeArg, aViewArg); } \
NS_IMETHOD InitKeyEvent(const nsString& aTypeArg, PRBool aCanBubbleArg, PRBool aCancelableArg, PRBool aCtrlKeyArg, PRBool aAltKeyArg, PRBool aShiftKeyArg, PRBool aMetaKeyArg, PRUint32 aKeyCodeArg, PRUint32 aCharCodeArg, nsIDOMAbstractView* aViewArg) { return _to InitKeyEvent(aTypeArg, aCanBubbleArg, aCancelableArg, aCtrlKeyArg, aAltKeyArg, aShiftKeyArg, aMetaKeyArg, aKeyCodeArg, aCharCodeArg, aViewArg); } \
extern "C" NS_DOM nsresult NS_InitKeyEventClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -59,7 +59,7 @@ public:
NS_IMETHOD GetRelatedTarget(nsIDOMEventTarget** aRelatedTarget)=0;
NS_IMETHOD InitMouseEvent(const nsAReadableString& aTypeArg, PRBool aCtrlKeyArg, PRBool aAltKeyArg, PRBool aShiftKeyArg, PRBool aMetaKeyArg, PRInt32 aScreenXArg, PRInt32 aScreenYArg, PRInt32 aClientXArg, PRInt32 aClientYArg, PRUint16 aButtonArg, PRUint16 aDetailArg)=0;
NS_IMETHOD InitMouseEvent(const nsString& aTypeArg, PRBool aCtrlKeyArg, PRBool aAltKeyArg, PRBool aShiftKeyArg, PRBool aMetaKeyArg, PRInt32 aScreenXArg, PRInt32 aScreenYArg, PRInt32 aClientXArg, PRInt32 aClientYArg, PRUint16 aButtonArg, PRUint16 aDetailArg)=0;
};
@ -74,7 +74,7 @@ public:
NS_IMETHOD GetMetaKey(PRBool* aMetaKey); \
NS_IMETHOD GetButton(PRUint16* aButton); \
NS_IMETHOD GetRelatedTarget(nsIDOMEventTarget** aRelatedTarget); \
NS_IMETHOD InitMouseEvent(const nsAReadableString& aTypeArg, PRBool aCtrlKeyArg, PRBool aAltKeyArg, PRBool aShiftKeyArg, PRBool aMetaKeyArg, PRInt32 aScreenXArg, PRInt32 aScreenYArg, PRInt32 aClientXArg, PRInt32 aClientYArg, PRUint16 aButtonArg, PRUint16 aDetailArg); \
NS_IMETHOD InitMouseEvent(const nsString& aTypeArg, PRBool aCtrlKeyArg, PRBool aAltKeyArg, PRBool aShiftKeyArg, PRBool aMetaKeyArg, PRInt32 aScreenXArg, PRInt32 aScreenYArg, PRInt32 aClientXArg, PRInt32 aClientYArg, PRUint16 aButtonArg, PRUint16 aDetailArg); \
@ -89,7 +89,7 @@ public:
NS_IMETHOD GetMetaKey(PRBool* aMetaKey) { return _to GetMetaKey(aMetaKey); } \
NS_IMETHOD GetButton(PRUint16* aButton) { return _to GetButton(aButton); } \
NS_IMETHOD GetRelatedTarget(nsIDOMEventTarget** aRelatedTarget) { return _to GetRelatedTarget(aRelatedTarget); } \
NS_IMETHOD InitMouseEvent(const nsAReadableString& aTypeArg, PRBool aCtrlKeyArg, PRBool aAltKeyArg, PRBool aShiftKeyArg, PRBool aMetaKeyArg, PRInt32 aScreenXArg, PRInt32 aScreenYArg, PRInt32 aClientXArg, PRInt32 aClientYArg, PRUint16 aButtonArg, PRUint16 aDetailArg) { return _to InitMouseEvent(aTypeArg, aCtrlKeyArg, aAltKeyArg, aShiftKeyArg, aMetaKeyArg, aScreenXArg, aScreenYArg, aClientXArg, aClientYArg, aButtonArg, aDetailArg); } \
NS_IMETHOD InitMouseEvent(const nsString& aTypeArg, PRBool aCtrlKeyArg, PRBool aAltKeyArg, PRBool aShiftKeyArg, PRBool aMetaKeyArg, PRInt32 aScreenXArg, PRInt32 aScreenYArg, PRInt32 aClientXArg, PRInt32 aClientYArg, PRUint16 aButtonArg, PRUint16 aDetailArg) { return _to InitMouseEvent(aTypeArg, aCtrlKeyArg, aAltKeyArg, aShiftKeyArg, aMetaKeyArg, aScreenXArg, aScreenYArg, aClientXArg, aClientYArg, aButtonArg, aDetailArg); } \
#endif // nsIDOMMouseEvent_h__

Просмотреть файл

@ -43,21 +43,21 @@ public:
NS_IMETHOD GetDetail(PRInt32* aDetail)=0;
NS_IMETHOD InitUIEvent(const nsAReadableString& aTypeArg, PRBool aCanBubbleArg, PRBool aCancelableArg, nsIDOMAbstractView* aViewArg, PRInt32 aDetailArg)=0;
NS_IMETHOD InitUIEvent(const nsString& aTypeArg, PRBool aCanBubbleArg, PRBool aCancelableArg, nsIDOMAbstractView* aViewArg, PRInt32 aDetailArg)=0;
};
#define NS_DECL_IDOMUIEVENT \
NS_IMETHOD GetView(nsIDOMAbstractView** aView); \
NS_IMETHOD GetDetail(PRInt32* aDetail); \
NS_IMETHOD InitUIEvent(const nsAReadableString& aTypeArg, PRBool aCanBubbleArg, PRBool aCancelableArg, nsIDOMAbstractView* aViewArg, PRInt32 aDetailArg); \
NS_IMETHOD InitUIEvent(const nsString& aTypeArg, PRBool aCanBubbleArg, PRBool aCancelableArg, nsIDOMAbstractView* aViewArg, PRInt32 aDetailArg); \
#define NS_FORWARD_IDOMUIEVENT(_to) \
NS_IMETHOD GetView(nsIDOMAbstractView** aView) { return _to GetView(aView); } \
NS_IMETHOD GetDetail(PRInt32* aDetail) { return _to GetDetail(aDetail); } \
NS_IMETHOD InitUIEvent(const nsAReadableString& aTypeArg, PRBool aCanBubbleArg, PRBool aCancelableArg, nsIDOMAbstractView* aViewArg, PRInt32 aDetailArg) { return _to InitUIEvent(aTypeArg, aCanBubbleArg, aCancelableArg, aViewArg, aDetailArg); } \
NS_IMETHOD InitUIEvent(const nsString& aTypeArg, PRBool aCanBubbleArg, PRBool aCancelableArg, nsIDOMAbstractView* aViewArg, PRInt32 aDetailArg) { return _to InitUIEvent(aTypeArg, aCanBubbleArg, aCancelableArg, aViewArg, aDetailArg); } \
extern "C" NS_DOM nsresult NS_InitUIEventClass(nsIScriptContext *aContext, void **aPrototype);

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -40,7 +40,7 @@ class nsIDOMCSSImportRule : public nsIDOMCSSRule {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMCSSIMPORTRULE_IID; return iid; }
NS_IMETHOD GetHref(nsAWritableString& aHref)=0;
NS_IMETHOD GetHref(nsString& aHref)=0;
NS_IMETHOD GetMedia(nsIDOMMediaList** aMedia)=0;
@ -49,14 +49,14 @@ public:
#define NS_DECL_IDOMCSSIMPORTRULE \
NS_IMETHOD GetHref(nsAWritableString& aHref); \
NS_IMETHOD GetHref(nsString& aHref); \
NS_IMETHOD GetMedia(nsIDOMMediaList** aMedia); \
NS_IMETHOD GetStyleSheet(nsIDOMCSSStyleSheet** aStyleSheet); \
#define NS_FORWARD_IDOMCSSIMPORTRULE(_to) \
NS_IMETHOD GetHref(nsAWritableString& aHref) { return _to GetHref(aHref); } \
NS_IMETHOD GetHref(nsString& aHref) { return _to GetHref(aHref); } \
NS_IMETHOD GetMedia(nsIDOMMediaList** aMedia) { return _to GetMedia(aMedia); } \
NS_IMETHOD GetStyleSheet(nsIDOMCSSStyleSheet** aStyleSheet) { return _to GetStyleSheet(aStyleSheet); } \

Просмотреть файл

@ -44,7 +44,7 @@ public:
NS_IMETHOD GetCssRules(nsIDOMCSSRuleList** aCssRules)=0;
NS_IMETHOD InsertRule(const nsAReadableString& aRule, PRUint32 aIndex, PRUint32* aReturn)=0;
NS_IMETHOD InsertRule(const nsString& aRule, PRUint32 aIndex, PRUint32* aReturn)=0;
NS_IMETHOD DeleteRule(PRUint32 aIndex)=0;
};
@ -53,7 +53,7 @@ public:
#define NS_DECL_IDOMCSSMEDIARULE \
NS_IMETHOD GetMedia(nsIDOMMediaList** aMedia); \
NS_IMETHOD GetCssRules(nsIDOMCSSRuleList** aCssRules); \
NS_IMETHOD InsertRule(const nsAReadableString& aRule, PRUint32 aIndex, PRUint32* aReturn); \
NS_IMETHOD InsertRule(const nsString& aRule, PRUint32 aIndex, PRUint32* aReturn); \
NS_IMETHOD DeleteRule(PRUint32 aIndex); \
@ -61,7 +61,7 @@ public:
#define NS_FORWARD_IDOMCSSMEDIARULE(_to) \
NS_IMETHOD GetMedia(nsIDOMMediaList** aMedia) { return _to GetMedia(aMedia); } \
NS_IMETHOD GetCssRules(nsIDOMCSSRuleList** aCssRules) { return _to GetCssRules(aCssRules); } \
NS_IMETHOD InsertRule(const nsAReadableString& aRule, PRUint32 aIndex, PRUint32* aReturn) { return _to InsertRule(aRule, aIndex, aReturn); } \
NS_IMETHOD InsertRule(const nsString& aRule, PRUint32 aIndex, PRUint32* aReturn) { return _to InsertRule(aRule, aIndex, aReturn); } \
NS_IMETHOD DeleteRule(PRUint32 aIndex) { return _to DeleteRule(aIndex); } \

Просмотреть файл

@ -39,23 +39,23 @@ class nsIDOMCSSPageRule : public nsIDOMCSSRule {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMCSSPAGERULE_IID; return iid; }
NS_IMETHOD GetSelectorText(nsAWritableString& aSelectorText)=0;
NS_IMETHOD SetSelectorText(const nsAReadableString& aSelectorText)=0;
NS_IMETHOD GetSelectorText(nsString& aSelectorText)=0;
NS_IMETHOD SetSelectorText(const nsString& aSelectorText)=0;
NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration** aStyle)=0;
};
#define NS_DECL_IDOMCSSPAGERULE \
NS_IMETHOD GetSelectorText(nsAWritableString& aSelectorText); \
NS_IMETHOD SetSelectorText(const nsAReadableString& aSelectorText); \
NS_IMETHOD GetSelectorText(nsString& aSelectorText); \
NS_IMETHOD SetSelectorText(const nsString& aSelectorText); \
NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration** aStyle); \
#define NS_FORWARD_IDOMCSSPAGERULE(_to) \
NS_IMETHOD GetSelectorText(nsAWritableString& aSelectorText) { return _to GetSelectorText(aSelectorText); } \
NS_IMETHOD SetSelectorText(const nsAReadableString& aSelectorText) { return _to SetSelectorText(aSelectorText); } \
NS_IMETHOD GetSelectorText(nsString& aSelectorText) { return _to GetSelectorText(aSelectorText); } \
NS_IMETHOD SetSelectorText(const nsString& aSelectorText) { return _to SetSelectorText(aSelectorText); } \
NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration** aStyle) { return _to GetStyle(aStyle); } \

Просмотреть файл

@ -75,9 +75,9 @@ public:
NS_IMETHOD GetFloatValue(PRUint16 aUnitType, float* aReturn)=0;
NS_IMETHOD SetStringValue(PRUint16 aStringType, const nsAReadableString& aStringValue)=0;
NS_IMETHOD SetStringValue(PRUint16 aStringType, const nsString& aStringValue)=0;
NS_IMETHOD GetStringValue(nsAWritableString& aReturn)=0;
NS_IMETHOD GetStringValue(nsString& aReturn)=0;
NS_IMETHOD GetCounterValue(nsIDOMCounter** aReturn)=0;
@ -91,8 +91,8 @@ public:
NS_IMETHOD GetPrimitiveType(PRUint16* aPrimitiveType); \
NS_IMETHOD SetFloatValue(PRUint16 aUnitType, float aFloatValue); \
NS_IMETHOD GetFloatValue(PRUint16 aUnitType, float* aReturn); \
NS_IMETHOD SetStringValue(PRUint16 aStringType, const nsAReadableString& aStringValue); \
NS_IMETHOD GetStringValue(nsAWritableString& aReturn); \
NS_IMETHOD SetStringValue(PRUint16 aStringType, const nsString& aStringValue); \
NS_IMETHOD GetStringValue(nsString& aReturn); \
NS_IMETHOD GetCounterValue(nsIDOMCounter** aReturn); \
NS_IMETHOD GetRectValue(nsIDOMRect** aReturn); \
NS_IMETHOD GetRGBColorValue(nsIDOMRGBColor** aReturn); \
@ -103,8 +103,8 @@ public:
NS_IMETHOD GetPrimitiveType(PRUint16* aPrimitiveType) { return _to GetPrimitiveType(aPrimitiveType); } \
NS_IMETHOD SetFloatValue(PRUint16 aUnitType, float aFloatValue) { return _to SetFloatValue(aUnitType, aFloatValue); } \
NS_IMETHOD GetFloatValue(PRUint16 aUnitType, float* aReturn) { return _to GetFloatValue(aUnitType, aReturn); } \
NS_IMETHOD SetStringValue(PRUint16 aStringType, const nsAReadableString& aStringValue) { return _to SetStringValue(aStringType, aStringValue); } \
NS_IMETHOD GetStringValue(nsAWritableString& aReturn) { return _to GetStringValue(aReturn); } \
NS_IMETHOD SetStringValue(PRUint16 aStringType, const nsString& aStringValue) { return _to SetStringValue(aStringType, aStringValue); } \
NS_IMETHOD GetStringValue(nsString& aReturn) { return _to GetStringValue(aReturn); } \
NS_IMETHOD GetCounterValue(nsIDOMCounter** aReturn) { return _to GetCounterValue(aReturn); } \
NS_IMETHOD GetRectValue(nsIDOMRect** aReturn) { return _to GetRectValue(aReturn); } \
NS_IMETHOD GetRGBColorValue(nsIDOMRGBColor** aReturn) { return _to GetRGBColorValue(aReturn); } \

Просмотреть файл

@ -50,8 +50,8 @@ public:
NS_IMETHOD GetType(PRUint16* aType)=0;
NS_IMETHOD GetCssText(nsAWritableString& aCssText)=0;
NS_IMETHOD SetCssText(const nsAReadableString& aCssText)=0;
NS_IMETHOD GetCssText(nsString& aCssText)=0;
NS_IMETHOD SetCssText(const nsString& aCssText)=0;
NS_IMETHOD GetParentStyleSheet(nsIDOMCSSStyleSheet** aParentStyleSheet)=0;
@ -61,8 +61,8 @@ public:
#define NS_DECL_IDOMCSSRULE \
NS_IMETHOD GetType(PRUint16* aType); \
NS_IMETHOD GetCssText(nsAWritableString& aCssText); \
NS_IMETHOD SetCssText(const nsAReadableString& aCssText); \
NS_IMETHOD GetCssText(nsString& aCssText); \
NS_IMETHOD SetCssText(const nsString& aCssText); \
NS_IMETHOD GetParentStyleSheet(nsIDOMCSSStyleSheet** aParentStyleSheet); \
NS_IMETHOD GetParentRule(nsIDOMCSSRule** aParentRule); \
@ -70,8 +70,8 @@ public:
#define NS_FORWARD_IDOMCSSRULE(_to) \
NS_IMETHOD GetType(PRUint16* aType) { return _to GetType(aType); } \
NS_IMETHOD GetCssText(nsAWritableString& aCssText) { return _to GetCssText(aCssText); } \
NS_IMETHOD SetCssText(const nsAReadableString& aCssText) { return _to SetCssText(aCssText); } \
NS_IMETHOD GetCssText(nsString& aCssText) { return _to GetCssText(aCssText); } \
NS_IMETHOD SetCssText(const nsString& aCssText) { return _to SetCssText(aCssText); } \
NS_IMETHOD GetParentStyleSheet(nsIDOMCSSStyleSheet** aParentStyleSheet) { return _to GetParentStyleSheet(aParentStyleSheet); } \
NS_IMETHOD GetParentRule(nsIDOMCSSRule** aParentRule) { return _to GetParentRule(aParentRule); } \

Просмотреть файл

@ -39,52 +39,52 @@ class nsIDOMCSSStyleDeclaration : public nsISupports {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMCSSSTYLEDECLARATION_IID; return iid; }
NS_IMETHOD GetCssText(nsAWritableString& aCssText)=0;
NS_IMETHOD SetCssText(const nsAReadableString& aCssText)=0;
NS_IMETHOD GetCssText(nsString& aCssText)=0;
NS_IMETHOD SetCssText(const nsString& aCssText)=0;
NS_IMETHOD GetLength(PRUint32* aLength)=0;
NS_IMETHOD GetParentRule(nsIDOMCSSRule** aParentRule)=0;
NS_IMETHOD GetPropertyValue(const nsAReadableString& aPropertyName, nsAWritableString& aReturn)=0;
NS_IMETHOD GetPropertyValue(const nsString& aPropertyName, nsString& aReturn)=0;
NS_IMETHOD GetPropertyCSSValue(const nsAReadableString& aPropertyName, nsIDOMCSSValue** aReturn)=0;
NS_IMETHOD GetPropertyCSSValue(const nsString& aPropertyName, nsIDOMCSSValue** aReturn)=0;
NS_IMETHOD RemoveProperty(const nsAReadableString& aPropertyName, nsAWritableString& aReturn)=0;
NS_IMETHOD RemoveProperty(const nsString& aPropertyName, nsString& aReturn)=0;
NS_IMETHOD GetPropertyPriority(const nsAReadableString& aPropertyName, nsAWritableString& aReturn)=0;
NS_IMETHOD GetPropertyPriority(const nsString& aPropertyName, nsString& aReturn)=0;
NS_IMETHOD SetProperty(const nsAReadableString& aPropertyName, const nsAReadableString& aValue, const nsAReadableString& aPriority)=0;
NS_IMETHOD SetProperty(const nsString& aPropertyName, const nsString& aValue, const nsString& aPriority)=0;
NS_IMETHOD Item(PRUint32 aIndex, nsAWritableString& aReturn)=0;
NS_IMETHOD Item(PRUint32 aIndex, nsString& aReturn)=0;
};
#define NS_DECL_IDOMCSSSTYLEDECLARATION \
NS_IMETHOD GetCssText(nsAWritableString& aCssText); \
NS_IMETHOD SetCssText(const nsAReadableString& aCssText); \
NS_IMETHOD GetCssText(nsString& aCssText); \
NS_IMETHOD SetCssText(const nsString& aCssText); \
NS_IMETHOD GetLength(PRUint32* aLength); \
NS_IMETHOD GetParentRule(nsIDOMCSSRule** aParentRule); \
NS_IMETHOD GetPropertyValue(const nsAReadableString& aPropertyName, nsAWritableString& aReturn); \
NS_IMETHOD GetPropertyCSSValue(const nsAReadableString& aPropertyName, nsIDOMCSSValue** aReturn); \
NS_IMETHOD RemoveProperty(const nsAReadableString& aPropertyName, nsAWritableString& aReturn); \
NS_IMETHOD GetPropertyPriority(const nsAReadableString& aPropertyName, nsAWritableString& aReturn); \
NS_IMETHOD SetProperty(const nsAReadableString& aPropertyName, const nsAReadableString& aValue, const nsAReadableString& aPriority); \
NS_IMETHOD Item(PRUint32 aIndex, nsAWritableString& aReturn); \
NS_IMETHOD GetPropertyValue(const nsString& aPropertyName, nsString& aReturn); \
NS_IMETHOD GetPropertyCSSValue(const nsString& aPropertyName, nsIDOMCSSValue** aReturn); \
NS_IMETHOD RemoveProperty(const nsString& aPropertyName, nsString& aReturn); \
NS_IMETHOD GetPropertyPriority(const nsString& aPropertyName, nsString& aReturn); \
NS_IMETHOD SetProperty(const nsString& aPropertyName, const nsString& aValue, const nsString& aPriority); \
NS_IMETHOD Item(PRUint32 aIndex, nsString& aReturn); \
#define NS_FORWARD_IDOMCSSSTYLEDECLARATION(_to) \
NS_IMETHOD GetCssText(nsAWritableString& aCssText) { return _to GetCssText(aCssText); } \
NS_IMETHOD SetCssText(const nsAReadableString& aCssText) { return _to SetCssText(aCssText); } \
NS_IMETHOD GetCssText(nsString& aCssText) { return _to GetCssText(aCssText); } \
NS_IMETHOD SetCssText(const nsString& aCssText) { return _to SetCssText(aCssText); } \
NS_IMETHOD GetLength(PRUint32* aLength) { return _to GetLength(aLength); } \
NS_IMETHOD GetParentRule(nsIDOMCSSRule** aParentRule) { return _to GetParentRule(aParentRule); } \
NS_IMETHOD GetPropertyValue(const nsAReadableString& aPropertyName, nsAWritableString& aReturn) { return _to GetPropertyValue(aPropertyName, aReturn); } \
NS_IMETHOD GetPropertyCSSValue(const nsAReadableString& aPropertyName, nsIDOMCSSValue** aReturn) { return _to GetPropertyCSSValue(aPropertyName, aReturn); } \
NS_IMETHOD RemoveProperty(const nsAReadableString& aPropertyName, nsAWritableString& aReturn) { return _to RemoveProperty(aPropertyName, aReturn); } \
NS_IMETHOD GetPropertyPriority(const nsAReadableString& aPropertyName, nsAWritableString& aReturn) { return _to GetPropertyPriority(aPropertyName, aReturn); } \
NS_IMETHOD SetProperty(const nsAReadableString& aPropertyName, const nsAReadableString& aValue, const nsAReadableString& aPriority) { return _to SetProperty(aPropertyName, aValue, aPriority); } \
NS_IMETHOD Item(PRUint32 aIndex, nsAWritableString& aReturn) { return _to Item(aIndex, aReturn); } \
NS_IMETHOD GetPropertyValue(const nsString& aPropertyName, nsString& aReturn) { return _to GetPropertyValue(aPropertyName, aReturn); } \
NS_IMETHOD GetPropertyCSSValue(const nsString& aPropertyName, nsIDOMCSSValue** aReturn) { return _to GetPropertyCSSValue(aPropertyName, aReturn); } \
NS_IMETHOD RemoveProperty(const nsString& aPropertyName, nsString& aReturn) { return _to RemoveProperty(aPropertyName, aReturn); } \
NS_IMETHOD GetPropertyPriority(const nsString& aPropertyName, nsString& aReturn) { return _to GetPropertyPriority(aPropertyName, aReturn); } \
NS_IMETHOD SetProperty(const nsString& aPropertyName, const nsString& aValue, const nsString& aPriority) { return _to SetProperty(aPropertyName, aValue, aPriority); } \
NS_IMETHOD Item(PRUint32 aIndex, nsString& aReturn) { return _to Item(aIndex, aReturn); } \
extern "C" NS_DOM nsresult NS_InitCSSStyleDeclarationClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -39,23 +39,23 @@ class nsIDOMCSSStyleRule : public nsIDOMCSSRule {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMCSSSTYLERULE_IID; return iid; }
NS_IMETHOD GetSelectorText(nsAWritableString& aSelectorText)=0;
NS_IMETHOD SetSelectorText(const nsAReadableString& aSelectorText)=0;
NS_IMETHOD GetSelectorText(nsString& aSelectorText)=0;
NS_IMETHOD SetSelectorText(const nsString& aSelectorText)=0;
NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration** aStyle)=0;
};
#define NS_DECL_IDOMCSSSTYLERULE \
NS_IMETHOD GetSelectorText(nsAWritableString& aSelectorText); \
NS_IMETHOD SetSelectorText(const nsAReadableString& aSelectorText); \
NS_IMETHOD GetSelectorText(nsString& aSelectorText); \
NS_IMETHOD SetSelectorText(const nsString& aSelectorText); \
NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration** aStyle); \
#define NS_FORWARD_IDOMCSSSTYLERULE(_to) \
NS_IMETHOD GetSelectorText(nsAWritableString& aSelectorText) { return _to GetSelectorText(aSelectorText); } \
NS_IMETHOD SetSelectorText(const nsAReadableString& aSelectorText) { return _to SetSelectorText(aSelectorText); } \
NS_IMETHOD GetSelectorText(nsString& aSelectorText) { return _to GetSelectorText(aSelectorText); } \
NS_IMETHOD SetSelectorText(const nsString& aSelectorText) { return _to SetSelectorText(aSelectorText); } \
NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration** aStyle) { return _to GetStyle(aStyle); } \

Просмотреть файл

@ -44,7 +44,7 @@ public:
NS_IMETHOD GetCssRules(nsIDOMCSSRuleList** aCssRules)=0;
NS_IMETHOD InsertRule(const nsAReadableString& aRule, PRUint32 aIndex, PRUint32* aReturn)=0;
NS_IMETHOD InsertRule(const nsString& aRule, PRUint32 aIndex, PRUint32* aReturn)=0;
NS_IMETHOD DeleteRule(PRUint32 aIndex)=0;
};
@ -53,7 +53,7 @@ public:
#define NS_DECL_IDOMCSSSTYLESHEET \
NS_IMETHOD GetOwnerRule(nsIDOMCSSRule** aOwnerRule); \
NS_IMETHOD GetCssRules(nsIDOMCSSRuleList** aCssRules); \
NS_IMETHOD InsertRule(const nsAReadableString& aRule, PRUint32 aIndex, PRUint32* aReturn); \
NS_IMETHOD InsertRule(const nsString& aRule, PRUint32 aIndex, PRUint32* aReturn); \
NS_IMETHOD DeleteRule(PRUint32 aIndex); \
@ -61,7 +61,7 @@ public:
#define NS_FORWARD_IDOMCSSSTYLESHEET(_to) \
NS_IMETHOD GetOwnerRule(nsIDOMCSSRule** aOwnerRule) { return _to GetOwnerRule(aOwnerRule); } \
NS_IMETHOD GetCssRules(nsIDOMCSSRuleList** aCssRules) { return _to GetCssRules(aCssRules); } \
NS_IMETHOD InsertRule(const nsAReadableString& aRule, PRUint32 aIndex, PRUint32* aReturn) { return _to InsertRule(aRule, aIndex, aReturn); } \
NS_IMETHOD InsertRule(const nsString& aRule, PRUint32 aIndex, PRUint32* aReturn) { return _to InsertRule(aRule, aIndex, aReturn); } \
NS_IMETHOD DeleteRule(PRUint32 aIndex) { return _to DeleteRule(aIndex); } \

Просмотреть файл

@ -43,23 +43,23 @@ public:
CSS_CUSTOM = 3
};
NS_IMETHOD GetCssText(nsAWritableString& aCssText)=0;
NS_IMETHOD SetCssText(const nsAReadableString& aCssText)=0;
NS_IMETHOD GetCssText(nsString& aCssText)=0;
NS_IMETHOD SetCssText(const nsString& aCssText)=0;
NS_IMETHOD GetValueType(PRUint16* aValueType)=0;
};
#define NS_DECL_IDOMCSSVALUE \
NS_IMETHOD GetCssText(nsAWritableString& aCssText); \
NS_IMETHOD SetCssText(const nsAReadableString& aCssText); \
NS_IMETHOD GetCssText(nsString& aCssText); \
NS_IMETHOD SetCssText(const nsString& aCssText); \
NS_IMETHOD GetValueType(PRUint16* aValueType); \
#define NS_FORWARD_IDOMCSSVALUE(_to) \
NS_IMETHOD GetCssText(nsAWritableString& aCssText) { return _to GetCssText(aCssText); } \
NS_IMETHOD SetCssText(const nsAReadableString& aCssText) { return _to SetCssText(aCssText); } \
NS_IMETHOD GetCssText(nsString& aCssText) { return _to GetCssText(aCssText); } \
NS_IMETHOD SetCssText(const nsString& aCssText) { return _to SetCssText(aCssText); } \
NS_IMETHOD GetValueType(PRUint16* aValueType) { return _to GetValueType(aValueType); } \

Просмотреть файл

@ -37,25 +37,25 @@ class nsIDOMCounter : public nsISupports {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMCOUNTER_IID; return iid; }
NS_IMETHOD GetIdentifier(nsAWritableString& aIdentifier)=0;
NS_IMETHOD GetIdentifier(nsString& aIdentifier)=0;
NS_IMETHOD GetListStyle(nsAWritableString& aListStyle)=0;
NS_IMETHOD GetListStyle(nsString& aListStyle)=0;
NS_IMETHOD GetSeparator(nsAWritableString& aSeparator)=0;
NS_IMETHOD GetSeparator(nsString& aSeparator)=0;
};
#define NS_DECL_IDOMCOUNTER \
NS_IMETHOD GetIdentifier(nsAWritableString& aIdentifier); \
NS_IMETHOD GetListStyle(nsAWritableString& aListStyle); \
NS_IMETHOD GetSeparator(nsAWritableString& aSeparator); \
NS_IMETHOD GetIdentifier(nsString& aIdentifier); \
NS_IMETHOD GetListStyle(nsString& aListStyle); \
NS_IMETHOD GetSeparator(nsString& aSeparator); \
#define NS_FORWARD_IDOMCOUNTER(_to) \
NS_IMETHOD GetIdentifier(nsAWritableString& aIdentifier) { return _to GetIdentifier(aIdentifier); } \
NS_IMETHOD GetListStyle(nsAWritableString& aListStyle) { return _to GetListStyle(aListStyle); } \
NS_IMETHOD GetSeparator(nsAWritableString& aSeparator) { return _to GetSeparator(aSeparator); } \
NS_IMETHOD GetIdentifier(nsString& aIdentifier) { return _to GetIdentifier(aIdentifier); } \
NS_IMETHOD GetListStyle(nsString& aListStyle) { return _to GetListStyle(aListStyle); } \
NS_IMETHOD GetSeparator(nsString& aSeparator) { return _to GetSeparator(aSeparator); } \
extern "C" NS_DOM nsresult NS_InitCounterClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -38,41 +38,41 @@ class nsIDOMHTMLAnchorElement : public nsIDOMHTMLElement {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLANCHORELEMENT_IID; return iid; }
NS_IMETHOD GetAccessKey(nsAWritableString& aAccessKey)=0;
NS_IMETHOD SetAccessKey(const nsAReadableString& aAccessKey)=0;
NS_IMETHOD GetAccessKey(nsString& aAccessKey)=0;
NS_IMETHOD SetAccessKey(const nsString& aAccessKey)=0;
NS_IMETHOD GetCharset(nsAWritableString& aCharset)=0;
NS_IMETHOD SetCharset(const nsAReadableString& aCharset)=0;
NS_IMETHOD GetCharset(nsString& aCharset)=0;
NS_IMETHOD SetCharset(const nsString& aCharset)=0;
NS_IMETHOD GetCoords(nsAWritableString& aCoords)=0;
NS_IMETHOD SetCoords(const nsAReadableString& aCoords)=0;
NS_IMETHOD GetCoords(nsString& aCoords)=0;
NS_IMETHOD SetCoords(const nsString& aCoords)=0;
NS_IMETHOD GetHref(nsAWritableString& aHref)=0;
NS_IMETHOD SetHref(const nsAReadableString& aHref)=0;
NS_IMETHOD GetHref(nsString& aHref)=0;
NS_IMETHOD SetHref(const nsString& aHref)=0;
NS_IMETHOD GetHreflang(nsAWritableString& aHreflang)=0;
NS_IMETHOD SetHreflang(const nsAReadableString& aHreflang)=0;
NS_IMETHOD GetHreflang(nsString& aHreflang)=0;
NS_IMETHOD SetHreflang(const nsString& aHreflang)=0;
NS_IMETHOD GetName(nsAWritableString& aName)=0;
NS_IMETHOD SetName(const nsAReadableString& aName)=0;
NS_IMETHOD GetName(nsString& aName)=0;
NS_IMETHOD SetName(const nsString& aName)=0;
NS_IMETHOD GetRel(nsAWritableString& aRel)=0;
NS_IMETHOD SetRel(const nsAReadableString& aRel)=0;
NS_IMETHOD GetRel(nsString& aRel)=0;
NS_IMETHOD SetRel(const nsString& aRel)=0;
NS_IMETHOD GetRev(nsAWritableString& aRev)=0;
NS_IMETHOD SetRev(const nsAReadableString& aRev)=0;
NS_IMETHOD GetRev(nsString& aRev)=0;
NS_IMETHOD SetRev(const nsString& aRev)=0;
NS_IMETHOD GetShape(nsAWritableString& aShape)=0;
NS_IMETHOD SetShape(const nsAReadableString& aShape)=0;
NS_IMETHOD GetShape(nsString& aShape)=0;
NS_IMETHOD SetShape(const nsString& aShape)=0;
NS_IMETHOD GetTabIndex(PRInt32* aTabIndex)=0;
NS_IMETHOD SetTabIndex(PRInt32 aTabIndex)=0;
NS_IMETHOD GetTarget(nsAWritableString& aTarget)=0;
NS_IMETHOD SetTarget(const nsAReadableString& aTarget)=0;
NS_IMETHOD GetTarget(nsString& aTarget)=0;
NS_IMETHOD SetTarget(const nsString& aTarget)=0;
NS_IMETHOD GetType(nsAWritableString& aType)=0;
NS_IMETHOD SetType(const nsAReadableString& aType)=0;
NS_IMETHOD GetType(nsString& aType)=0;
NS_IMETHOD SetType(const nsString& aType)=0;
NS_IMETHOD Blur()=0;
@ -81,60 +81,60 @@ public:
#define NS_DECL_IDOMHTMLANCHORELEMENT \
NS_IMETHOD GetAccessKey(nsAWritableString& aAccessKey); \
NS_IMETHOD SetAccessKey(const nsAReadableString& aAccessKey); \
NS_IMETHOD GetCharset(nsAWritableString& aCharset); \
NS_IMETHOD SetCharset(const nsAReadableString& aCharset); \
NS_IMETHOD GetCoords(nsAWritableString& aCoords); \
NS_IMETHOD SetCoords(const nsAReadableString& aCoords); \
NS_IMETHOD GetHref(nsAWritableString& aHref); \
NS_IMETHOD SetHref(const nsAReadableString& aHref); \
NS_IMETHOD GetHreflang(nsAWritableString& aHreflang); \
NS_IMETHOD SetHreflang(const nsAReadableString& aHreflang); \
NS_IMETHOD GetName(nsAWritableString& aName); \
NS_IMETHOD SetName(const nsAReadableString& aName); \
NS_IMETHOD GetRel(nsAWritableString& aRel); \
NS_IMETHOD SetRel(const nsAReadableString& aRel); \
NS_IMETHOD GetRev(nsAWritableString& aRev); \
NS_IMETHOD SetRev(const nsAReadableString& aRev); \
NS_IMETHOD GetShape(nsAWritableString& aShape); \
NS_IMETHOD SetShape(const nsAReadableString& aShape); \
NS_IMETHOD GetAccessKey(nsString& aAccessKey); \
NS_IMETHOD SetAccessKey(const nsString& aAccessKey); \
NS_IMETHOD GetCharset(nsString& aCharset); \
NS_IMETHOD SetCharset(const nsString& aCharset); \
NS_IMETHOD GetCoords(nsString& aCoords); \
NS_IMETHOD SetCoords(const nsString& aCoords); \
NS_IMETHOD GetHref(nsString& aHref); \
NS_IMETHOD SetHref(const nsString& aHref); \
NS_IMETHOD GetHreflang(nsString& aHreflang); \
NS_IMETHOD SetHreflang(const nsString& aHreflang); \
NS_IMETHOD GetName(nsString& aName); \
NS_IMETHOD SetName(const nsString& aName); \
NS_IMETHOD GetRel(nsString& aRel); \
NS_IMETHOD SetRel(const nsString& aRel); \
NS_IMETHOD GetRev(nsString& aRev); \
NS_IMETHOD SetRev(const nsString& aRev); \
NS_IMETHOD GetShape(nsString& aShape); \
NS_IMETHOD SetShape(const nsString& aShape); \
NS_IMETHOD GetTabIndex(PRInt32* aTabIndex); \
NS_IMETHOD SetTabIndex(PRInt32 aTabIndex); \
NS_IMETHOD GetTarget(nsAWritableString& aTarget); \
NS_IMETHOD SetTarget(const nsAReadableString& aTarget); \
NS_IMETHOD GetType(nsAWritableString& aType); \
NS_IMETHOD SetType(const nsAReadableString& aType); \
NS_IMETHOD GetTarget(nsString& aTarget); \
NS_IMETHOD SetTarget(const nsString& aTarget); \
NS_IMETHOD GetType(nsString& aType); \
NS_IMETHOD SetType(const nsString& aType); \
NS_IMETHOD Blur(); \
NS_IMETHOD Focus(); \
#define NS_FORWARD_IDOMHTMLANCHORELEMENT(_to) \
NS_IMETHOD GetAccessKey(nsAWritableString& aAccessKey) { return _to GetAccessKey(aAccessKey); } \
NS_IMETHOD SetAccessKey(const nsAReadableString& aAccessKey) { return _to SetAccessKey(aAccessKey); } \
NS_IMETHOD GetCharset(nsAWritableString& aCharset) { return _to GetCharset(aCharset); } \
NS_IMETHOD SetCharset(const nsAReadableString& aCharset) { return _to SetCharset(aCharset); } \
NS_IMETHOD GetCoords(nsAWritableString& aCoords) { return _to GetCoords(aCoords); } \
NS_IMETHOD SetCoords(const nsAReadableString& aCoords) { return _to SetCoords(aCoords); } \
NS_IMETHOD GetHref(nsAWritableString& aHref) { return _to GetHref(aHref); } \
NS_IMETHOD SetHref(const nsAReadableString& aHref) { return _to SetHref(aHref); } \
NS_IMETHOD GetHreflang(nsAWritableString& aHreflang) { return _to GetHreflang(aHreflang); } \
NS_IMETHOD SetHreflang(const nsAReadableString& aHreflang) { return _to SetHreflang(aHreflang); } \
NS_IMETHOD GetName(nsAWritableString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsAReadableString& aName) { return _to SetName(aName); } \
NS_IMETHOD GetRel(nsAWritableString& aRel) { return _to GetRel(aRel); } \
NS_IMETHOD SetRel(const nsAReadableString& aRel) { return _to SetRel(aRel); } \
NS_IMETHOD GetRev(nsAWritableString& aRev) { return _to GetRev(aRev); } \
NS_IMETHOD SetRev(const nsAReadableString& aRev) { return _to SetRev(aRev); } \
NS_IMETHOD GetShape(nsAWritableString& aShape) { return _to GetShape(aShape); } \
NS_IMETHOD SetShape(const nsAReadableString& aShape) { return _to SetShape(aShape); } \
NS_IMETHOD GetAccessKey(nsString& aAccessKey) { return _to GetAccessKey(aAccessKey); } \
NS_IMETHOD SetAccessKey(const nsString& aAccessKey) { return _to SetAccessKey(aAccessKey); } \
NS_IMETHOD GetCharset(nsString& aCharset) { return _to GetCharset(aCharset); } \
NS_IMETHOD SetCharset(const nsString& aCharset) { return _to SetCharset(aCharset); } \
NS_IMETHOD GetCoords(nsString& aCoords) { return _to GetCoords(aCoords); } \
NS_IMETHOD SetCoords(const nsString& aCoords) { return _to SetCoords(aCoords); } \
NS_IMETHOD GetHref(nsString& aHref) { return _to GetHref(aHref); } \
NS_IMETHOD SetHref(const nsString& aHref) { return _to SetHref(aHref); } \
NS_IMETHOD GetHreflang(nsString& aHreflang) { return _to GetHreflang(aHreflang); } \
NS_IMETHOD SetHreflang(const nsString& aHreflang) { return _to SetHreflang(aHreflang); } \
NS_IMETHOD GetName(nsString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsString& aName) { return _to SetName(aName); } \
NS_IMETHOD GetRel(nsString& aRel) { return _to GetRel(aRel); } \
NS_IMETHOD SetRel(const nsString& aRel) { return _to SetRel(aRel); } \
NS_IMETHOD GetRev(nsString& aRev) { return _to GetRev(aRev); } \
NS_IMETHOD SetRev(const nsString& aRev) { return _to SetRev(aRev); } \
NS_IMETHOD GetShape(nsString& aShape) { return _to GetShape(aShape); } \
NS_IMETHOD SetShape(const nsString& aShape) { return _to SetShape(aShape); } \
NS_IMETHOD GetTabIndex(PRInt32* aTabIndex) { return _to GetTabIndex(aTabIndex); } \
NS_IMETHOD SetTabIndex(PRInt32 aTabIndex) { return _to SetTabIndex(aTabIndex); } \
NS_IMETHOD GetTarget(nsAWritableString& aTarget) { return _to GetTarget(aTarget); } \
NS_IMETHOD SetTarget(const nsAReadableString& aTarget) { return _to SetTarget(aTarget); } \
NS_IMETHOD GetType(nsAWritableString& aType) { return _to GetType(aType); } \
NS_IMETHOD SetType(const nsAReadableString& aType) { return _to SetType(aType); } \
NS_IMETHOD GetTarget(nsString& aTarget) { return _to GetTarget(aTarget); } \
NS_IMETHOD SetTarget(const nsString& aTarget) { return _to SetTarget(aTarget); } \
NS_IMETHOD GetType(nsString& aType) { return _to GetType(aType); } \
NS_IMETHOD SetType(const nsString& aType) { return _to SetType(aType); } \
NS_IMETHOD Blur() { return _to Blur(); } \
NS_IMETHOD Focus() { return _to Focus(); } \

Просмотреть файл

@ -38,90 +38,90 @@ class nsIDOMHTMLAppletElement : public nsIDOMHTMLElement {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLAPPLETELEMENT_IID; return iid; }
NS_IMETHOD GetAlign(nsAWritableString& aAlign)=0;
NS_IMETHOD SetAlign(const nsAReadableString& aAlign)=0;
NS_IMETHOD GetAlign(nsString& aAlign)=0;
NS_IMETHOD SetAlign(const nsString& aAlign)=0;
NS_IMETHOD GetAlt(nsAWritableString& aAlt)=0;
NS_IMETHOD SetAlt(const nsAReadableString& aAlt)=0;
NS_IMETHOD GetAlt(nsString& aAlt)=0;
NS_IMETHOD SetAlt(const nsString& aAlt)=0;
NS_IMETHOD GetArchive(nsAWritableString& aArchive)=0;
NS_IMETHOD SetArchive(const nsAReadableString& aArchive)=0;
NS_IMETHOD GetArchive(nsString& aArchive)=0;
NS_IMETHOD SetArchive(const nsString& aArchive)=0;
NS_IMETHOD GetCode(nsAWritableString& aCode)=0;
NS_IMETHOD SetCode(const nsAReadableString& aCode)=0;
NS_IMETHOD GetCode(nsString& aCode)=0;
NS_IMETHOD SetCode(const nsString& aCode)=0;
NS_IMETHOD GetCodeBase(nsAWritableString& aCodeBase)=0;
NS_IMETHOD SetCodeBase(const nsAReadableString& aCodeBase)=0;
NS_IMETHOD GetCodeBase(nsString& aCodeBase)=0;
NS_IMETHOD SetCodeBase(const nsString& aCodeBase)=0;
NS_IMETHOD GetHeight(nsAWritableString& aHeight)=0;
NS_IMETHOD SetHeight(const nsAReadableString& aHeight)=0;
NS_IMETHOD GetHeight(nsString& aHeight)=0;
NS_IMETHOD SetHeight(const nsString& aHeight)=0;
NS_IMETHOD GetHspace(nsAWritableString& aHspace)=0;
NS_IMETHOD SetHspace(const nsAReadableString& aHspace)=0;
NS_IMETHOD GetHspace(nsString& aHspace)=0;
NS_IMETHOD SetHspace(const nsString& aHspace)=0;
NS_IMETHOD GetName(nsAWritableString& aName)=0;
NS_IMETHOD SetName(const nsAReadableString& aName)=0;
NS_IMETHOD GetName(nsString& aName)=0;
NS_IMETHOD SetName(const nsString& aName)=0;
NS_IMETHOD GetObject(nsAWritableString& aObject)=0;
NS_IMETHOD SetObject(const nsAReadableString& aObject)=0;
NS_IMETHOD GetObject(nsString& aObject)=0;
NS_IMETHOD SetObject(const nsString& aObject)=0;
NS_IMETHOD GetVspace(nsAWritableString& aVspace)=0;
NS_IMETHOD SetVspace(const nsAReadableString& aVspace)=0;
NS_IMETHOD GetVspace(nsString& aVspace)=0;
NS_IMETHOD SetVspace(const nsString& aVspace)=0;
NS_IMETHOD GetWidth(nsAWritableString& aWidth)=0;
NS_IMETHOD SetWidth(const nsAReadableString& aWidth)=0;
NS_IMETHOD GetWidth(nsString& aWidth)=0;
NS_IMETHOD SetWidth(const nsString& aWidth)=0;
};
#define NS_DECL_IDOMHTMLAPPLETELEMENT \
NS_IMETHOD GetAlign(nsAWritableString& aAlign); \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign); \
NS_IMETHOD GetAlt(nsAWritableString& aAlt); \
NS_IMETHOD SetAlt(const nsAReadableString& aAlt); \
NS_IMETHOD GetArchive(nsAWritableString& aArchive); \
NS_IMETHOD SetArchive(const nsAReadableString& aArchive); \
NS_IMETHOD GetCode(nsAWritableString& aCode); \
NS_IMETHOD SetCode(const nsAReadableString& aCode); \
NS_IMETHOD GetCodeBase(nsAWritableString& aCodeBase); \
NS_IMETHOD SetCodeBase(const nsAReadableString& aCodeBase); \
NS_IMETHOD GetHeight(nsAWritableString& aHeight); \
NS_IMETHOD SetHeight(const nsAReadableString& aHeight); \
NS_IMETHOD GetHspace(nsAWritableString& aHspace); \
NS_IMETHOD SetHspace(const nsAReadableString& aHspace); \
NS_IMETHOD GetName(nsAWritableString& aName); \
NS_IMETHOD SetName(const nsAReadableString& aName); \
NS_IMETHOD GetObject(nsAWritableString& aObject); \
NS_IMETHOD SetObject(const nsAReadableString& aObject); \
NS_IMETHOD GetVspace(nsAWritableString& aVspace); \
NS_IMETHOD SetVspace(const nsAReadableString& aVspace); \
NS_IMETHOD GetWidth(nsAWritableString& aWidth); \
NS_IMETHOD SetWidth(const nsAReadableString& aWidth); \
NS_IMETHOD GetAlign(nsString& aAlign); \
NS_IMETHOD SetAlign(const nsString& aAlign); \
NS_IMETHOD GetAlt(nsString& aAlt); \
NS_IMETHOD SetAlt(const nsString& aAlt); \
NS_IMETHOD GetArchive(nsString& aArchive); \
NS_IMETHOD SetArchive(const nsString& aArchive); \
NS_IMETHOD GetCode(nsString& aCode); \
NS_IMETHOD SetCode(const nsString& aCode); \
NS_IMETHOD GetCodeBase(nsString& aCodeBase); \
NS_IMETHOD SetCodeBase(const nsString& aCodeBase); \
NS_IMETHOD GetHeight(nsString& aHeight); \
NS_IMETHOD SetHeight(const nsString& aHeight); \
NS_IMETHOD GetHspace(nsString& aHspace); \
NS_IMETHOD SetHspace(const nsString& aHspace); \
NS_IMETHOD GetName(nsString& aName); \
NS_IMETHOD SetName(const nsString& aName); \
NS_IMETHOD GetObject(nsString& aObject); \
NS_IMETHOD SetObject(const nsString& aObject); \
NS_IMETHOD GetVspace(nsString& aVspace); \
NS_IMETHOD SetVspace(const nsString& aVspace); \
NS_IMETHOD GetWidth(nsString& aWidth); \
NS_IMETHOD SetWidth(const nsString& aWidth); \
#define NS_FORWARD_IDOMHTMLAPPLETELEMENT(_to) \
NS_IMETHOD GetAlign(nsAWritableString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign) { return _to SetAlign(aAlign); } \
NS_IMETHOD GetAlt(nsAWritableString& aAlt) { return _to GetAlt(aAlt); } \
NS_IMETHOD SetAlt(const nsAReadableString& aAlt) { return _to SetAlt(aAlt); } \
NS_IMETHOD GetArchive(nsAWritableString& aArchive) { return _to GetArchive(aArchive); } \
NS_IMETHOD SetArchive(const nsAReadableString& aArchive) { return _to SetArchive(aArchive); } \
NS_IMETHOD GetCode(nsAWritableString& aCode) { return _to GetCode(aCode); } \
NS_IMETHOD SetCode(const nsAReadableString& aCode) { return _to SetCode(aCode); } \
NS_IMETHOD GetCodeBase(nsAWritableString& aCodeBase) { return _to GetCodeBase(aCodeBase); } \
NS_IMETHOD SetCodeBase(const nsAReadableString& aCodeBase) { return _to SetCodeBase(aCodeBase); } \
NS_IMETHOD GetHeight(nsAWritableString& aHeight) { return _to GetHeight(aHeight); } \
NS_IMETHOD SetHeight(const nsAReadableString& aHeight) { return _to SetHeight(aHeight); } \
NS_IMETHOD GetHspace(nsAWritableString& aHspace) { return _to GetHspace(aHspace); } \
NS_IMETHOD SetHspace(const nsAReadableString& aHspace) { return _to SetHspace(aHspace); } \
NS_IMETHOD GetName(nsAWritableString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsAReadableString& aName) { return _to SetName(aName); } \
NS_IMETHOD GetObject(nsAWritableString& aObject) { return _to GetObject(aObject); } \
NS_IMETHOD SetObject(const nsAReadableString& aObject) { return _to SetObject(aObject); } \
NS_IMETHOD GetVspace(nsAWritableString& aVspace) { return _to GetVspace(aVspace); } \
NS_IMETHOD SetVspace(const nsAReadableString& aVspace) { return _to SetVspace(aVspace); } \
NS_IMETHOD GetWidth(nsAWritableString& aWidth) { return _to GetWidth(aWidth); } \
NS_IMETHOD SetWidth(const nsAReadableString& aWidth) { return _to SetWidth(aWidth); } \
NS_IMETHOD GetAlign(nsString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsString& aAlign) { return _to SetAlign(aAlign); } \
NS_IMETHOD GetAlt(nsString& aAlt) { return _to GetAlt(aAlt); } \
NS_IMETHOD SetAlt(const nsString& aAlt) { return _to SetAlt(aAlt); } \
NS_IMETHOD GetArchive(nsString& aArchive) { return _to GetArchive(aArchive); } \
NS_IMETHOD SetArchive(const nsString& aArchive) { return _to SetArchive(aArchive); } \
NS_IMETHOD GetCode(nsString& aCode) { return _to GetCode(aCode); } \
NS_IMETHOD SetCode(const nsString& aCode) { return _to SetCode(aCode); } \
NS_IMETHOD GetCodeBase(nsString& aCodeBase) { return _to GetCodeBase(aCodeBase); } \
NS_IMETHOD SetCodeBase(const nsString& aCodeBase) { return _to SetCodeBase(aCodeBase); } \
NS_IMETHOD GetHeight(nsString& aHeight) { return _to GetHeight(aHeight); } \
NS_IMETHOD SetHeight(const nsString& aHeight) { return _to SetHeight(aHeight); } \
NS_IMETHOD GetHspace(nsString& aHspace) { return _to GetHspace(aHspace); } \
NS_IMETHOD SetHspace(const nsString& aHspace) { return _to SetHspace(aHspace); } \
NS_IMETHOD GetName(nsString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsString& aName) { return _to SetName(aName); } \
NS_IMETHOD GetObject(nsString& aObject) { return _to GetObject(aObject); } \
NS_IMETHOD SetObject(const nsString& aObject) { return _to SetObject(aObject); } \
NS_IMETHOD GetVspace(nsString& aVspace) { return _to GetVspace(aVspace); } \
NS_IMETHOD SetVspace(const nsString& aVspace) { return _to SetVspace(aVspace); } \
NS_IMETHOD GetWidth(nsString& aWidth) { return _to GetWidth(aWidth); } \
NS_IMETHOD SetWidth(const nsString& aWidth) { return _to SetWidth(aWidth); } \
extern "C" NS_DOM nsresult NS_InitHTMLAppletElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -38,69 +38,69 @@ class nsIDOMHTMLAreaElement : public nsIDOMHTMLElement {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLAREAELEMENT_IID; return iid; }
NS_IMETHOD GetAccessKey(nsAWritableString& aAccessKey)=0;
NS_IMETHOD SetAccessKey(const nsAReadableString& aAccessKey)=0;
NS_IMETHOD GetAccessKey(nsString& aAccessKey)=0;
NS_IMETHOD SetAccessKey(const nsString& aAccessKey)=0;
NS_IMETHOD GetAlt(nsAWritableString& aAlt)=0;
NS_IMETHOD SetAlt(const nsAReadableString& aAlt)=0;
NS_IMETHOD GetAlt(nsString& aAlt)=0;
NS_IMETHOD SetAlt(const nsString& aAlt)=0;
NS_IMETHOD GetCoords(nsAWritableString& aCoords)=0;
NS_IMETHOD SetCoords(const nsAReadableString& aCoords)=0;
NS_IMETHOD GetCoords(nsString& aCoords)=0;
NS_IMETHOD SetCoords(const nsString& aCoords)=0;
NS_IMETHOD GetHref(nsAWritableString& aHref)=0;
NS_IMETHOD SetHref(const nsAReadableString& aHref)=0;
NS_IMETHOD GetHref(nsString& aHref)=0;
NS_IMETHOD SetHref(const nsString& aHref)=0;
NS_IMETHOD GetNoHref(PRBool* aNoHref)=0;
NS_IMETHOD SetNoHref(PRBool aNoHref)=0;
NS_IMETHOD GetShape(nsAWritableString& aShape)=0;
NS_IMETHOD SetShape(const nsAReadableString& aShape)=0;
NS_IMETHOD GetShape(nsString& aShape)=0;
NS_IMETHOD SetShape(const nsString& aShape)=0;
NS_IMETHOD GetTabIndex(PRInt32* aTabIndex)=0;
NS_IMETHOD SetTabIndex(PRInt32 aTabIndex)=0;
NS_IMETHOD GetTarget(nsAWritableString& aTarget)=0;
NS_IMETHOD SetTarget(const nsAReadableString& aTarget)=0;
NS_IMETHOD GetTarget(nsString& aTarget)=0;
NS_IMETHOD SetTarget(const nsString& aTarget)=0;
};
#define NS_DECL_IDOMHTMLAREAELEMENT \
NS_IMETHOD GetAccessKey(nsAWritableString& aAccessKey); \
NS_IMETHOD SetAccessKey(const nsAReadableString& aAccessKey); \
NS_IMETHOD GetAlt(nsAWritableString& aAlt); \
NS_IMETHOD SetAlt(const nsAReadableString& aAlt); \
NS_IMETHOD GetCoords(nsAWritableString& aCoords); \
NS_IMETHOD SetCoords(const nsAReadableString& aCoords); \
NS_IMETHOD GetHref(nsAWritableString& aHref); \
NS_IMETHOD SetHref(const nsAReadableString& aHref); \
NS_IMETHOD GetAccessKey(nsString& aAccessKey); \
NS_IMETHOD SetAccessKey(const nsString& aAccessKey); \
NS_IMETHOD GetAlt(nsString& aAlt); \
NS_IMETHOD SetAlt(const nsString& aAlt); \
NS_IMETHOD GetCoords(nsString& aCoords); \
NS_IMETHOD SetCoords(const nsString& aCoords); \
NS_IMETHOD GetHref(nsString& aHref); \
NS_IMETHOD SetHref(const nsString& aHref); \
NS_IMETHOD GetNoHref(PRBool* aNoHref); \
NS_IMETHOD SetNoHref(PRBool aNoHref); \
NS_IMETHOD GetShape(nsAWritableString& aShape); \
NS_IMETHOD SetShape(const nsAReadableString& aShape); \
NS_IMETHOD GetShape(nsString& aShape); \
NS_IMETHOD SetShape(const nsString& aShape); \
NS_IMETHOD GetTabIndex(PRInt32* aTabIndex); \
NS_IMETHOD SetTabIndex(PRInt32 aTabIndex); \
NS_IMETHOD GetTarget(nsAWritableString& aTarget); \
NS_IMETHOD SetTarget(const nsAReadableString& aTarget); \
NS_IMETHOD GetTarget(nsString& aTarget); \
NS_IMETHOD SetTarget(const nsString& aTarget); \
#define NS_FORWARD_IDOMHTMLAREAELEMENT(_to) \
NS_IMETHOD GetAccessKey(nsAWritableString& aAccessKey) { return _to GetAccessKey(aAccessKey); } \
NS_IMETHOD SetAccessKey(const nsAReadableString& aAccessKey) { return _to SetAccessKey(aAccessKey); } \
NS_IMETHOD GetAlt(nsAWritableString& aAlt) { return _to GetAlt(aAlt); } \
NS_IMETHOD SetAlt(const nsAReadableString& aAlt) { return _to SetAlt(aAlt); } \
NS_IMETHOD GetCoords(nsAWritableString& aCoords) { return _to GetCoords(aCoords); } \
NS_IMETHOD SetCoords(const nsAReadableString& aCoords) { return _to SetCoords(aCoords); } \
NS_IMETHOD GetHref(nsAWritableString& aHref) { return _to GetHref(aHref); } \
NS_IMETHOD SetHref(const nsAReadableString& aHref) { return _to SetHref(aHref); } \
NS_IMETHOD GetAccessKey(nsString& aAccessKey) { return _to GetAccessKey(aAccessKey); } \
NS_IMETHOD SetAccessKey(const nsString& aAccessKey) { return _to SetAccessKey(aAccessKey); } \
NS_IMETHOD GetAlt(nsString& aAlt) { return _to GetAlt(aAlt); } \
NS_IMETHOD SetAlt(const nsString& aAlt) { return _to SetAlt(aAlt); } \
NS_IMETHOD GetCoords(nsString& aCoords) { return _to GetCoords(aCoords); } \
NS_IMETHOD SetCoords(const nsString& aCoords) { return _to SetCoords(aCoords); } \
NS_IMETHOD GetHref(nsString& aHref) { return _to GetHref(aHref); } \
NS_IMETHOD SetHref(const nsString& aHref) { return _to SetHref(aHref); } \
NS_IMETHOD GetNoHref(PRBool* aNoHref) { return _to GetNoHref(aNoHref); } \
NS_IMETHOD SetNoHref(PRBool aNoHref) { return _to SetNoHref(aNoHref); } \
NS_IMETHOD GetShape(nsAWritableString& aShape) { return _to GetShape(aShape); } \
NS_IMETHOD SetShape(const nsAReadableString& aShape) { return _to SetShape(aShape); } \
NS_IMETHOD GetShape(nsString& aShape) { return _to GetShape(aShape); } \
NS_IMETHOD SetShape(const nsString& aShape) { return _to SetShape(aShape); } \
NS_IMETHOD GetTabIndex(PRInt32* aTabIndex) { return _to GetTabIndex(aTabIndex); } \
NS_IMETHOD SetTabIndex(PRInt32 aTabIndex) { return _to SetTabIndex(aTabIndex); } \
NS_IMETHOD GetTarget(nsAWritableString& aTarget) { return _to GetTarget(aTarget); } \
NS_IMETHOD SetTarget(const nsAReadableString& aTarget) { return _to SetTarget(aTarget); } \
NS_IMETHOD GetTarget(nsString& aTarget) { return _to GetTarget(aTarget); } \
NS_IMETHOD SetTarget(const nsString& aTarget) { return _to SetTarget(aTarget); } \
extern "C" NS_DOM nsresult NS_InitHTMLAreaElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -38,20 +38,20 @@ class nsIDOMHTMLBRElement : public nsIDOMHTMLElement {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLBRELEMENT_IID; return iid; }
NS_IMETHOD GetClear(nsAWritableString& aClear)=0;
NS_IMETHOD SetClear(const nsAReadableString& aClear)=0;
NS_IMETHOD GetClear(nsString& aClear)=0;
NS_IMETHOD SetClear(const nsString& aClear)=0;
};
#define NS_DECL_IDOMHTMLBRELEMENT \
NS_IMETHOD GetClear(nsAWritableString& aClear); \
NS_IMETHOD SetClear(const nsAReadableString& aClear); \
NS_IMETHOD GetClear(nsString& aClear); \
NS_IMETHOD SetClear(const nsString& aClear); \
#define NS_FORWARD_IDOMHTMLBRELEMENT(_to) \
NS_IMETHOD GetClear(nsAWritableString& aClear) { return _to GetClear(aClear); } \
NS_IMETHOD SetClear(const nsAReadableString& aClear) { return _to SetClear(aClear); } \
NS_IMETHOD GetClear(nsString& aClear) { return _to GetClear(aClear); } \
NS_IMETHOD SetClear(const nsString& aClear) { return _to SetClear(aClear); } \
extern "C" NS_DOM nsresult NS_InitHTMLBRElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -38,27 +38,27 @@ class nsIDOMHTMLBaseElement : public nsIDOMHTMLElement {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLBASEELEMENT_IID; return iid; }
NS_IMETHOD GetHref(nsAWritableString& aHref)=0;
NS_IMETHOD SetHref(const nsAReadableString& aHref)=0;
NS_IMETHOD GetHref(nsString& aHref)=0;
NS_IMETHOD SetHref(const nsString& aHref)=0;
NS_IMETHOD GetTarget(nsAWritableString& aTarget)=0;
NS_IMETHOD SetTarget(const nsAReadableString& aTarget)=0;
NS_IMETHOD GetTarget(nsString& aTarget)=0;
NS_IMETHOD SetTarget(const nsString& aTarget)=0;
};
#define NS_DECL_IDOMHTMLBASEELEMENT \
NS_IMETHOD GetHref(nsAWritableString& aHref); \
NS_IMETHOD SetHref(const nsAReadableString& aHref); \
NS_IMETHOD GetTarget(nsAWritableString& aTarget); \
NS_IMETHOD SetTarget(const nsAReadableString& aTarget); \
NS_IMETHOD GetHref(nsString& aHref); \
NS_IMETHOD SetHref(const nsString& aHref); \
NS_IMETHOD GetTarget(nsString& aTarget); \
NS_IMETHOD SetTarget(const nsString& aTarget); \
#define NS_FORWARD_IDOMHTMLBASEELEMENT(_to) \
NS_IMETHOD GetHref(nsAWritableString& aHref) { return _to GetHref(aHref); } \
NS_IMETHOD SetHref(const nsAReadableString& aHref) { return _to SetHref(aHref); } \
NS_IMETHOD GetTarget(nsAWritableString& aTarget) { return _to GetTarget(aTarget); } \
NS_IMETHOD SetTarget(const nsAReadableString& aTarget) { return _to SetTarget(aTarget); } \
NS_IMETHOD GetHref(nsString& aHref) { return _to GetHref(aHref); } \
NS_IMETHOD SetHref(const nsString& aHref) { return _to SetHref(aHref); } \
NS_IMETHOD GetTarget(nsString& aTarget) { return _to GetTarget(aTarget); } \
NS_IMETHOD SetTarget(const nsString& aTarget) { return _to SetTarget(aTarget); } \
extern "C" NS_DOM nsresult NS_InitHTMLBaseElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -38,34 +38,34 @@ class nsIDOMHTMLBaseFontElement : public nsIDOMHTMLElement {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLBASEFONTELEMENT_IID; return iid; }
NS_IMETHOD GetColor(nsAWritableString& aColor)=0;
NS_IMETHOD SetColor(const nsAReadableString& aColor)=0;
NS_IMETHOD GetColor(nsString& aColor)=0;
NS_IMETHOD SetColor(const nsString& aColor)=0;
NS_IMETHOD GetFace(nsAWritableString& aFace)=0;
NS_IMETHOD SetFace(const nsAReadableString& aFace)=0;
NS_IMETHOD GetFace(nsString& aFace)=0;
NS_IMETHOD SetFace(const nsString& aFace)=0;
NS_IMETHOD GetSize(nsAWritableString& aSize)=0;
NS_IMETHOD SetSize(const nsAReadableString& aSize)=0;
NS_IMETHOD GetSize(nsString& aSize)=0;
NS_IMETHOD SetSize(const nsString& aSize)=0;
};
#define NS_DECL_IDOMHTMLBASEFONTELEMENT \
NS_IMETHOD GetColor(nsAWritableString& aColor); \
NS_IMETHOD SetColor(const nsAReadableString& aColor); \
NS_IMETHOD GetFace(nsAWritableString& aFace); \
NS_IMETHOD SetFace(const nsAReadableString& aFace); \
NS_IMETHOD GetSize(nsAWritableString& aSize); \
NS_IMETHOD SetSize(const nsAReadableString& aSize); \
NS_IMETHOD GetColor(nsString& aColor); \
NS_IMETHOD SetColor(const nsString& aColor); \
NS_IMETHOD GetFace(nsString& aFace); \
NS_IMETHOD SetFace(const nsString& aFace); \
NS_IMETHOD GetSize(nsString& aSize); \
NS_IMETHOD SetSize(const nsString& aSize); \
#define NS_FORWARD_IDOMHTMLBASEFONTELEMENT(_to) \
NS_IMETHOD GetColor(nsAWritableString& aColor) { return _to GetColor(aColor); } \
NS_IMETHOD SetColor(const nsAReadableString& aColor) { return _to SetColor(aColor); } \
NS_IMETHOD GetFace(nsAWritableString& aFace) { return _to GetFace(aFace); } \
NS_IMETHOD SetFace(const nsAReadableString& aFace) { return _to SetFace(aFace); } \
NS_IMETHOD GetSize(nsAWritableString& aSize) { return _to GetSize(aSize); } \
NS_IMETHOD SetSize(const nsAReadableString& aSize) { return _to SetSize(aSize); } \
NS_IMETHOD GetColor(nsString& aColor) { return _to GetColor(aColor); } \
NS_IMETHOD SetColor(const nsString& aColor) { return _to SetColor(aColor); } \
NS_IMETHOD GetFace(nsString& aFace) { return _to GetFace(aFace); } \
NS_IMETHOD SetFace(const nsString& aFace) { return _to SetFace(aFace); } \
NS_IMETHOD GetSize(nsString& aSize) { return _to GetSize(aSize); } \
NS_IMETHOD SetSize(const nsString& aSize) { return _to SetSize(aSize); } \
extern "C" NS_DOM nsresult NS_InitHTMLBaseFontElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -38,55 +38,55 @@ class nsIDOMHTMLBodyElement : public nsIDOMHTMLElement {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLBODYELEMENT_IID; return iid; }
NS_IMETHOD GetALink(nsAWritableString& aALink)=0;
NS_IMETHOD SetALink(const nsAReadableString& aALink)=0;
NS_IMETHOD GetALink(nsString& aALink)=0;
NS_IMETHOD SetALink(const nsString& aALink)=0;
NS_IMETHOD GetBackground(nsAWritableString& aBackground)=0;
NS_IMETHOD SetBackground(const nsAReadableString& aBackground)=0;
NS_IMETHOD GetBackground(nsString& aBackground)=0;
NS_IMETHOD SetBackground(const nsString& aBackground)=0;
NS_IMETHOD GetBgColor(nsAWritableString& aBgColor)=0;
NS_IMETHOD SetBgColor(const nsAReadableString& aBgColor)=0;
NS_IMETHOD GetBgColor(nsString& aBgColor)=0;
NS_IMETHOD SetBgColor(const nsString& aBgColor)=0;
NS_IMETHOD GetLink(nsAWritableString& aLink)=0;
NS_IMETHOD SetLink(const nsAReadableString& aLink)=0;
NS_IMETHOD GetLink(nsString& aLink)=0;
NS_IMETHOD SetLink(const nsString& aLink)=0;
NS_IMETHOD GetText(nsAWritableString& aText)=0;
NS_IMETHOD SetText(const nsAReadableString& aText)=0;
NS_IMETHOD GetText(nsString& aText)=0;
NS_IMETHOD SetText(const nsString& aText)=0;
NS_IMETHOD GetVLink(nsAWritableString& aVLink)=0;
NS_IMETHOD SetVLink(const nsAReadableString& aVLink)=0;
NS_IMETHOD GetVLink(nsString& aVLink)=0;
NS_IMETHOD SetVLink(const nsString& aVLink)=0;
};
#define NS_DECL_IDOMHTMLBODYELEMENT \
NS_IMETHOD GetALink(nsAWritableString& aALink); \
NS_IMETHOD SetALink(const nsAReadableString& aALink); \
NS_IMETHOD GetBackground(nsAWritableString& aBackground); \
NS_IMETHOD SetBackground(const nsAReadableString& aBackground); \
NS_IMETHOD GetBgColor(nsAWritableString& aBgColor); \
NS_IMETHOD SetBgColor(const nsAReadableString& aBgColor); \
NS_IMETHOD GetLink(nsAWritableString& aLink); \
NS_IMETHOD SetLink(const nsAReadableString& aLink); \
NS_IMETHOD GetText(nsAWritableString& aText); \
NS_IMETHOD SetText(const nsAReadableString& aText); \
NS_IMETHOD GetVLink(nsAWritableString& aVLink); \
NS_IMETHOD SetVLink(const nsAReadableString& aVLink); \
NS_IMETHOD GetALink(nsString& aALink); \
NS_IMETHOD SetALink(const nsString& aALink); \
NS_IMETHOD GetBackground(nsString& aBackground); \
NS_IMETHOD SetBackground(const nsString& aBackground); \
NS_IMETHOD GetBgColor(nsString& aBgColor); \
NS_IMETHOD SetBgColor(const nsString& aBgColor); \
NS_IMETHOD GetLink(nsString& aLink); \
NS_IMETHOD SetLink(const nsString& aLink); \
NS_IMETHOD GetText(nsString& aText); \
NS_IMETHOD SetText(const nsString& aText); \
NS_IMETHOD GetVLink(nsString& aVLink); \
NS_IMETHOD SetVLink(const nsString& aVLink); \
#define NS_FORWARD_IDOMHTMLBODYELEMENT(_to) \
NS_IMETHOD GetALink(nsAWritableString& aALink) { return _to GetALink(aALink); } \
NS_IMETHOD SetALink(const nsAReadableString& aALink) { return _to SetALink(aALink); } \
NS_IMETHOD GetBackground(nsAWritableString& aBackground) { return _to GetBackground(aBackground); } \
NS_IMETHOD SetBackground(const nsAReadableString& aBackground) { return _to SetBackground(aBackground); } \
NS_IMETHOD GetBgColor(nsAWritableString& aBgColor) { return _to GetBgColor(aBgColor); } \
NS_IMETHOD SetBgColor(const nsAReadableString& aBgColor) { return _to SetBgColor(aBgColor); } \
NS_IMETHOD GetLink(nsAWritableString& aLink) { return _to GetLink(aLink); } \
NS_IMETHOD SetLink(const nsAReadableString& aLink) { return _to SetLink(aLink); } \
NS_IMETHOD GetText(nsAWritableString& aText) { return _to GetText(aText); } \
NS_IMETHOD SetText(const nsAReadableString& aText) { return _to SetText(aText); } \
NS_IMETHOD GetVLink(nsAWritableString& aVLink) { return _to GetVLink(aVLink); } \
NS_IMETHOD SetVLink(const nsAReadableString& aVLink) { return _to SetVLink(aVLink); } \
NS_IMETHOD GetALink(nsString& aALink) { return _to GetALink(aALink); } \
NS_IMETHOD SetALink(const nsString& aALink) { return _to SetALink(aALink); } \
NS_IMETHOD GetBackground(nsString& aBackground) { return _to GetBackground(aBackground); } \
NS_IMETHOD SetBackground(const nsString& aBackground) { return _to SetBackground(aBackground); } \
NS_IMETHOD GetBgColor(nsString& aBgColor) { return _to GetBgColor(aBgColor); } \
NS_IMETHOD SetBgColor(const nsString& aBgColor) { return _to SetBgColor(aBgColor); } \
NS_IMETHOD GetLink(nsString& aLink) { return _to GetLink(aLink); } \
NS_IMETHOD SetLink(const nsString& aLink) { return _to SetLink(aLink); } \
NS_IMETHOD GetText(nsString& aText) { return _to GetText(aText); } \
NS_IMETHOD SetText(const nsString& aText) { return _to SetText(aText); } \
NS_IMETHOD GetVLink(nsString& aVLink) { return _to GetVLink(aVLink); } \
NS_IMETHOD SetVLink(const nsString& aVLink) { return _to SetVLink(aVLink); } \
extern "C" NS_DOM nsresult NS_InitHTMLBodyElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -41,54 +41,54 @@ public:
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm)=0;
NS_IMETHOD GetAccessKey(nsAWritableString& aAccessKey)=0;
NS_IMETHOD SetAccessKey(const nsAReadableString& aAccessKey)=0;
NS_IMETHOD GetAccessKey(nsString& aAccessKey)=0;
NS_IMETHOD SetAccessKey(const nsString& aAccessKey)=0;
NS_IMETHOD GetDisabled(PRBool* aDisabled)=0;
NS_IMETHOD SetDisabled(PRBool aDisabled)=0;
NS_IMETHOD GetName(nsAWritableString& aName)=0;
NS_IMETHOD SetName(const nsAReadableString& aName)=0;
NS_IMETHOD GetName(nsString& aName)=0;
NS_IMETHOD SetName(const nsString& aName)=0;
NS_IMETHOD GetTabIndex(PRInt32* aTabIndex)=0;
NS_IMETHOD SetTabIndex(PRInt32 aTabIndex)=0;
NS_IMETHOD GetType(nsAWritableString& aType)=0;
NS_IMETHOD GetType(nsString& aType)=0;
NS_IMETHOD GetValue(nsAWritableString& aValue)=0;
NS_IMETHOD SetValue(const nsAReadableString& aValue)=0;
NS_IMETHOD GetValue(nsString& aValue)=0;
NS_IMETHOD SetValue(const nsString& aValue)=0;
};
#define NS_DECL_IDOMHTMLBUTTONELEMENT \
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm); \
NS_IMETHOD GetAccessKey(nsAWritableString& aAccessKey); \
NS_IMETHOD SetAccessKey(const nsAReadableString& aAccessKey); \
NS_IMETHOD GetAccessKey(nsString& aAccessKey); \
NS_IMETHOD SetAccessKey(const nsString& aAccessKey); \
NS_IMETHOD GetDisabled(PRBool* aDisabled); \
NS_IMETHOD SetDisabled(PRBool aDisabled); \
NS_IMETHOD GetName(nsAWritableString& aName); \
NS_IMETHOD SetName(const nsAReadableString& aName); \
NS_IMETHOD GetName(nsString& aName); \
NS_IMETHOD SetName(const nsString& aName); \
NS_IMETHOD GetTabIndex(PRInt32* aTabIndex); \
NS_IMETHOD SetTabIndex(PRInt32 aTabIndex); \
NS_IMETHOD GetType(nsAWritableString& aType); \
NS_IMETHOD GetValue(nsAWritableString& aValue); \
NS_IMETHOD SetValue(const nsAReadableString& aValue); \
NS_IMETHOD GetType(nsString& aType); \
NS_IMETHOD GetValue(nsString& aValue); \
NS_IMETHOD SetValue(const nsString& aValue); \
#define NS_FORWARD_IDOMHTMLBUTTONELEMENT(_to) \
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm) { return _to GetForm(aForm); } \
NS_IMETHOD GetAccessKey(nsAWritableString& aAccessKey) { return _to GetAccessKey(aAccessKey); } \
NS_IMETHOD SetAccessKey(const nsAReadableString& aAccessKey) { return _to SetAccessKey(aAccessKey); } \
NS_IMETHOD GetAccessKey(nsString& aAccessKey) { return _to GetAccessKey(aAccessKey); } \
NS_IMETHOD SetAccessKey(const nsString& aAccessKey) { return _to SetAccessKey(aAccessKey); } \
NS_IMETHOD GetDisabled(PRBool* aDisabled) { return _to GetDisabled(aDisabled); } \
NS_IMETHOD SetDisabled(PRBool aDisabled) { return _to SetDisabled(aDisabled); } \
NS_IMETHOD GetName(nsAWritableString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsAReadableString& aName) { return _to SetName(aName); } \
NS_IMETHOD GetName(nsString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsString& aName) { return _to SetName(aName); } \
NS_IMETHOD GetTabIndex(PRInt32* aTabIndex) { return _to GetTabIndex(aTabIndex); } \
NS_IMETHOD SetTabIndex(PRInt32 aTabIndex) { return _to SetTabIndex(aTabIndex); } \
NS_IMETHOD GetType(nsAWritableString& aType) { return _to GetType(aType); } \
NS_IMETHOD GetValue(nsAWritableString& aValue) { return _to GetValue(aValue); } \
NS_IMETHOD SetValue(const nsAReadableString& aValue) { return _to SetValue(aValue); } \
NS_IMETHOD GetType(nsString& aType) { return _to GetType(aType); } \
NS_IMETHOD GetValue(nsString& aValue) { return _to GetValue(aValue); } \
NS_IMETHOD SetValue(const nsString& aValue) { return _to SetValue(aValue); } \
extern "C" NS_DOM nsresult NS_InitHTMLButtonElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -42,21 +42,21 @@ public:
NS_IMETHOD Item(PRUint32 aIndex, nsIDOMNode** aReturn)=0;
NS_IMETHOD NamedItem(const nsAReadableString& aName, nsIDOMNode** aReturn)=0;
NS_IMETHOD NamedItem(const nsString& aName, nsIDOMNode** aReturn)=0;
};
#define NS_DECL_IDOMHTMLCOLLECTION \
NS_IMETHOD GetLength(PRUint32* aLength); \
NS_IMETHOD Item(PRUint32 aIndex, nsIDOMNode** aReturn); \
NS_IMETHOD NamedItem(const nsAReadableString& aName, nsIDOMNode** aReturn); \
NS_IMETHOD NamedItem(const nsString& aName, nsIDOMNode** aReturn); \
#define NS_FORWARD_IDOMHTMLCOLLECTION(_to) \
NS_IMETHOD GetLength(PRUint32* aLength) { return _to GetLength(aLength); } \
NS_IMETHOD Item(PRUint32 aIndex, nsIDOMNode** aReturn) { return _to Item(aIndex, aReturn); } \
NS_IMETHOD NamedItem(const nsAReadableString& aName, nsIDOMNode** aReturn) { return _to NamedItem(aName, aReturn); } \
NS_IMETHOD NamedItem(const nsString& aName, nsIDOMNode** aReturn) { return _to NamedItem(aName, aReturn); } \
extern "C" NS_DOM nsresult NS_InitHTMLCollectionClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -38,20 +38,20 @@ class nsIDOMHTMLDivElement : public nsIDOMHTMLElement {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLDIVELEMENT_IID; return iid; }
NS_IMETHOD GetAlign(nsAWritableString& aAlign)=0;
NS_IMETHOD SetAlign(const nsAReadableString& aAlign)=0;
NS_IMETHOD GetAlign(nsString& aAlign)=0;
NS_IMETHOD SetAlign(const nsString& aAlign)=0;
};
#define NS_DECL_IDOMHTMLDIVELEMENT \
NS_IMETHOD GetAlign(nsAWritableString& aAlign); \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign); \
NS_IMETHOD GetAlign(nsString& aAlign); \
NS_IMETHOD SetAlign(const nsString& aAlign); \
#define NS_FORWARD_IDOMHTMLDIVELEMENT(_to) \
NS_IMETHOD GetAlign(nsAWritableString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign) { return _to SetAlign(aAlign); } \
NS_IMETHOD GetAlign(nsString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsString& aAlign) { return _to SetAlign(aAlign); } \
extern "C" NS_DOM nsresult NS_InitHTMLDivElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -41,15 +41,15 @@ class nsIDOMHTMLDocument : public nsIDOMDocument {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLDOCUMENT_IID; return iid; }
NS_IMETHOD GetTitle(nsAWritableString& aTitle)=0;
NS_IMETHOD SetTitle(const nsAReadableString& aTitle)=0;
NS_IMETHOD GetTitle(nsString& aTitle)=0;
NS_IMETHOD SetTitle(const nsString& aTitle)=0;
NS_IMETHOD GetReferrer(nsAWritableString& aReferrer)=0;
NS_IMETHOD GetReferrer(nsString& aReferrer)=0;
NS_IMETHOD GetDomain(nsAWritableString& aDomain)=0;
NS_IMETHOD SetDomain(const nsAReadableString& aDomain)=0;
NS_IMETHOD GetDomain(nsString& aDomain)=0;
NS_IMETHOD SetDomain(const nsString& aDomain)=0;
NS_IMETHOD GetURL(nsAWritableString& aURL)=0;
NS_IMETHOD GetURL(nsString& aURL)=0;
NS_IMETHOD GetBody(nsIDOMHTMLElement** aBody)=0;
NS_IMETHOD SetBody(nsIDOMHTMLElement* aBody)=0;
@ -64,28 +64,28 @@ public:
NS_IMETHOD GetAnchors(nsIDOMHTMLCollection** aAnchors)=0;
NS_IMETHOD GetCookie(nsAWritableString& aCookie)=0;
NS_IMETHOD SetCookie(const nsAReadableString& aCookie)=0;
NS_IMETHOD GetCookie(nsString& aCookie)=0;
NS_IMETHOD SetCookie(const nsString& aCookie)=0;
NS_IMETHOD Open()=0;
NS_IMETHOD Close()=0;
NS_IMETHOD Write(const nsAReadableString& aText)=0;
NS_IMETHOD Write(const nsString& aText)=0;
NS_IMETHOD Writeln(const nsAReadableString& aText)=0;
NS_IMETHOD Writeln(const nsString& aText)=0;
NS_IMETHOD GetElementsByName(const nsAReadableString& aElementName, nsIDOMNodeList** aReturn)=0;
NS_IMETHOD GetElementsByName(const nsString& aElementName, nsIDOMNodeList** aReturn)=0;
};
#define NS_DECL_IDOMHTMLDOCUMENT \
NS_IMETHOD GetTitle(nsAWritableString& aTitle); \
NS_IMETHOD SetTitle(const nsAReadableString& aTitle); \
NS_IMETHOD GetReferrer(nsAWritableString& aReferrer); \
NS_IMETHOD GetDomain(nsAWritableString& aDomain); \
NS_IMETHOD SetDomain(const nsAReadableString& aDomain); \
NS_IMETHOD GetURL(nsAWritableString& aURL); \
NS_IMETHOD GetTitle(nsString& aTitle); \
NS_IMETHOD SetTitle(const nsString& aTitle); \
NS_IMETHOD GetReferrer(nsString& aReferrer); \
NS_IMETHOD GetDomain(nsString& aDomain); \
NS_IMETHOD SetDomain(const nsString& aDomain); \
NS_IMETHOD GetURL(nsString& aURL); \
NS_IMETHOD GetBody(nsIDOMHTMLElement** aBody); \
NS_IMETHOD SetBody(nsIDOMHTMLElement* aBody); \
NS_IMETHOD GetImages(nsIDOMHTMLCollection** aImages); \
@ -93,23 +93,23 @@ public:
NS_IMETHOD GetLinks(nsIDOMHTMLCollection** aLinks); \
NS_IMETHOD GetForms(nsIDOMHTMLCollection** aForms); \
NS_IMETHOD GetAnchors(nsIDOMHTMLCollection** aAnchors); \
NS_IMETHOD GetCookie(nsAWritableString& aCookie); \
NS_IMETHOD SetCookie(const nsAReadableString& aCookie); \
NS_IMETHOD GetCookie(nsString& aCookie); \
NS_IMETHOD SetCookie(const nsString& aCookie); \
NS_IMETHOD Open(); \
NS_IMETHOD Close(); \
NS_IMETHOD Write(const nsAReadableString& aText); \
NS_IMETHOD Writeln(const nsAReadableString& aText); \
NS_IMETHOD GetElementsByName(const nsAReadableString& aElementName, nsIDOMNodeList** aReturn); \
NS_IMETHOD Write(const nsString& aText); \
NS_IMETHOD Writeln(const nsString& aText); \
NS_IMETHOD GetElementsByName(const nsString& aElementName, nsIDOMNodeList** aReturn); \
#define NS_FORWARD_IDOMHTMLDOCUMENT(_to) \
NS_IMETHOD GetTitle(nsAWritableString& aTitle) { return _to GetTitle(aTitle); } \
NS_IMETHOD SetTitle(const nsAReadableString& aTitle) { return _to SetTitle(aTitle); } \
NS_IMETHOD GetReferrer(nsAWritableString& aReferrer) { return _to GetReferrer(aReferrer); } \
NS_IMETHOD GetDomain(nsAWritableString& aDomain) { return _to GetDomain(aDomain); } \
NS_IMETHOD SetDomain(const nsAReadableString& aDomain) { return _to SetDomain(aDomain); } \
NS_IMETHOD GetURL(nsAWritableString& aURL) { return _to GetURL(aURL); } \
NS_IMETHOD GetTitle(nsString& aTitle) { return _to GetTitle(aTitle); } \
NS_IMETHOD SetTitle(const nsString& aTitle) { return _to SetTitle(aTitle); } \
NS_IMETHOD GetReferrer(nsString& aReferrer) { return _to GetReferrer(aReferrer); } \
NS_IMETHOD GetDomain(nsString& aDomain) { return _to GetDomain(aDomain); } \
NS_IMETHOD SetDomain(const nsString& aDomain) { return _to SetDomain(aDomain); } \
NS_IMETHOD GetURL(nsString& aURL) { return _to GetURL(aURL); } \
NS_IMETHOD GetBody(nsIDOMHTMLElement** aBody) { return _to GetBody(aBody); } \
NS_IMETHOD SetBody(nsIDOMHTMLElement* aBody) { return _to SetBody(aBody); } \
NS_IMETHOD GetImages(nsIDOMHTMLCollection** aImages) { return _to GetImages(aImages); } \
@ -117,13 +117,13 @@ public:
NS_IMETHOD GetLinks(nsIDOMHTMLCollection** aLinks) { return _to GetLinks(aLinks); } \
NS_IMETHOD GetForms(nsIDOMHTMLCollection** aForms) { return _to GetForms(aForms); } \
NS_IMETHOD GetAnchors(nsIDOMHTMLCollection** aAnchors) { return _to GetAnchors(aAnchors); } \
NS_IMETHOD GetCookie(nsAWritableString& aCookie) { return _to GetCookie(aCookie); } \
NS_IMETHOD SetCookie(const nsAReadableString& aCookie) { return _to SetCookie(aCookie); } \
NS_IMETHOD GetCookie(nsString& aCookie) { return _to GetCookie(aCookie); } \
NS_IMETHOD SetCookie(const nsString& aCookie) { return _to SetCookie(aCookie); } \
NS_IMETHOD Open() { return _to Open(); } \
NS_IMETHOD Close() { return _to Close(); } \
NS_IMETHOD Write(const nsAReadableString& aText) { return _to Write(aText); } \
NS_IMETHOD Writeln(const nsAReadableString& aText) { return _to Writeln(aText); } \
NS_IMETHOD GetElementsByName(const nsAReadableString& aElementName, nsIDOMNodeList** aReturn) { return _to GetElementsByName(aElementName, aReturn); } \
NS_IMETHOD Write(const nsString& aText) { return _to Write(aText); } \
NS_IMETHOD Writeln(const nsString& aText) { return _to Writeln(aText); } \
NS_IMETHOD GetElementsByName(const nsString& aElementName, nsIDOMNodeList** aReturn) { return _to GetElementsByName(aElementName, aReturn); } \
extern "C" NS_DOM nsresult NS_InitHTMLDocumentClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -40,20 +40,20 @@ class nsIDOMHTMLElement : public nsIDOMElement {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLELEMENT_IID; return iid; }
NS_IMETHOD GetId(nsAWritableString& aId)=0;
NS_IMETHOD SetId(const nsAReadableString& aId)=0;
NS_IMETHOD GetId(nsString& aId)=0;
NS_IMETHOD SetId(const nsString& aId)=0;
NS_IMETHOD GetTitle(nsAWritableString& aTitle)=0;
NS_IMETHOD SetTitle(const nsAReadableString& aTitle)=0;
NS_IMETHOD GetTitle(nsString& aTitle)=0;
NS_IMETHOD SetTitle(const nsString& aTitle)=0;
NS_IMETHOD GetLang(nsAWritableString& aLang)=0;
NS_IMETHOD SetLang(const nsAReadableString& aLang)=0;
NS_IMETHOD GetLang(nsString& aLang)=0;
NS_IMETHOD SetLang(const nsString& aLang)=0;
NS_IMETHOD GetDir(nsAWritableString& aDir)=0;
NS_IMETHOD SetDir(const nsAReadableString& aDir)=0;
NS_IMETHOD GetDir(nsString& aDir)=0;
NS_IMETHOD SetDir(const nsString& aDir)=0;
NS_IMETHOD GetClassName(nsAWritableString& aClassName)=0;
NS_IMETHOD SetClassName(const nsAReadableString& aClassName)=0;
NS_IMETHOD GetClassName(nsString& aClassName)=0;
NS_IMETHOD SetClassName(const nsString& aClassName)=0;
NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration** aStyle)=0;
@ -67,52 +67,52 @@ public:
NS_IMETHOD GetOffsetParent(nsIDOMElement** aOffsetParent)=0;
NS_IMETHOD GetInnerHTML(nsAWritableString& aInnerHTML)=0;
NS_IMETHOD SetInnerHTML(const nsAReadableString& aInnerHTML)=0;
NS_IMETHOD GetInnerHTML(nsString& aInnerHTML)=0;
NS_IMETHOD SetInnerHTML(const nsString& aInnerHTML)=0;
};
#define NS_DECL_IDOMHTMLELEMENT \
NS_IMETHOD GetId(nsAWritableString& aId); \
NS_IMETHOD SetId(const nsAReadableString& aId); \
NS_IMETHOD GetTitle(nsAWritableString& aTitle); \
NS_IMETHOD SetTitle(const nsAReadableString& aTitle); \
NS_IMETHOD GetLang(nsAWritableString& aLang); \
NS_IMETHOD SetLang(const nsAReadableString& aLang); \
NS_IMETHOD GetDir(nsAWritableString& aDir); \
NS_IMETHOD SetDir(const nsAReadableString& aDir); \
NS_IMETHOD GetClassName(nsAWritableString& aClassName); \
NS_IMETHOD SetClassName(const nsAReadableString& aClassName); \
NS_IMETHOD GetId(nsString& aId); \
NS_IMETHOD SetId(const nsString& aId); \
NS_IMETHOD GetTitle(nsString& aTitle); \
NS_IMETHOD SetTitle(const nsString& aTitle); \
NS_IMETHOD GetLang(nsString& aLang); \
NS_IMETHOD SetLang(const nsString& aLang); \
NS_IMETHOD GetDir(nsString& aDir); \
NS_IMETHOD SetDir(const nsString& aDir); \
NS_IMETHOD GetClassName(nsString& aClassName); \
NS_IMETHOD SetClassName(const nsString& aClassName); \
NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration** aStyle); \
NS_IMETHOD GetOffsetTop(PRInt32* aOffsetTop); \
NS_IMETHOD GetOffsetLeft(PRInt32* aOffsetLeft); \
NS_IMETHOD GetOffsetWidth(PRInt32* aOffsetWidth); \
NS_IMETHOD GetOffsetHeight(PRInt32* aOffsetHeight); \
NS_IMETHOD GetOffsetParent(nsIDOMElement** aOffsetParent); \
NS_IMETHOD GetInnerHTML(nsAWritableString& aInnerHTML); \
NS_IMETHOD SetInnerHTML(const nsAReadableString& aInnerHTML); \
NS_IMETHOD GetInnerHTML(nsString& aInnerHTML); \
NS_IMETHOD SetInnerHTML(const nsString& aInnerHTML); \
#define NS_FORWARD_IDOMHTMLELEMENT(_to) \
NS_IMETHOD GetId(nsAWritableString& aId) { return _to GetId(aId); } \
NS_IMETHOD SetId(const nsAReadableString& aId) { return _to SetId(aId); } \
NS_IMETHOD GetTitle(nsAWritableString& aTitle) { return _to GetTitle(aTitle); } \
NS_IMETHOD SetTitle(const nsAReadableString& aTitle) { return _to SetTitle(aTitle); } \
NS_IMETHOD GetLang(nsAWritableString& aLang) { return _to GetLang(aLang); } \
NS_IMETHOD SetLang(const nsAReadableString& aLang) { return _to SetLang(aLang); } \
NS_IMETHOD GetDir(nsAWritableString& aDir) { return _to GetDir(aDir); } \
NS_IMETHOD SetDir(const nsAReadableString& aDir) { return _to SetDir(aDir); } \
NS_IMETHOD GetClassName(nsAWritableString& aClassName) { return _to GetClassName(aClassName); } \
NS_IMETHOD SetClassName(const nsAReadableString& aClassName) { return _to SetClassName(aClassName); } \
NS_IMETHOD GetId(nsString& aId) { return _to GetId(aId); } \
NS_IMETHOD SetId(const nsString& aId) { return _to SetId(aId); } \
NS_IMETHOD GetTitle(nsString& aTitle) { return _to GetTitle(aTitle); } \
NS_IMETHOD SetTitle(const nsString& aTitle) { return _to SetTitle(aTitle); } \
NS_IMETHOD GetLang(nsString& aLang) { return _to GetLang(aLang); } \
NS_IMETHOD SetLang(const nsString& aLang) { return _to SetLang(aLang); } \
NS_IMETHOD GetDir(nsString& aDir) { return _to GetDir(aDir); } \
NS_IMETHOD SetDir(const nsString& aDir) { return _to SetDir(aDir); } \
NS_IMETHOD GetClassName(nsString& aClassName) { return _to GetClassName(aClassName); } \
NS_IMETHOD SetClassName(const nsString& aClassName) { return _to SetClassName(aClassName); } \
NS_IMETHOD GetStyle(nsIDOMCSSStyleDeclaration** aStyle) { return _to GetStyle(aStyle); } \
NS_IMETHOD GetOffsetTop(PRInt32* aOffsetTop) { return _to GetOffsetTop(aOffsetTop); } \
NS_IMETHOD GetOffsetLeft(PRInt32* aOffsetLeft) { return _to GetOffsetLeft(aOffsetLeft); } \
NS_IMETHOD GetOffsetWidth(PRInt32* aOffsetWidth) { return _to GetOffsetWidth(aOffsetWidth); } \
NS_IMETHOD GetOffsetHeight(PRInt32* aOffsetHeight) { return _to GetOffsetHeight(aOffsetHeight); } \
NS_IMETHOD GetOffsetParent(nsIDOMElement** aOffsetParent) { return _to GetOffsetParent(aOffsetParent); } \
NS_IMETHOD GetInnerHTML(nsAWritableString& aInnerHTML) { return _to GetInnerHTML(aInnerHTML); } \
NS_IMETHOD SetInnerHTML(const nsAReadableString& aInnerHTML) { return _to SetInnerHTML(aInnerHTML); } \
NS_IMETHOD GetInnerHTML(nsString& aInnerHTML) { return _to GetInnerHTML(aInnerHTML); } \
NS_IMETHOD SetInnerHTML(const nsString& aInnerHTML) { return _to SetInnerHTML(aInnerHTML); } \
extern "C" NS_DOM nsresult NS_InitHTMLElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -38,55 +38,55 @@ class nsIDOMHTMLEmbedElement : public nsIDOMHTMLElement {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLEMBEDELEMENT_IID; return iid; }
NS_IMETHOD GetAlign(nsAWritableString& aAlign)=0;
NS_IMETHOD SetAlign(const nsAReadableString& aAlign)=0;
NS_IMETHOD GetAlign(nsString& aAlign)=0;
NS_IMETHOD SetAlign(const nsString& aAlign)=0;
NS_IMETHOD GetHeight(nsAWritableString& aHeight)=0;
NS_IMETHOD SetHeight(const nsAReadableString& aHeight)=0;
NS_IMETHOD GetHeight(nsString& aHeight)=0;
NS_IMETHOD SetHeight(const nsString& aHeight)=0;
NS_IMETHOD GetName(nsAWritableString& aName)=0;
NS_IMETHOD SetName(const nsAReadableString& aName)=0;
NS_IMETHOD GetName(nsString& aName)=0;
NS_IMETHOD SetName(const nsString& aName)=0;
NS_IMETHOD GetSrc(nsAWritableString& aSrc)=0;
NS_IMETHOD SetSrc(const nsAReadableString& aSrc)=0;
NS_IMETHOD GetSrc(nsString& aSrc)=0;
NS_IMETHOD SetSrc(const nsString& aSrc)=0;
NS_IMETHOD GetType(nsAWritableString& aType)=0;
NS_IMETHOD SetType(const nsAReadableString& aType)=0;
NS_IMETHOD GetType(nsString& aType)=0;
NS_IMETHOD SetType(const nsString& aType)=0;
NS_IMETHOD GetWidth(nsAWritableString& aWidth)=0;
NS_IMETHOD SetWidth(const nsAReadableString& aWidth)=0;
NS_IMETHOD GetWidth(nsString& aWidth)=0;
NS_IMETHOD SetWidth(const nsString& aWidth)=0;
};
#define NS_DECL_IDOMHTMLEMBEDELEMENT \
NS_IMETHOD GetAlign(nsAWritableString& aAlign); \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign); \
NS_IMETHOD GetHeight(nsAWritableString& aHeight); \
NS_IMETHOD SetHeight(const nsAReadableString& aHeight); \
NS_IMETHOD GetName(nsAWritableString& aName); \
NS_IMETHOD SetName(const nsAReadableString& aName); \
NS_IMETHOD GetSrc(nsAWritableString& aSrc); \
NS_IMETHOD SetSrc(const nsAReadableString& aSrc); \
NS_IMETHOD GetType(nsAWritableString& aType); \
NS_IMETHOD SetType(const nsAReadableString& aType); \
NS_IMETHOD GetWidth(nsAWritableString& aWidth); \
NS_IMETHOD SetWidth(const nsAReadableString& aWidth); \
NS_IMETHOD GetAlign(nsString& aAlign); \
NS_IMETHOD SetAlign(const nsString& aAlign); \
NS_IMETHOD GetHeight(nsString& aHeight); \
NS_IMETHOD SetHeight(const nsString& aHeight); \
NS_IMETHOD GetName(nsString& aName); \
NS_IMETHOD SetName(const nsString& aName); \
NS_IMETHOD GetSrc(nsString& aSrc); \
NS_IMETHOD SetSrc(const nsString& aSrc); \
NS_IMETHOD GetType(nsString& aType); \
NS_IMETHOD SetType(const nsString& aType); \
NS_IMETHOD GetWidth(nsString& aWidth); \
NS_IMETHOD SetWidth(const nsString& aWidth); \
#define NS_FORWARD_IDOMHTMLEMBEDELEMENT(_to) \
NS_IMETHOD GetAlign(nsAWritableString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign) { return _to SetAlign(aAlign); } \
NS_IMETHOD GetHeight(nsAWritableString& aHeight) { return _to GetHeight(aHeight); } \
NS_IMETHOD SetHeight(const nsAReadableString& aHeight) { return _to SetHeight(aHeight); } \
NS_IMETHOD GetName(nsAWritableString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsAReadableString& aName) { return _to SetName(aName); } \
NS_IMETHOD GetSrc(nsAWritableString& aSrc) { return _to GetSrc(aSrc); } \
NS_IMETHOD SetSrc(const nsAReadableString& aSrc) { return _to SetSrc(aSrc); } \
NS_IMETHOD GetType(nsAWritableString& aType) { return _to GetType(aType); } \
NS_IMETHOD SetType(const nsAReadableString& aType) { return _to SetType(aType); } \
NS_IMETHOD GetWidth(nsAWritableString& aWidth) { return _to GetWidth(aWidth); } \
NS_IMETHOD SetWidth(const nsAReadableString& aWidth) { return _to SetWidth(aWidth); } \
NS_IMETHOD GetAlign(nsString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsString& aAlign) { return _to SetAlign(aAlign); } \
NS_IMETHOD GetHeight(nsString& aHeight) { return _to GetHeight(aHeight); } \
NS_IMETHOD SetHeight(const nsString& aHeight) { return _to SetHeight(aHeight); } \
NS_IMETHOD GetName(nsString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsString& aName) { return _to SetName(aName); } \
NS_IMETHOD GetSrc(nsString& aSrc) { return _to GetSrc(aSrc); } \
NS_IMETHOD SetSrc(const nsString& aSrc) { return _to SetSrc(aSrc); } \
NS_IMETHOD GetType(nsString& aType) { return _to GetType(aType); } \
NS_IMETHOD SetType(const nsString& aType) { return _to SetType(aType); } \
NS_IMETHOD GetWidth(nsString& aWidth) { return _to GetWidth(aWidth); } \
NS_IMETHOD SetWidth(const nsString& aWidth) { return _to SetWidth(aWidth); } \
extern "C" NS_DOM nsresult NS_InitHTMLEmbedElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -38,34 +38,34 @@ class nsIDOMHTMLFontElement : public nsIDOMHTMLElement {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLFONTELEMENT_IID; return iid; }
NS_IMETHOD GetColor(nsAWritableString& aColor)=0;
NS_IMETHOD SetColor(const nsAReadableString& aColor)=0;
NS_IMETHOD GetColor(nsString& aColor)=0;
NS_IMETHOD SetColor(const nsString& aColor)=0;
NS_IMETHOD GetFace(nsAWritableString& aFace)=0;
NS_IMETHOD SetFace(const nsAReadableString& aFace)=0;
NS_IMETHOD GetFace(nsString& aFace)=0;
NS_IMETHOD SetFace(const nsString& aFace)=0;
NS_IMETHOD GetSize(nsAWritableString& aSize)=0;
NS_IMETHOD SetSize(const nsAReadableString& aSize)=0;
NS_IMETHOD GetSize(nsString& aSize)=0;
NS_IMETHOD SetSize(const nsString& aSize)=0;
};
#define NS_DECL_IDOMHTMLFONTELEMENT \
NS_IMETHOD GetColor(nsAWritableString& aColor); \
NS_IMETHOD SetColor(const nsAReadableString& aColor); \
NS_IMETHOD GetFace(nsAWritableString& aFace); \
NS_IMETHOD SetFace(const nsAReadableString& aFace); \
NS_IMETHOD GetSize(nsAWritableString& aSize); \
NS_IMETHOD SetSize(const nsAReadableString& aSize); \
NS_IMETHOD GetColor(nsString& aColor); \
NS_IMETHOD SetColor(const nsString& aColor); \
NS_IMETHOD GetFace(nsString& aFace); \
NS_IMETHOD SetFace(const nsString& aFace); \
NS_IMETHOD GetSize(nsString& aSize); \
NS_IMETHOD SetSize(const nsString& aSize); \
#define NS_FORWARD_IDOMHTMLFONTELEMENT(_to) \
NS_IMETHOD GetColor(nsAWritableString& aColor) { return _to GetColor(aColor); } \
NS_IMETHOD SetColor(const nsAReadableString& aColor) { return _to SetColor(aColor); } \
NS_IMETHOD GetFace(nsAWritableString& aFace) { return _to GetFace(aFace); } \
NS_IMETHOD SetFace(const nsAReadableString& aFace) { return _to SetFace(aFace); } \
NS_IMETHOD GetSize(nsAWritableString& aSize) { return _to GetSize(aSize); } \
NS_IMETHOD SetSize(const nsAReadableString& aSize) { return _to SetSize(aSize); } \
NS_IMETHOD GetColor(nsString& aColor) { return _to GetColor(aColor); } \
NS_IMETHOD SetColor(const nsString& aColor) { return _to SetColor(aColor); } \
NS_IMETHOD GetFace(nsString& aFace) { return _to GetFace(aFace); } \
NS_IMETHOD SetFace(const nsString& aFace) { return _to SetFace(aFace); } \
NS_IMETHOD GetSize(nsString& aSize) { return _to GetSize(aSize); } \
NS_IMETHOD SetSize(const nsString& aSize) { return _to SetSize(aSize); } \
extern "C" NS_DOM nsresult NS_InitHTMLFontElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -43,23 +43,23 @@ public:
NS_IMETHOD GetLength(PRInt32* aLength)=0;
NS_IMETHOD GetName(nsAWritableString& aName)=0;
NS_IMETHOD SetName(const nsAReadableString& aName)=0;
NS_IMETHOD GetName(nsString& aName)=0;
NS_IMETHOD SetName(const nsString& aName)=0;
NS_IMETHOD GetAcceptCharset(nsAWritableString& aAcceptCharset)=0;
NS_IMETHOD SetAcceptCharset(const nsAReadableString& aAcceptCharset)=0;
NS_IMETHOD GetAcceptCharset(nsString& aAcceptCharset)=0;
NS_IMETHOD SetAcceptCharset(const nsString& aAcceptCharset)=0;
NS_IMETHOD GetAction(nsAWritableString& aAction)=0;
NS_IMETHOD SetAction(const nsAReadableString& aAction)=0;
NS_IMETHOD GetAction(nsString& aAction)=0;
NS_IMETHOD SetAction(const nsString& aAction)=0;
NS_IMETHOD GetEnctype(nsAWritableString& aEnctype)=0;
NS_IMETHOD SetEnctype(const nsAReadableString& aEnctype)=0;
NS_IMETHOD GetEnctype(nsString& aEnctype)=0;
NS_IMETHOD SetEnctype(const nsString& aEnctype)=0;
NS_IMETHOD GetMethod(nsAWritableString& aMethod)=0;
NS_IMETHOD SetMethod(const nsAReadableString& aMethod)=0;
NS_IMETHOD GetMethod(nsString& aMethod)=0;
NS_IMETHOD SetMethod(const nsString& aMethod)=0;
NS_IMETHOD GetTarget(nsAWritableString& aTarget)=0;
NS_IMETHOD SetTarget(const nsAReadableString& aTarget)=0;
NS_IMETHOD GetTarget(nsString& aTarget)=0;
NS_IMETHOD SetTarget(const nsString& aTarget)=0;
NS_IMETHOD Submit()=0;
@ -70,18 +70,18 @@ public:
#define NS_DECL_IDOMHTMLFORMELEMENT \
NS_IMETHOD GetElements(nsIDOMHTMLCollection** aElements); \
NS_IMETHOD GetLength(PRInt32* aLength); \
NS_IMETHOD GetName(nsAWritableString& aName); \
NS_IMETHOD SetName(const nsAReadableString& aName); \
NS_IMETHOD GetAcceptCharset(nsAWritableString& aAcceptCharset); \
NS_IMETHOD SetAcceptCharset(const nsAReadableString& aAcceptCharset); \
NS_IMETHOD GetAction(nsAWritableString& aAction); \
NS_IMETHOD SetAction(const nsAReadableString& aAction); \
NS_IMETHOD GetEnctype(nsAWritableString& aEnctype); \
NS_IMETHOD SetEnctype(const nsAReadableString& aEnctype); \
NS_IMETHOD GetMethod(nsAWritableString& aMethod); \
NS_IMETHOD SetMethod(const nsAReadableString& aMethod); \
NS_IMETHOD GetTarget(nsAWritableString& aTarget); \
NS_IMETHOD SetTarget(const nsAReadableString& aTarget); \
NS_IMETHOD GetName(nsString& aName); \
NS_IMETHOD SetName(const nsString& aName); \
NS_IMETHOD GetAcceptCharset(nsString& aAcceptCharset); \
NS_IMETHOD SetAcceptCharset(const nsString& aAcceptCharset); \
NS_IMETHOD GetAction(nsString& aAction); \
NS_IMETHOD SetAction(const nsString& aAction); \
NS_IMETHOD GetEnctype(nsString& aEnctype); \
NS_IMETHOD SetEnctype(const nsString& aEnctype); \
NS_IMETHOD GetMethod(nsString& aMethod); \
NS_IMETHOD SetMethod(const nsString& aMethod); \
NS_IMETHOD GetTarget(nsString& aTarget); \
NS_IMETHOD SetTarget(const nsString& aTarget); \
NS_IMETHOD Submit(); \
NS_IMETHOD Reset(); \
@ -90,18 +90,18 @@ public:
#define NS_FORWARD_IDOMHTMLFORMELEMENT(_to) \
NS_IMETHOD GetElements(nsIDOMHTMLCollection** aElements) { return _to GetElements(aElements); } \
NS_IMETHOD GetLength(PRInt32* aLength) { return _to GetLength(aLength); } \
NS_IMETHOD GetName(nsAWritableString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsAReadableString& aName) { return _to SetName(aName); } \
NS_IMETHOD GetAcceptCharset(nsAWritableString& aAcceptCharset) { return _to GetAcceptCharset(aAcceptCharset); } \
NS_IMETHOD SetAcceptCharset(const nsAReadableString& aAcceptCharset) { return _to SetAcceptCharset(aAcceptCharset); } \
NS_IMETHOD GetAction(nsAWritableString& aAction) { return _to GetAction(aAction); } \
NS_IMETHOD SetAction(const nsAReadableString& aAction) { return _to SetAction(aAction); } \
NS_IMETHOD GetEnctype(nsAWritableString& aEnctype) { return _to GetEnctype(aEnctype); } \
NS_IMETHOD SetEnctype(const nsAReadableString& aEnctype) { return _to SetEnctype(aEnctype); } \
NS_IMETHOD GetMethod(nsAWritableString& aMethod) { return _to GetMethod(aMethod); } \
NS_IMETHOD SetMethod(const nsAReadableString& aMethod) { return _to SetMethod(aMethod); } \
NS_IMETHOD GetTarget(nsAWritableString& aTarget) { return _to GetTarget(aTarget); } \
NS_IMETHOD SetTarget(const nsAReadableString& aTarget) { return _to SetTarget(aTarget); } \
NS_IMETHOD GetName(nsString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsString& aName) { return _to SetName(aName); } \
NS_IMETHOD GetAcceptCharset(nsString& aAcceptCharset) { return _to GetAcceptCharset(aAcceptCharset); } \
NS_IMETHOD SetAcceptCharset(const nsString& aAcceptCharset) { return _to SetAcceptCharset(aAcceptCharset); } \
NS_IMETHOD GetAction(nsString& aAction) { return _to GetAction(aAction); } \
NS_IMETHOD SetAction(const nsString& aAction) { return _to SetAction(aAction); } \
NS_IMETHOD GetEnctype(nsString& aEnctype) { return _to GetEnctype(aEnctype); } \
NS_IMETHOD SetEnctype(const nsString& aEnctype) { return _to SetEnctype(aEnctype); } \
NS_IMETHOD GetMethod(nsString& aMethod) { return _to GetMethod(aMethod); } \
NS_IMETHOD SetMethod(const nsString& aMethod) { return _to SetMethod(aMethod); } \
NS_IMETHOD GetTarget(nsString& aTarget) { return _to GetTarget(aTarget); } \
NS_IMETHOD SetTarget(const nsString& aTarget) { return _to SetTarget(aTarget); } \
NS_IMETHOD Submit() { return _to Submit(); } \
NS_IMETHOD Reset() { return _to Reset(); } \

Просмотреть файл

@ -39,29 +39,29 @@ class nsIDOMHTMLFrameElement : public nsIDOMHTMLElement {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLFRAMEELEMENT_IID; return iid; }
NS_IMETHOD GetFrameBorder(nsAWritableString& aFrameBorder)=0;
NS_IMETHOD SetFrameBorder(const nsAReadableString& aFrameBorder)=0;
NS_IMETHOD GetFrameBorder(nsString& aFrameBorder)=0;
NS_IMETHOD SetFrameBorder(const nsString& aFrameBorder)=0;
NS_IMETHOD GetLongDesc(nsAWritableString& aLongDesc)=0;
NS_IMETHOD SetLongDesc(const nsAReadableString& aLongDesc)=0;
NS_IMETHOD GetLongDesc(nsString& aLongDesc)=0;
NS_IMETHOD SetLongDesc(const nsString& aLongDesc)=0;
NS_IMETHOD GetMarginHeight(nsAWritableString& aMarginHeight)=0;
NS_IMETHOD SetMarginHeight(const nsAReadableString& aMarginHeight)=0;
NS_IMETHOD GetMarginHeight(nsString& aMarginHeight)=0;
NS_IMETHOD SetMarginHeight(const nsString& aMarginHeight)=0;
NS_IMETHOD GetMarginWidth(nsAWritableString& aMarginWidth)=0;
NS_IMETHOD SetMarginWidth(const nsAReadableString& aMarginWidth)=0;
NS_IMETHOD GetMarginWidth(nsString& aMarginWidth)=0;
NS_IMETHOD SetMarginWidth(const nsString& aMarginWidth)=0;
NS_IMETHOD GetName(nsAWritableString& aName)=0;
NS_IMETHOD SetName(const nsAReadableString& aName)=0;
NS_IMETHOD GetName(nsString& aName)=0;
NS_IMETHOD SetName(const nsString& aName)=0;
NS_IMETHOD GetNoResize(PRBool* aNoResize)=0;
NS_IMETHOD SetNoResize(PRBool aNoResize)=0;
NS_IMETHOD GetScrolling(nsAWritableString& aScrolling)=0;
NS_IMETHOD SetScrolling(const nsAReadableString& aScrolling)=0;
NS_IMETHOD GetScrolling(nsString& aScrolling)=0;
NS_IMETHOD SetScrolling(const nsString& aScrolling)=0;
NS_IMETHOD GetSrc(nsAWritableString& aSrc)=0;
NS_IMETHOD SetSrc(const nsAReadableString& aSrc)=0;
NS_IMETHOD GetSrc(nsString& aSrc)=0;
NS_IMETHOD SetSrc(const nsString& aSrc)=0;
NS_IMETHOD GetContentDocument(nsIDOMDocument** aContentDocument)=0;
NS_IMETHOD SetContentDocument(nsIDOMDocument* aContentDocument)=0;
@ -69,44 +69,44 @@ public:
#define NS_DECL_IDOMHTMLFRAMEELEMENT \
NS_IMETHOD GetFrameBorder(nsAWritableString& aFrameBorder); \
NS_IMETHOD SetFrameBorder(const nsAReadableString& aFrameBorder); \
NS_IMETHOD GetLongDesc(nsAWritableString& aLongDesc); \
NS_IMETHOD SetLongDesc(const nsAReadableString& aLongDesc); \
NS_IMETHOD GetMarginHeight(nsAWritableString& aMarginHeight); \
NS_IMETHOD SetMarginHeight(const nsAReadableString& aMarginHeight); \
NS_IMETHOD GetMarginWidth(nsAWritableString& aMarginWidth); \
NS_IMETHOD SetMarginWidth(const nsAReadableString& aMarginWidth); \
NS_IMETHOD GetName(nsAWritableString& aName); \
NS_IMETHOD SetName(const nsAReadableString& aName); \
NS_IMETHOD GetFrameBorder(nsString& aFrameBorder); \
NS_IMETHOD SetFrameBorder(const nsString& aFrameBorder); \
NS_IMETHOD GetLongDesc(nsString& aLongDesc); \
NS_IMETHOD SetLongDesc(const nsString& aLongDesc); \
NS_IMETHOD GetMarginHeight(nsString& aMarginHeight); \
NS_IMETHOD SetMarginHeight(const nsString& aMarginHeight); \
NS_IMETHOD GetMarginWidth(nsString& aMarginWidth); \
NS_IMETHOD SetMarginWidth(const nsString& aMarginWidth); \
NS_IMETHOD GetName(nsString& aName); \
NS_IMETHOD SetName(const nsString& aName); \
NS_IMETHOD GetNoResize(PRBool* aNoResize); \
NS_IMETHOD SetNoResize(PRBool aNoResize); \
NS_IMETHOD GetScrolling(nsAWritableString& aScrolling); \
NS_IMETHOD SetScrolling(const nsAReadableString& aScrolling); \
NS_IMETHOD GetSrc(nsAWritableString& aSrc); \
NS_IMETHOD SetSrc(const nsAReadableString& aSrc); \
NS_IMETHOD GetScrolling(nsString& aScrolling); \
NS_IMETHOD SetScrolling(const nsString& aScrolling); \
NS_IMETHOD GetSrc(nsString& aSrc); \
NS_IMETHOD SetSrc(const nsString& aSrc); \
NS_IMETHOD GetContentDocument(nsIDOMDocument** aContentDocument); \
NS_IMETHOD SetContentDocument(nsIDOMDocument* aContentDocument); \
#define NS_FORWARD_IDOMHTMLFRAMEELEMENT(_to) \
NS_IMETHOD GetFrameBorder(nsAWritableString& aFrameBorder) { return _to GetFrameBorder(aFrameBorder); } \
NS_IMETHOD SetFrameBorder(const nsAReadableString& aFrameBorder) { return _to SetFrameBorder(aFrameBorder); } \
NS_IMETHOD GetLongDesc(nsAWritableString& aLongDesc) { return _to GetLongDesc(aLongDesc); } \
NS_IMETHOD SetLongDesc(const nsAReadableString& aLongDesc) { return _to SetLongDesc(aLongDesc); } \
NS_IMETHOD GetMarginHeight(nsAWritableString& aMarginHeight) { return _to GetMarginHeight(aMarginHeight); } \
NS_IMETHOD SetMarginHeight(const nsAReadableString& aMarginHeight) { return _to SetMarginHeight(aMarginHeight); } \
NS_IMETHOD GetMarginWidth(nsAWritableString& aMarginWidth) { return _to GetMarginWidth(aMarginWidth); } \
NS_IMETHOD SetMarginWidth(const nsAReadableString& aMarginWidth) { return _to SetMarginWidth(aMarginWidth); } \
NS_IMETHOD GetName(nsAWritableString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsAReadableString& aName) { return _to SetName(aName); } \
NS_IMETHOD GetFrameBorder(nsString& aFrameBorder) { return _to GetFrameBorder(aFrameBorder); } \
NS_IMETHOD SetFrameBorder(const nsString& aFrameBorder) { return _to SetFrameBorder(aFrameBorder); } \
NS_IMETHOD GetLongDesc(nsString& aLongDesc) { return _to GetLongDesc(aLongDesc); } \
NS_IMETHOD SetLongDesc(const nsString& aLongDesc) { return _to SetLongDesc(aLongDesc); } \
NS_IMETHOD GetMarginHeight(nsString& aMarginHeight) { return _to GetMarginHeight(aMarginHeight); } \
NS_IMETHOD SetMarginHeight(const nsString& aMarginHeight) { return _to SetMarginHeight(aMarginHeight); } \
NS_IMETHOD GetMarginWidth(nsString& aMarginWidth) { return _to GetMarginWidth(aMarginWidth); } \
NS_IMETHOD SetMarginWidth(const nsString& aMarginWidth) { return _to SetMarginWidth(aMarginWidth); } \
NS_IMETHOD GetName(nsString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsString& aName) { return _to SetName(aName); } \
NS_IMETHOD GetNoResize(PRBool* aNoResize) { return _to GetNoResize(aNoResize); } \
NS_IMETHOD SetNoResize(PRBool aNoResize) { return _to SetNoResize(aNoResize); } \
NS_IMETHOD GetScrolling(nsAWritableString& aScrolling) { return _to GetScrolling(aScrolling); } \
NS_IMETHOD SetScrolling(const nsAReadableString& aScrolling) { return _to SetScrolling(aScrolling); } \
NS_IMETHOD GetSrc(nsAWritableString& aSrc) { return _to GetSrc(aSrc); } \
NS_IMETHOD SetSrc(const nsAReadableString& aSrc) { return _to SetSrc(aSrc); } \
NS_IMETHOD GetScrolling(nsString& aScrolling) { return _to GetScrolling(aScrolling); } \
NS_IMETHOD SetScrolling(const nsString& aScrolling) { return _to SetScrolling(aScrolling); } \
NS_IMETHOD GetSrc(nsString& aSrc) { return _to GetSrc(aSrc); } \
NS_IMETHOD SetSrc(const nsString& aSrc) { return _to SetSrc(aSrc); } \
NS_IMETHOD GetContentDocument(nsIDOMDocument** aContentDocument) { return _to GetContentDocument(aContentDocument); } \
NS_IMETHOD SetContentDocument(nsIDOMDocument* aContentDocument) { return _to SetContentDocument(aContentDocument); } \

Просмотреть файл

@ -38,27 +38,27 @@ class nsIDOMHTMLFrameSetElement : public nsIDOMHTMLElement {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLFRAMESETELEMENT_IID; return iid; }
NS_IMETHOD GetCols(nsAWritableString& aCols)=0;
NS_IMETHOD SetCols(const nsAReadableString& aCols)=0;
NS_IMETHOD GetCols(nsString& aCols)=0;
NS_IMETHOD SetCols(const nsString& aCols)=0;
NS_IMETHOD GetRows(nsAWritableString& aRows)=0;
NS_IMETHOD SetRows(const nsAReadableString& aRows)=0;
NS_IMETHOD GetRows(nsString& aRows)=0;
NS_IMETHOD SetRows(const nsString& aRows)=0;
};
#define NS_DECL_IDOMHTMLFRAMESETELEMENT \
NS_IMETHOD GetCols(nsAWritableString& aCols); \
NS_IMETHOD SetCols(const nsAReadableString& aCols); \
NS_IMETHOD GetRows(nsAWritableString& aRows); \
NS_IMETHOD SetRows(const nsAReadableString& aRows); \
NS_IMETHOD GetCols(nsString& aCols); \
NS_IMETHOD SetCols(const nsString& aCols); \
NS_IMETHOD GetRows(nsString& aRows); \
NS_IMETHOD SetRows(const nsString& aRows); \
#define NS_FORWARD_IDOMHTMLFRAMESETELEMENT(_to) \
NS_IMETHOD GetCols(nsAWritableString& aCols) { return _to GetCols(aCols); } \
NS_IMETHOD SetCols(const nsAReadableString& aCols) { return _to SetCols(aCols); } \
NS_IMETHOD GetRows(nsAWritableString& aRows) { return _to GetRows(aRows); } \
NS_IMETHOD SetRows(const nsAReadableString& aRows) { return _to SetRows(aRows); } \
NS_IMETHOD GetCols(nsString& aCols) { return _to GetCols(aCols); } \
NS_IMETHOD SetCols(const nsString& aCols) { return _to SetCols(aCols); } \
NS_IMETHOD GetRows(nsString& aRows) { return _to GetRows(aRows); } \
NS_IMETHOD SetRows(const nsString& aRows) { return _to SetRows(aRows); } \
extern "C" NS_DOM nsresult NS_InitHTMLFrameSetElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -38,41 +38,41 @@ class nsIDOMHTMLHRElement : public nsIDOMHTMLElement {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLHRELEMENT_IID; return iid; }
NS_IMETHOD GetAlign(nsAWritableString& aAlign)=0;
NS_IMETHOD SetAlign(const nsAReadableString& aAlign)=0;
NS_IMETHOD GetAlign(nsString& aAlign)=0;
NS_IMETHOD SetAlign(const nsString& aAlign)=0;
NS_IMETHOD GetNoShade(PRBool* aNoShade)=0;
NS_IMETHOD SetNoShade(PRBool aNoShade)=0;
NS_IMETHOD GetSize(nsAWritableString& aSize)=0;
NS_IMETHOD SetSize(const nsAReadableString& aSize)=0;
NS_IMETHOD GetSize(nsString& aSize)=0;
NS_IMETHOD SetSize(const nsString& aSize)=0;
NS_IMETHOD GetWidth(nsAWritableString& aWidth)=0;
NS_IMETHOD SetWidth(const nsAReadableString& aWidth)=0;
NS_IMETHOD GetWidth(nsString& aWidth)=0;
NS_IMETHOD SetWidth(const nsString& aWidth)=0;
};
#define NS_DECL_IDOMHTMLHRELEMENT \
NS_IMETHOD GetAlign(nsAWritableString& aAlign); \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign); \
NS_IMETHOD GetAlign(nsString& aAlign); \
NS_IMETHOD SetAlign(const nsString& aAlign); \
NS_IMETHOD GetNoShade(PRBool* aNoShade); \
NS_IMETHOD SetNoShade(PRBool aNoShade); \
NS_IMETHOD GetSize(nsAWritableString& aSize); \
NS_IMETHOD SetSize(const nsAReadableString& aSize); \
NS_IMETHOD GetWidth(nsAWritableString& aWidth); \
NS_IMETHOD SetWidth(const nsAReadableString& aWidth); \
NS_IMETHOD GetSize(nsString& aSize); \
NS_IMETHOD SetSize(const nsString& aSize); \
NS_IMETHOD GetWidth(nsString& aWidth); \
NS_IMETHOD SetWidth(const nsString& aWidth); \
#define NS_FORWARD_IDOMHTMLHRELEMENT(_to) \
NS_IMETHOD GetAlign(nsAWritableString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign) { return _to SetAlign(aAlign); } \
NS_IMETHOD GetAlign(nsString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsString& aAlign) { return _to SetAlign(aAlign); } \
NS_IMETHOD GetNoShade(PRBool* aNoShade) { return _to GetNoShade(aNoShade); } \
NS_IMETHOD SetNoShade(PRBool aNoShade) { return _to SetNoShade(aNoShade); } \
NS_IMETHOD GetSize(nsAWritableString& aSize) { return _to GetSize(aSize); } \
NS_IMETHOD SetSize(const nsAReadableString& aSize) { return _to SetSize(aSize); } \
NS_IMETHOD GetWidth(nsAWritableString& aWidth) { return _to GetWidth(aWidth); } \
NS_IMETHOD SetWidth(const nsAReadableString& aWidth) { return _to SetWidth(aWidth); } \
NS_IMETHOD GetSize(nsString& aSize) { return _to GetSize(aSize); } \
NS_IMETHOD SetSize(const nsString& aSize) { return _to SetSize(aSize); } \
NS_IMETHOD GetWidth(nsString& aWidth) { return _to GetWidth(aWidth); } \
NS_IMETHOD SetWidth(const nsString& aWidth) { return _to SetWidth(aWidth); } \
extern "C" NS_DOM nsresult NS_InitHTMLHRElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -38,20 +38,20 @@ class nsIDOMHTMLHeadElement : public nsIDOMHTMLElement {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLHEADELEMENT_IID; return iid; }
NS_IMETHOD GetProfile(nsAWritableString& aProfile)=0;
NS_IMETHOD SetProfile(const nsAReadableString& aProfile)=0;
NS_IMETHOD GetProfile(nsString& aProfile)=0;
NS_IMETHOD SetProfile(const nsString& aProfile)=0;
};
#define NS_DECL_IDOMHTMLHEADELEMENT \
NS_IMETHOD GetProfile(nsAWritableString& aProfile); \
NS_IMETHOD SetProfile(const nsAReadableString& aProfile); \
NS_IMETHOD GetProfile(nsString& aProfile); \
NS_IMETHOD SetProfile(const nsString& aProfile); \
#define NS_FORWARD_IDOMHTMLHEADELEMENT(_to) \
NS_IMETHOD GetProfile(nsAWritableString& aProfile) { return _to GetProfile(aProfile); } \
NS_IMETHOD SetProfile(const nsAReadableString& aProfile) { return _to SetProfile(aProfile); } \
NS_IMETHOD GetProfile(nsString& aProfile) { return _to GetProfile(aProfile); } \
NS_IMETHOD SetProfile(const nsString& aProfile) { return _to SetProfile(aProfile); } \
extern "C" NS_DOM nsresult NS_InitHTMLHeadElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -38,20 +38,20 @@ class nsIDOMHTMLHeadingElement : public nsIDOMHTMLElement {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLHEADINGELEMENT_IID; return iid; }
NS_IMETHOD GetAlign(nsAWritableString& aAlign)=0;
NS_IMETHOD SetAlign(const nsAReadableString& aAlign)=0;
NS_IMETHOD GetAlign(nsString& aAlign)=0;
NS_IMETHOD SetAlign(const nsString& aAlign)=0;
};
#define NS_DECL_IDOMHTMLHEADINGELEMENT \
NS_IMETHOD GetAlign(nsAWritableString& aAlign); \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign); \
NS_IMETHOD GetAlign(nsString& aAlign); \
NS_IMETHOD SetAlign(const nsString& aAlign); \
#define NS_FORWARD_IDOMHTMLHEADINGELEMENT(_to) \
NS_IMETHOD GetAlign(nsAWritableString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign) { return _to SetAlign(aAlign); } \
NS_IMETHOD GetAlign(nsString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsString& aAlign) { return _to SetAlign(aAlign); } \
extern "C" NS_DOM nsresult NS_InitHTMLHeadingElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -38,20 +38,20 @@ class nsIDOMHTMLHtmlElement : public nsIDOMHTMLElement {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLHTMLELEMENT_IID; return iid; }
NS_IMETHOD GetVersion(nsAWritableString& aVersion)=0;
NS_IMETHOD SetVersion(const nsAReadableString& aVersion)=0;
NS_IMETHOD GetVersion(nsString& aVersion)=0;
NS_IMETHOD SetVersion(const nsString& aVersion)=0;
};
#define NS_DECL_IDOMHTMLHTMLELEMENT \
NS_IMETHOD GetVersion(nsAWritableString& aVersion); \
NS_IMETHOD SetVersion(const nsAReadableString& aVersion); \
NS_IMETHOD GetVersion(nsString& aVersion); \
NS_IMETHOD SetVersion(const nsString& aVersion); \
#define NS_FORWARD_IDOMHTMLHTMLELEMENT(_to) \
NS_IMETHOD GetVersion(nsAWritableString& aVersion) { return _to GetVersion(aVersion); } \
NS_IMETHOD SetVersion(const nsAReadableString& aVersion) { return _to SetVersion(aVersion); } \
NS_IMETHOD GetVersion(nsString& aVersion) { return _to GetVersion(aVersion); } \
NS_IMETHOD SetVersion(const nsString& aVersion) { return _to SetVersion(aVersion); } \
extern "C" NS_DOM nsresult NS_InitHTMLHtmlElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -39,35 +39,35 @@ class nsIDOMHTMLIFrameElement : public nsIDOMHTMLElement {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLIFRAMEELEMENT_IID; return iid; }
NS_IMETHOD GetAlign(nsAWritableString& aAlign)=0;
NS_IMETHOD SetAlign(const nsAReadableString& aAlign)=0;
NS_IMETHOD GetAlign(nsString& aAlign)=0;
NS_IMETHOD SetAlign(const nsString& aAlign)=0;
NS_IMETHOD GetFrameBorder(nsAWritableString& aFrameBorder)=0;
NS_IMETHOD SetFrameBorder(const nsAReadableString& aFrameBorder)=0;
NS_IMETHOD GetFrameBorder(nsString& aFrameBorder)=0;
NS_IMETHOD SetFrameBorder(const nsString& aFrameBorder)=0;
NS_IMETHOD GetHeight(nsAWritableString& aHeight)=0;
NS_IMETHOD SetHeight(const nsAReadableString& aHeight)=0;
NS_IMETHOD GetHeight(nsString& aHeight)=0;
NS_IMETHOD SetHeight(const nsString& aHeight)=0;
NS_IMETHOD GetLongDesc(nsAWritableString& aLongDesc)=0;
NS_IMETHOD SetLongDesc(const nsAReadableString& aLongDesc)=0;
NS_IMETHOD GetLongDesc(nsString& aLongDesc)=0;
NS_IMETHOD SetLongDesc(const nsString& aLongDesc)=0;
NS_IMETHOD GetMarginHeight(nsAWritableString& aMarginHeight)=0;
NS_IMETHOD SetMarginHeight(const nsAReadableString& aMarginHeight)=0;
NS_IMETHOD GetMarginHeight(nsString& aMarginHeight)=0;
NS_IMETHOD SetMarginHeight(const nsString& aMarginHeight)=0;
NS_IMETHOD GetMarginWidth(nsAWritableString& aMarginWidth)=0;
NS_IMETHOD SetMarginWidth(const nsAReadableString& aMarginWidth)=0;
NS_IMETHOD GetMarginWidth(nsString& aMarginWidth)=0;
NS_IMETHOD SetMarginWidth(const nsString& aMarginWidth)=0;
NS_IMETHOD GetName(nsAWritableString& aName)=0;
NS_IMETHOD SetName(const nsAReadableString& aName)=0;
NS_IMETHOD GetName(nsString& aName)=0;
NS_IMETHOD SetName(const nsString& aName)=0;
NS_IMETHOD GetScrolling(nsAWritableString& aScrolling)=0;
NS_IMETHOD SetScrolling(const nsAReadableString& aScrolling)=0;
NS_IMETHOD GetScrolling(nsString& aScrolling)=0;
NS_IMETHOD SetScrolling(const nsString& aScrolling)=0;
NS_IMETHOD GetSrc(nsAWritableString& aSrc)=0;
NS_IMETHOD SetSrc(const nsAReadableString& aSrc)=0;
NS_IMETHOD GetSrc(nsString& aSrc)=0;
NS_IMETHOD SetSrc(const nsString& aSrc)=0;
NS_IMETHOD GetWidth(nsAWritableString& aWidth)=0;
NS_IMETHOD SetWidth(const nsAReadableString& aWidth)=0;
NS_IMETHOD GetWidth(nsString& aWidth)=0;
NS_IMETHOD SetWidth(const nsString& aWidth)=0;
NS_IMETHOD GetContentDocument(nsIDOMDocument** aContentDocument)=0;
NS_IMETHOD SetContentDocument(nsIDOMDocument* aContentDocument)=0;
@ -75,52 +75,52 @@ public:
#define NS_DECL_IDOMHTMLIFRAMEELEMENT \
NS_IMETHOD GetAlign(nsAWritableString& aAlign); \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign); \
NS_IMETHOD GetFrameBorder(nsAWritableString& aFrameBorder); \
NS_IMETHOD SetFrameBorder(const nsAReadableString& aFrameBorder); \
NS_IMETHOD GetHeight(nsAWritableString& aHeight); \
NS_IMETHOD SetHeight(const nsAReadableString& aHeight); \
NS_IMETHOD GetLongDesc(nsAWritableString& aLongDesc); \
NS_IMETHOD SetLongDesc(const nsAReadableString& aLongDesc); \
NS_IMETHOD GetMarginHeight(nsAWritableString& aMarginHeight); \
NS_IMETHOD SetMarginHeight(const nsAReadableString& aMarginHeight); \
NS_IMETHOD GetMarginWidth(nsAWritableString& aMarginWidth); \
NS_IMETHOD SetMarginWidth(const nsAReadableString& aMarginWidth); \
NS_IMETHOD GetName(nsAWritableString& aName); \
NS_IMETHOD SetName(const nsAReadableString& aName); \
NS_IMETHOD GetScrolling(nsAWritableString& aScrolling); \
NS_IMETHOD SetScrolling(const nsAReadableString& aScrolling); \
NS_IMETHOD GetSrc(nsAWritableString& aSrc); \
NS_IMETHOD SetSrc(const nsAReadableString& aSrc); \
NS_IMETHOD GetWidth(nsAWritableString& aWidth); \
NS_IMETHOD SetWidth(const nsAReadableString& aWidth); \
NS_IMETHOD GetAlign(nsString& aAlign); \
NS_IMETHOD SetAlign(const nsString& aAlign); \
NS_IMETHOD GetFrameBorder(nsString& aFrameBorder); \
NS_IMETHOD SetFrameBorder(const nsString& aFrameBorder); \
NS_IMETHOD GetHeight(nsString& aHeight); \
NS_IMETHOD SetHeight(const nsString& aHeight); \
NS_IMETHOD GetLongDesc(nsString& aLongDesc); \
NS_IMETHOD SetLongDesc(const nsString& aLongDesc); \
NS_IMETHOD GetMarginHeight(nsString& aMarginHeight); \
NS_IMETHOD SetMarginHeight(const nsString& aMarginHeight); \
NS_IMETHOD GetMarginWidth(nsString& aMarginWidth); \
NS_IMETHOD SetMarginWidth(const nsString& aMarginWidth); \
NS_IMETHOD GetName(nsString& aName); \
NS_IMETHOD SetName(const nsString& aName); \
NS_IMETHOD GetScrolling(nsString& aScrolling); \
NS_IMETHOD SetScrolling(const nsString& aScrolling); \
NS_IMETHOD GetSrc(nsString& aSrc); \
NS_IMETHOD SetSrc(const nsString& aSrc); \
NS_IMETHOD GetWidth(nsString& aWidth); \
NS_IMETHOD SetWidth(const nsString& aWidth); \
NS_IMETHOD GetContentDocument(nsIDOMDocument** aContentDocument); \
NS_IMETHOD SetContentDocument(nsIDOMDocument* aContentDocument); \
#define NS_FORWARD_IDOMHTMLIFRAMEELEMENT(_to) \
NS_IMETHOD GetAlign(nsAWritableString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign) { return _to SetAlign(aAlign); } \
NS_IMETHOD GetFrameBorder(nsAWritableString& aFrameBorder) { return _to GetFrameBorder(aFrameBorder); } \
NS_IMETHOD SetFrameBorder(const nsAReadableString& aFrameBorder) { return _to SetFrameBorder(aFrameBorder); } \
NS_IMETHOD GetHeight(nsAWritableString& aHeight) { return _to GetHeight(aHeight); } \
NS_IMETHOD SetHeight(const nsAReadableString& aHeight) { return _to SetHeight(aHeight); } \
NS_IMETHOD GetLongDesc(nsAWritableString& aLongDesc) { return _to GetLongDesc(aLongDesc); } \
NS_IMETHOD SetLongDesc(const nsAReadableString& aLongDesc) { return _to SetLongDesc(aLongDesc); } \
NS_IMETHOD GetMarginHeight(nsAWritableString& aMarginHeight) { return _to GetMarginHeight(aMarginHeight); } \
NS_IMETHOD SetMarginHeight(const nsAReadableString& aMarginHeight) { return _to SetMarginHeight(aMarginHeight); } \
NS_IMETHOD GetMarginWidth(nsAWritableString& aMarginWidth) { return _to GetMarginWidth(aMarginWidth); } \
NS_IMETHOD SetMarginWidth(const nsAReadableString& aMarginWidth) { return _to SetMarginWidth(aMarginWidth); } \
NS_IMETHOD GetName(nsAWritableString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsAReadableString& aName) { return _to SetName(aName); } \
NS_IMETHOD GetScrolling(nsAWritableString& aScrolling) { return _to GetScrolling(aScrolling); } \
NS_IMETHOD SetScrolling(const nsAReadableString& aScrolling) { return _to SetScrolling(aScrolling); } \
NS_IMETHOD GetSrc(nsAWritableString& aSrc) { return _to GetSrc(aSrc); } \
NS_IMETHOD SetSrc(const nsAReadableString& aSrc) { return _to SetSrc(aSrc); } \
NS_IMETHOD GetWidth(nsAWritableString& aWidth) { return _to GetWidth(aWidth); } \
NS_IMETHOD SetWidth(const nsAReadableString& aWidth) { return _to SetWidth(aWidth); } \
NS_IMETHOD GetAlign(nsString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsString& aAlign) { return _to SetAlign(aAlign); } \
NS_IMETHOD GetFrameBorder(nsString& aFrameBorder) { return _to GetFrameBorder(aFrameBorder); } \
NS_IMETHOD SetFrameBorder(const nsString& aFrameBorder) { return _to SetFrameBorder(aFrameBorder); } \
NS_IMETHOD GetHeight(nsString& aHeight) { return _to GetHeight(aHeight); } \
NS_IMETHOD SetHeight(const nsString& aHeight) { return _to SetHeight(aHeight); } \
NS_IMETHOD GetLongDesc(nsString& aLongDesc) { return _to GetLongDesc(aLongDesc); } \
NS_IMETHOD SetLongDesc(const nsString& aLongDesc) { return _to SetLongDesc(aLongDesc); } \
NS_IMETHOD GetMarginHeight(nsString& aMarginHeight) { return _to GetMarginHeight(aMarginHeight); } \
NS_IMETHOD SetMarginHeight(const nsString& aMarginHeight) { return _to SetMarginHeight(aMarginHeight); } \
NS_IMETHOD GetMarginWidth(nsString& aMarginWidth) { return _to GetMarginWidth(aMarginWidth); } \
NS_IMETHOD SetMarginWidth(const nsString& aMarginWidth) { return _to SetMarginWidth(aMarginWidth); } \
NS_IMETHOD GetName(nsString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsString& aName) { return _to SetName(aName); } \
NS_IMETHOD GetScrolling(nsString& aScrolling) { return _to GetScrolling(aScrolling); } \
NS_IMETHOD SetScrolling(const nsString& aScrolling) { return _to SetScrolling(aScrolling); } \
NS_IMETHOD GetSrc(nsString& aSrc) { return _to GetSrc(aSrc); } \
NS_IMETHOD SetSrc(const nsString& aSrc) { return _to SetSrc(aSrc); } \
NS_IMETHOD GetWidth(nsString& aWidth) { return _to GetWidth(aWidth); } \
NS_IMETHOD SetWidth(const nsString& aWidth) { return _to SetWidth(aWidth); } \
NS_IMETHOD GetContentDocument(nsIDOMDocument** aContentDocument) { return _to GetContentDocument(aContentDocument); } \
NS_IMETHOD SetContentDocument(nsIDOMDocument* aContentDocument) { return _to SetContentDocument(aContentDocument); } \

Просмотреть файл

@ -38,104 +38,104 @@ class nsIDOMHTMLImageElement : public nsIDOMHTMLElement {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLIMAGEELEMENT_IID; return iid; }
NS_IMETHOD GetLowSrc(nsAWritableString& aLowSrc)=0;
NS_IMETHOD SetLowSrc(const nsAReadableString& aLowSrc)=0;
NS_IMETHOD GetLowSrc(nsString& aLowSrc)=0;
NS_IMETHOD SetLowSrc(const nsString& aLowSrc)=0;
NS_IMETHOD GetName(nsAWritableString& aName)=0;
NS_IMETHOD SetName(const nsAReadableString& aName)=0;
NS_IMETHOD GetName(nsString& aName)=0;
NS_IMETHOD SetName(const nsString& aName)=0;
NS_IMETHOD GetAlign(nsAWritableString& aAlign)=0;
NS_IMETHOD SetAlign(const nsAReadableString& aAlign)=0;
NS_IMETHOD GetAlign(nsString& aAlign)=0;
NS_IMETHOD SetAlign(const nsString& aAlign)=0;
NS_IMETHOD GetAlt(nsAWritableString& aAlt)=0;
NS_IMETHOD SetAlt(const nsAReadableString& aAlt)=0;
NS_IMETHOD GetAlt(nsString& aAlt)=0;
NS_IMETHOD SetAlt(const nsString& aAlt)=0;
NS_IMETHOD GetBorder(nsAWritableString& aBorder)=0;
NS_IMETHOD SetBorder(const nsAReadableString& aBorder)=0;
NS_IMETHOD GetBorder(nsString& aBorder)=0;
NS_IMETHOD SetBorder(const nsString& aBorder)=0;
NS_IMETHOD GetHeight(nsAWritableString& aHeight)=0;
NS_IMETHOD SetHeight(const nsAReadableString& aHeight)=0;
NS_IMETHOD GetHeight(nsString& aHeight)=0;
NS_IMETHOD SetHeight(const nsString& aHeight)=0;
NS_IMETHOD GetHspace(nsAWritableString& aHspace)=0;
NS_IMETHOD SetHspace(const nsAReadableString& aHspace)=0;
NS_IMETHOD GetHspace(nsString& aHspace)=0;
NS_IMETHOD SetHspace(const nsString& aHspace)=0;
NS_IMETHOD GetIsMap(PRBool* aIsMap)=0;
NS_IMETHOD SetIsMap(PRBool aIsMap)=0;
NS_IMETHOD GetLongDesc(nsAWritableString& aLongDesc)=0;
NS_IMETHOD SetLongDesc(const nsAReadableString& aLongDesc)=0;
NS_IMETHOD GetLongDesc(nsString& aLongDesc)=0;
NS_IMETHOD SetLongDesc(const nsString& aLongDesc)=0;
NS_IMETHOD GetSrc(nsAWritableString& aSrc)=0;
NS_IMETHOD SetSrc(const nsAReadableString& aSrc)=0;
NS_IMETHOD GetSrc(nsString& aSrc)=0;
NS_IMETHOD SetSrc(const nsString& aSrc)=0;
NS_IMETHOD GetVspace(nsAWritableString& aVspace)=0;
NS_IMETHOD SetVspace(const nsAReadableString& aVspace)=0;
NS_IMETHOD GetVspace(nsString& aVspace)=0;
NS_IMETHOD SetVspace(const nsString& aVspace)=0;
NS_IMETHOD GetWidth(nsAWritableString& aWidth)=0;
NS_IMETHOD SetWidth(const nsAReadableString& aWidth)=0;
NS_IMETHOD GetWidth(nsString& aWidth)=0;
NS_IMETHOD SetWidth(const nsString& aWidth)=0;
NS_IMETHOD GetUseMap(nsAWritableString& aUseMap)=0;
NS_IMETHOD SetUseMap(const nsAReadableString& aUseMap)=0;
NS_IMETHOD GetUseMap(nsString& aUseMap)=0;
NS_IMETHOD SetUseMap(const nsString& aUseMap)=0;
};
#define NS_DECL_IDOMHTMLIMAGEELEMENT \
NS_IMETHOD GetLowSrc(nsAWritableString& aLowSrc); \
NS_IMETHOD SetLowSrc(const nsAReadableString& aLowSrc); \
NS_IMETHOD GetName(nsAWritableString& aName); \
NS_IMETHOD SetName(const nsAReadableString& aName); \
NS_IMETHOD GetAlign(nsAWritableString& aAlign); \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign); \
NS_IMETHOD GetAlt(nsAWritableString& aAlt); \
NS_IMETHOD SetAlt(const nsAReadableString& aAlt); \
NS_IMETHOD GetBorder(nsAWritableString& aBorder); \
NS_IMETHOD SetBorder(const nsAReadableString& aBorder); \
NS_IMETHOD GetHeight(nsAWritableString& aHeight); \
NS_IMETHOD SetHeight(const nsAReadableString& aHeight); \
NS_IMETHOD GetHspace(nsAWritableString& aHspace); \
NS_IMETHOD SetHspace(const nsAReadableString& aHspace); \
NS_IMETHOD GetLowSrc(nsString& aLowSrc); \
NS_IMETHOD SetLowSrc(const nsString& aLowSrc); \
NS_IMETHOD GetName(nsString& aName); \
NS_IMETHOD SetName(const nsString& aName); \
NS_IMETHOD GetAlign(nsString& aAlign); \
NS_IMETHOD SetAlign(const nsString& aAlign); \
NS_IMETHOD GetAlt(nsString& aAlt); \
NS_IMETHOD SetAlt(const nsString& aAlt); \
NS_IMETHOD GetBorder(nsString& aBorder); \
NS_IMETHOD SetBorder(const nsString& aBorder); \
NS_IMETHOD GetHeight(nsString& aHeight); \
NS_IMETHOD SetHeight(const nsString& aHeight); \
NS_IMETHOD GetHspace(nsString& aHspace); \
NS_IMETHOD SetHspace(const nsString& aHspace); \
NS_IMETHOD GetIsMap(PRBool* aIsMap); \
NS_IMETHOD SetIsMap(PRBool aIsMap); \
NS_IMETHOD GetLongDesc(nsAWritableString& aLongDesc); \
NS_IMETHOD SetLongDesc(const nsAReadableString& aLongDesc); \
NS_IMETHOD GetSrc(nsAWritableString& aSrc); \
NS_IMETHOD SetSrc(const nsAReadableString& aSrc); \
NS_IMETHOD GetVspace(nsAWritableString& aVspace); \
NS_IMETHOD SetVspace(const nsAReadableString& aVspace); \
NS_IMETHOD GetWidth(nsAWritableString& aWidth); \
NS_IMETHOD SetWidth(const nsAReadableString& aWidth); \
NS_IMETHOD GetUseMap(nsAWritableString& aUseMap); \
NS_IMETHOD SetUseMap(const nsAReadableString& aUseMap); \
NS_IMETHOD GetLongDesc(nsString& aLongDesc); \
NS_IMETHOD SetLongDesc(const nsString& aLongDesc); \
NS_IMETHOD GetSrc(nsString& aSrc); \
NS_IMETHOD SetSrc(const nsString& aSrc); \
NS_IMETHOD GetVspace(nsString& aVspace); \
NS_IMETHOD SetVspace(const nsString& aVspace); \
NS_IMETHOD GetWidth(nsString& aWidth); \
NS_IMETHOD SetWidth(const nsString& aWidth); \
NS_IMETHOD GetUseMap(nsString& aUseMap); \
NS_IMETHOD SetUseMap(const nsString& aUseMap); \
#define NS_FORWARD_IDOMHTMLIMAGEELEMENT(_to) \
NS_IMETHOD GetLowSrc(nsAWritableString& aLowSrc) { return _to GetLowSrc(aLowSrc); } \
NS_IMETHOD SetLowSrc(const nsAReadableString& aLowSrc) { return _to SetLowSrc(aLowSrc); } \
NS_IMETHOD GetName(nsAWritableString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsAReadableString& aName) { return _to SetName(aName); } \
NS_IMETHOD GetAlign(nsAWritableString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign) { return _to SetAlign(aAlign); } \
NS_IMETHOD GetAlt(nsAWritableString& aAlt) { return _to GetAlt(aAlt); } \
NS_IMETHOD SetAlt(const nsAReadableString& aAlt) { return _to SetAlt(aAlt); } \
NS_IMETHOD GetBorder(nsAWritableString& aBorder) { return _to GetBorder(aBorder); } \
NS_IMETHOD SetBorder(const nsAReadableString& aBorder) { return _to SetBorder(aBorder); } \
NS_IMETHOD GetHeight(nsAWritableString& aHeight) { return _to GetHeight(aHeight); } \
NS_IMETHOD SetHeight(const nsAReadableString& aHeight) { return _to SetHeight(aHeight); } \
NS_IMETHOD GetHspace(nsAWritableString& aHspace) { return _to GetHspace(aHspace); } \
NS_IMETHOD SetHspace(const nsAReadableString& aHspace) { return _to SetHspace(aHspace); } \
NS_IMETHOD GetLowSrc(nsString& aLowSrc) { return _to GetLowSrc(aLowSrc); } \
NS_IMETHOD SetLowSrc(const nsString& aLowSrc) { return _to SetLowSrc(aLowSrc); } \
NS_IMETHOD GetName(nsString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsString& aName) { return _to SetName(aName); } \
NS_IMETHOD GetAlign(nsString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsString& aAlign) { return _to SetAlign(aAlign); } \
NS_IMETHOD GetAlt(nsString& aAlt) { return _to GetAlt(aAlt); } \
NS_IMETHOD SetAlt(const nsString& aAlt) { return _to SetAlt(aAlt); } \
NS_IMETHOD GetBorder(nsString& aBorder) { return _to GetBorder(aBorder); } \
NS_IMETHOD SetBorder(const nsString& aBorder) { return _to SetBorder(aBorder); } \
NS_IMETHOD GetHeight(nsString& aHeight) { return _to GetHeight(aHeight); } \
NS_IMETHOD SetHeight(const nsString& aHeight) { return _to SetHeight(aHeight); } \
NS_IMETHOD GetHspace(nsString& aHspace) { return _to GetHspace(aHspace); } \
NS_IMETHOD SetHspace(const nsString& aHspace) { return _to SetHspace(aHspace); } \
NS_IMETHOD GetIsMap(PRBool* aIsMap) { return _to GetIsMap(aIsMap); } \
NS_IMETHOD SetIsMap(PRBool aIsMap) { return _to SetIsMap(aIsMap); } \
NS_IMETHOD GetLongDesc(nsAWritableString& aLongDesc) { return _to GetLongDesc(aLongDesc); } \
NS_IMETHOD SetLongDesc(const nsAReadableString& aLongDesc) { return _to SetLongDesc(aLongDesc); } \
NS_IMETHOD GetSrc(nsAWritableString& aSrc) { return _to GetSrc(aSrc); } \
NS_IMETHOD SetSrc(const nsAReadableString& aSrc) { return _to SetSrc(aSrc); } \
NS_IMETHOD GetVspace(nsAWritableString& aVspace) { return _to GetVspace(aVspace); } \
NS_IMETHOD SetVspace(const nsAReadableString& aVspace) { return _to SetVspace(aVspace); } \
NS_IMETHOD GetWidth(nsAWritableString& aWidth) { return _to GetWidth(aWidth); } \
NS_IMETHOD SetWidth(const nsAReadableString& aWidth) { return _to SetWidth(aWidth); } \
NS_IMETHOD GetUseMap(nsAWritableString& aUseMap) { return _to GetUseMap(aUseMap); } \
NS_IMETHOD SetUseMap(const nsAReadableString& aUseMap) { return _to SetUseMap(aUseMap); } \
NS_IMETHOD GetLongDesc(nsString& aLongDesc) { return _to GetLongDesc(aLongDesc); } \
NS_IMETHOD SetLongDesc(const nsString& aLongDesc) { return _to SetLongDesc(aLongDesc); } \
NS_IMETHOD GetSrc(nsString& aSrc) { return _to GetSrc(aSrc); } \
NS_IMETHOD SetSrc(const nsString& aSrc) { return _to SetSrc(aSrc); } \
NS_IMETHOD GetVspace(nsString& aVspace) { return _to GetVspace(aVspace); } \
NS_IMETHOD SetVspace(const nsString& aVspace) { return _to SetVspace(aVspace); } \
NS_IMETHOD GetWidth(nsString& aWidth) { return _to GetWidth(aWidth); } \
NS_IMETHOD SetWidth(const nsString& aWidth) { return _to SetWidth(aWidth); } \
NS_IMETHOD GetUseMap(nsString& aUseMap) { return _to GetUseMap(aUseMap); } \
NS_IMETHOD SetUseMap(const nsString& aUseMap) { return _to SetUseMap(aUseMap); } \
extern "C" NS_DOM nsresult NS_InitHTMLImageElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -39,25 +39,25 @@ class nsIDOMHTMLInputElement : public nsIDOMHTMLElement {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLINPUTELEMENT_IID; return iid; }
NS_IMETHOD GetDefaultValue(nsAWritableString& aDefaultValue)=0;
NS_IMETHOD SetDefaultValue(const nsAReadableString& aDefaultValue)=0;
NS_IMETHOD GetDefaultValue(nsString& aDefaultValue)=0;
NS_IMETHOD SetDefaultValue(const nsString& aDefaultValue)=0;
NS_IMETHOD GetDefaultChecked(PRBool* aDefaultChecked)=0;
NS_IMETHOD SetDefaultChecked(PRBool aDefaultChecked)=0;
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm)=0;
NS_IMETHOD GetAccept(nsAWritableString& aAccept)=0;
NS_IMETHOD SetAccept(const nsAReadableString& aAccept)=0;
NS_IMETHOD GetAccept(nsString& aAccept)=0;
NS_IMETHOD SetAccept(const nsString& aAccept)=0;
NS_IMETHOD GetAccessKey(nsAWritableString& aAccessKey)=0;
NS_IMETHOD SetAccessKey(const nsAReadableString& aAccessKey)=0;
NS_IMETHOD GetAccessKey(nsString& aAccessKey)=0;
NS_IMETHOD SetAccessKey(const nsString& aAccessKey)=0;
NS_IMETHOD GetAlign(nsAWritableString& aAlign)=0;
NS_IMETHOD SetAlign(const nsAReadableString& aAlign)=0;
NS_IMETHOD GetAlign(nsString& aAlign)=0;
NS_IMETHOD SetAlign(const nsString& aAlign)=0;
NS_IMETHOD GetAlt(nsAWritableString& aAlt)=0;
NS_IMETHOD SetAlt(const nsAReadableString& aAlt)=0;
NS_IMETHOD GetAlt(nsString& aAlt)=0;
NS_IMETHOD SetAlt(const nsString& aAlt)=0;
NS_IMETHOD GetChecked(PRBool* aChecked)=0;
NS_IMETHOD SetChecked(PRBool aChecked)=0;
@ -68,29 +68,29 @@ public:
NS_IMETHOD GetMaxLength(PRInt32* aMaxLength)=0;
NS_IMETHOD SetMaxLength(PRInt32 aMaxLength)=0;
NS_IMETHOD GetName(nsAWritableString& aName)=0;
NS_IMETHOD SetName(const nsAReadableString& aName)=0;
NS_IMETHOD GetName(nsString& aName)=0;
NS_IMETHOD SetName(const nsString& aName)=0;
NS_IMETHOD GetReadOnly(PRBool* aReadOnly)=0;
NS_IMETHOD SetReadOnly(PRBool aReadOnly)=0;
NS_IMETHOD GetSize(nsAWritableString& aSize)=0;
NS_IMETHOD SetSize(const nsAReadableString& aSize)=0;
NS_IMETHOD GetSize(nsString& aSize)=0;
NS_IMETHOD SetSize(const nsString& aSize)=0;
NS_IMETHOD GetSrc(nsAWritableString& aSrc)=0;
NS_IMETHOD SetSrc(const nsAReadableString& aSrc)=0;
NS_IMETHOD GetSrc(nsString& aSrc)=0;
NS_IMETHOD SetSrc(const nsString& aSrc)=0;
NS_IMETHOD GetTabIndex(PRInt32* aTabIndex)=0;
NS_IMETHOD SetTabIndex(PRInt32 aTabIndex)=0;
NS_IMETHOD GetType(nsAWritableString& aType)=0;
NS_IMETHOD SetType(const nsAReadableString& aType)=0;
NS_IMETHOD GetType(nsString& aType)=0;
NS_IMETHOD SetType(const nsString& aType)=0;
NS_IMETHOD GetUseMap(nsAWritableString& aUseMap)=0;
NS_IMETHOD SetUseMap(const nsAReadableString& aUseMap)=0;
NS_IMETHOD GetUseMap(nsString& aUseMap)=0;
NS_IMETHOD SetUseMap(const nsString& aUseMap)=0;
NS_IMETHOD GetValue(nsAWritableString& aValue)=0;
NS_IMETHOD SetValue(const nsAReadableString& aValue)=0;
NS_IMETHOD GetValue(nsString& aValue)=0;
NS_IMETHOD SetValue(const nsString& aValue)=0;
NS_IMETHOD Blur()=0;
@ -103,41 +103,41 @@ public:
#define NS_DECL_IDOMHTMLINPUTELEMENT \
NS_IMETHOD GetDefaultValue(nsAWritableString& aDefaultValue); \
NS_IMETHOD SetDefaultValue(const nsAReadableString& aDefaultValue); \
NS_IMETHOD GetDefaultValue(nsString& aDefaultValue); \
NS_IMETHOD SetDefaultValue(const nsString& aDefaultValue); \
NS_IMETHOD GetDefaultChecked(PRBool* aDefaultChecked); \
NS_IMETHOD SetDefaultChecked(PRBool aDefaultChecked); \
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm); \
NS_IMETHOD GetAccept(nsAWritableString& aAccept); \
NS_IMETHOD SetAccept(const nsAReadableString& aAccept); \
NS_IMETHOD GetAccessKey(nsAWritableString& aAccessKey); \
NS_IMETHOD SetAccessKey(const nsAReadableString& aAccessKey); \
NS_IMETHOD GetAlign(nsAWritableString& aAlign); \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign); \
NS_IMETHOD GetAlt(nsAWritableString& aAlt); \
NS_IMETHOD SetAlt(const nsAReadableString& aAlt); \
NS_IMETHOD GetAccept(nsString& aAccept); \
NS_IMETHOD SetAccept(const nsString& aAccept); \
NS_IMETHOD GetAccessKey(nsString& aAccessKey); \
NS_IMETHOD SetAccessKey(const nsString& aAccessKey); \
NS_IMETHOD GetAlign(nsString& aAlign); \
NS_IMETHOD SetAlign(const nsString& aAlign); \
NS_IMETHOD GetAlt(nsString& aAlt); \
NS_IMETHOD SetAlt(const nsString& aAlt); \
NS_IMETHOD GetChecked(PRBool* aChecked); \
NS_IMETHOD SetChecked(PRBool aChecked); \
NS_IMETHOD GetDisabled(PRBool* aDisabled); \
NS_IMETHOD SetDisabled(PRBool aDisabled); \
NS_IMETHOD GetMaxLength(PRInt32* aMaxLength); \
NS_IMETHOD SetMaxLength(PRInt32 aMaxLength); \
NS_IMETHOD GetName(nsAWritableString& aName); \
NS_IMETHOD SetName(const nsAReadableString& aName); \
NS_IMETHOD GetName(nsString& aName); \
NS_IMETHOD SetName(const nsString& aName); \
NS_IMETHOD GetReadOnly(PRBool* aReadOnly); \
NS_IMETHOD SetReadOnly(PRBool aReadOnly); \
NS_IMETHOD GetSize(nsAWritableString& aSize); \
NS_IMETHOD SetSize(const nsAReadableString& aSize); \
NS_IMETHOD GetSrc(nsAWritableString& aSrc); \
NS_IMETHOD SetSrc(const nsAReadableString& aSrc); \
NS_IMETHOD GetSize(nsString& aSize); \
NS_IMETHOD SetSize(const nsString& aSize); \
NS_IMETHOD GetSrc(nsString& aSrc); \
NS_IMETHOD SetSrc(const nsString& aSrc); \
NS_IMETHOD GetTabIndex(PRInt32* aTabIndex); \
NS_IMETHOD SetTabIndex(PRInt32 aTabIndex); \
NS_IMETHOD GetType(nsAWritableString& aType); \
NS_IMETHOD SetType(const nsAReadableString& aType); \
NS_IMETHOD GetUseMap(nsAWritableString& aUseMap); \
NS_IMETHOD SetUseMap(const nsAReadableString& aUseMap); \
NS_IMETHOD GetValue(nsAWritableString& aValue); \
NS_IMETHOD SetValue(const nsAReadableString& aValue); \
NS_IMETHOD GetType(nsString& aType); \
NS_IMETHOD SetType(const nsString& aType); \
NS_IMETHOD GetUseMap(nsString& aUseMap); \
NS_IMETHOD SetUseMap(const nsString& aUseMap); \
NS_IMETHOD GetValue(nsString& aValue); \
NS_IMETHOD SetValue(const nsString& aValue); \
NS_IMETHOD Blur(); \
NS_IMETHOD Focus(); \
NS_IMETHOD Select(); \
@ -146,41 +146,41 @@ public:
#define NS_FORWARD_IDOMHTMLINPUTELEMENT(_to) \
NS_IMETHOD GetDefaultValue(nsAWritableString& aDefaultValue) { return _to GetDefaultValue(aDefaultValue); } \
NS_IMETHOD SetDefaultValue(const nsAReadableString& aDefaultValue) { return _to SetDefaultValue(aDefaultValue); } \
NS_IMETHOD GetDefaultValue(nsString& aDefaultValue) { return _to GetDefaultValue(aDefaultValue); } \
NS_IMETHOD SetDefaultValue(const nsString& aDefaultValue) { return _to SetDefaultValue(aDefaultValue); } \
NS_IMETHOD GetDefaultChecked(PRBool* aDefaultChecked) { return _to GetDefaultChecked(aDefaultChecked); } \
NS_IMETHOD SetDefaultChecked(PRBool aDefaultChecked) { return _to SetDefaultChecked(aDefaultChecked); } \
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm) { return _to GetForm(aForm); } \
NS_IMETHOD GetAccept(nsAWritableString& aAccept) { return _to GetAccept(aAccept); } \
NS_IMETHOD SetAccept(const nsAReadableString& aAccept) { return _to SetAccept(aAccept); } \
NS_IMETHOD GetAccessKey(nsAWritableString& aAccessKey) { return _to GetAccessKey(aAccessKey); } \
NS_IMETHOD SetAccessKey(const nsAReadableString& aAccessKey) { return _to SetAccessKey(aAccessKey); } \
NS_IMETHOD GetAlign(nsAWritableString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign) { return _to SetAlign(aAlign); } \
NS_IMETHOD GetAlt(nsAWritableString& aAlt) { return _to GetAlt(aAlt); } \
NS_IMETHOD SetAlt(const nsAReadableString& aAlt) { return _to SetAlt(aAlt); } \
NS_IMETHOD GetAccept(nsString& aAccept) { return _to GetAccept(aAccept); } \
NS_IMETHOD SetAccept(const nsString& aAccept) { return _to SetAccept(aAccept); } \
NS_IMETHOD GetAccessKey(nsString& aAccessKey) { return _to GetAccessKey(aAccessKey); } \
NS_IMETHOD SetAccessKey(const nsString& aAccessKey) { return _to SetAccessKey(aAccessKey); } \
NS_IMETHOD GetAlign(nsString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsString& aAlign) { return _to SetAlign(aAlign); } \
NS_IMETHOD GetAlt(nsString& aAlt) { return _to GetAlt(aAlt); } \
NS_IMETHOD SetAlt(const nsString& aAlt) { return _to SetAlt(aAlt); } \
NS_IMETHOD GetChecked(PRBool* aChecked) { return _to GetChecked(aChecked); } \
NS_IMETHOD SetChecked(PRBool aChecked) { return _to SetChecked(aChecked); } \
NS_IMETHOD GetDisabled(PRBool* aDisabled) { return _to GetDisabled(aDisabled); } \
NS_IMETHOD SetDisabled(PRBool aDisabled) { return _to SetDisabled(aDisabled); } \
NS_IMETHOD GetMaxLength(PRInt32* aMaxLength) { return _to GetMaxLength(aMaxLength); } \
NS_IMETHOD SetMaxLength(PRInt32 aMaxLength) { return _to SetMaxLength(aMaxLength); } \
NS_IMETHOD GetName(nsAWritableString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsAReadableString& aName) { return _to SetName(aName); } \
NS_IMETHOD GetName(nsString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsString& aName) { return _to SetName(aName); } \
NS_IMETHOD GetReadOnly(PRBool* aReadOnly) { return _to GetReadOnly(aReadOnly); } \
NS_IMETHOD SetReadOnly(PRBool aReadOnly) { return _to SetReadOnly(aReadOnly); } \
NS_IMETHOD GetSize(nsAWritableString& aSize) { return _to GetSize(aSize); } \
NS_IMETHOD SetSize(const nsAReadableString& aSize) { return _to SetSize(aSize); } \
NS_IMETHOD GetSrc(nsAWritableString& aSrc) { return _to GetSrc(aSrc); } \
NS_IMETHOD SetSrc(const nsAReadableString& aSrc) { return _to SetSrc(aSrc); } \
NS_IMETHOD GetSize(nsString& aSize) { return _to GetSize(aSize); } \
NS_IMETHOD SetSize(const nsString& aSize) { return _to SetSize(aSize); } \
NS_IMETHOD GetSrc(nsString& aSrc) { return _to GetSrc(aSrc); } \
NS_IMETHOD SetSrc(const nsString& aSrc) { return _to SetSrc(aSrc); } \
NS_IMETHOD GetTabIndex(PRInt32* aTabIndex) { return _to GetTabIndex(aTabIndex); } \
NS_IMETHOD SetTabIndex(PRInt32 aTabIndex) { return _to SetTabIndex(aTabIndex); } \
NS_IMETHOD GetType(nsAWritableString& aType) { return _to GetType(aType); } \
NS_IMETHOD SetType(const nsAReadableString& aType) { return _to SetType(aType); } \
NS_IMETHOD GetUseMap(nsAWritableString& aUseMap) { return _to GetUseMap(aUseMap); } \
NS_IMETHOD SetUseMap(const nsAReadableString& aUseMap) { return _to SetUseMap(aUseMap); } \
NS_IMETHOD GetValue(nsAWritableString& aValue) { return _to GetValue(aValue); } \
NS_IMETHOD SetValue(const nsAReadableString& aValue) { return _to SetValue(aValue); } \
NS_IMETHOD GetType(nsString& aType) { return _to GetType(aType); } \
NS_IMETHOD SetType(const nsString& aType) { return _to SetType(aType); } \
NS_IMETHOD GetUseMap(nsString& aUseMap) { return _to GetUseMap(aUseMap); } \
NS_IMETHOD SetUseMap(const nsString& aUseMap) { return _to SetUseMap(aUseMap); } \
NS_IMETHOD GetValue(nsString& aValue) { return _to GetValue(aValue); } \
NS_IMETHOD SetValue(const nsString& aValue) { return _to SetValue(aValue); } \
NS_IMETHOD Blur() { return _to Blur(); } \
NS_IMETHOD Focus() { return _to Focus(); } \
NS_IMETHOD Select() { return _to Select(); } \

Просмотреть файл

@ -41,22 +41,22 @@ public:
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm)=0;
NS_IMETHOD GetPrompt(nsAWritableString& aPrompt)=0;
NS_IMETHOD SetPrompt(const nsAReadableString& aPrompt)=0;
NS_IMETHOD GetPrompt(nsString& aPrompt)=0;
NS_IMETHOD SetPrompt(const nsString& aPrompt)=0;
};
#define NS_DECL_IDOMHTMLISINDEXELEMENT \
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm); \
NS_IMETHOD GetPrompt(nsAWritableString& aPrompt); \
NS_IMETHOD SetPrompt(const nsAReadableString& aPrompt); \
NS_IMETHOD GetPrompt(nsString& aPrompt); \
NS_IMETHOD SetPrompt(const nsString& aPrompt); \
#define NS_FORWARD_IDOMHTMLISINDEXELEMENT(_to) \
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm) { return _to GetForm(aForm); } \
NS_IMETHOD GetPrompt(nsAWritableString& aPrompt) { return _to GetPrompt(aPrompt); } \
NS_IMETHOD SetPrompt(const nsAReadableString& aPrompt) { return _to SetPrompt(aPrompt); } \
NS_IMETHOD GetPrompt(nsString& aPrompt) { return _to GetPrompt(aPrompt); } \
NS_IMETHOD SetPrompt(const nsString& aPrompt) { return _to SetPrompt(aPrompt); } \
extern "C" NS_DOM nsresult NS_InitHTMLIsIndexElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -38,8 +38,8 @@ class nsIDOMHTMLLIElement : public nsIDOMHTMLElement {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLLIELEMENT_IID; return iid; }
NS_IMETHOD GetType(nsAWritableString& aType)=0;
NS_IMETHOD SetType(const nsAReadableString& aType)=0;
NS_IMETHOD GetType(nsString& aType)=0;
NS_IMETHOD SetType(const nsString& aType)=0;
NS_IMETHOD GetValue(PRInt32* aValue)=0;
NS_IMETHOD SetValue(PRInt32 aValue)=0;
@ -47,16 +47,16 @@ public:
#define NS_DECL_IDOMHTMLLIELEMENT \
NS_IMETHOD GetType(nsAWritableString& aType); \
NS_IMETHOD SetType(const nsAReadableString& aType); \
NS_IMETHOD GetType(nsString& aType); \
NS_IMETHOD SetType(const nsString& aType); \
NS_IMETHOD GetValue(PRInt32* aValue); \
NS_IMETHOD SetValue(PRInt32 aValue); \
#define NS_FORWARD_IDOMHTMLLIELEMENT(_to) \
NS_IMETHOD GetType(nsAWritableString& aType) { return _to GetType(aType); } \
NS_IMETHOD SetType(const nsAReadableString& aType) { return _to SetType(aType); } \
NS_IMETHOD GetType(nsString& aType) { return _to GetType(aType); } \
NS_IMETHOD SetType(const nsString& aType) { return _to SetType(aType); } \
NS_IMETHOD GetValue(PRInt32* aValue) { return _to GetValue(aValue); } \
NS_IMETHOD SetValue(PRInt32 aValue) { return _to SetValue(aValue); } \

Просмотреть файл

@ -41,29 +41,29 @@ public:
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm)=0;
NS_IMETHOD GetAccessKey(nsAWritableString& aAccessKey)=0;
NS_IMETHOD SetAccessKey(const nsAReadableString& aAccessKey)=0;
NS_IMETHOD GetAccessKey(nsString& aAccessKey)=0;
NS_IMETHOD SetAccessKey(const nsString& aAccessKey)=0;
NS_IMETHOD GetHtmlFor(nsAWritableString& aHtmlFor)=0;
NS_IMETHOD SetHtmlFor(const nsAReadableString& aHtmlFor)=0;
NS_IMETHOD GetHtmlFor(nsString& aHtmlFor)=0;
NS_IMETHOD SetHtmlFor(const nsString& aHtmlFor)=0;
};
#define NS_DECL_IDOMHTMLLABELELEMENT \
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm); \
NS_IMETHOD GetAccessKey(nsAWritableString& aAccessKey); \
NS_IMETHOD SetAccessKey(const nsAReadableString& aAccessKey); \
NS_IMETHOD GetHtmlFor(nsAWritableString& aHtmlFor); \
NS_IMETHOD SetHtmlFor(const nsAReadableString& aHtmlFor); \
NS_IMETHOD GetAccessKey(nsString& aAccessKey); \
NS_IMETHOD SetAccessKey(const nsString& aAccessKey); \
NS_IMETHOD GetHtmlFor(nsString& aHtmlFor); \
NS_IMETHOD SetHtmlFor(const nsString& aHtmlFor); \
#define NS_FORWARD_IDOMHTMLLABELELEMENT(_to) \
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm) { return _to GetForm(aForm); } \
NS_IMETHOD GetAccessKey(nsAWritableString& aAccessKey) { return _to GetAccessKey(aAccessKey); } \
NS_IMETHOD SetAccessKey(const nsAReadableString& aAccessKey) { return _to SetAccessKey(aAccessKey); } \
NS_IMETHOD GetHtmlFor(nsAWritableString& aHtmlFor) { return _to GetHtmlFor(aHtmlFor); } \
NS_IMETHOD SetHtmlFor(const nsAReadableString& aHtmlFor) { return _to SetHtmlFor(aHtmlFor); } \
NS_IMETHOD GetAccessKey(nsString& aAccessKey) { return _to GetAccessKey(aAccessKey); } \
NS_IMETHOD SetAccessKey(const nsString& aAccessKey) { return _to SetAccessKey(aAccessKey); } \
NS_IMETHOD GetHtmlFor(nsString& aHtmlFor) { return _to GetHtmlFor(aHtmlFor); } \
NS_IMETHOD SetHtmlFor(const nsString& aHtmlFor) { return _to SetHtmlFor(aHtmlFor); } \
extern "C" NS_DOM nsresult NS_InitHTMLLabelElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -45,17 +45,17 @@ public:
NS_IMETHOD GetLeft(PRInt32* aLeft)=0;
NS_IMETHOD SetLeft(PRInt32 aLeft)=0;
NS_IMETHOD GetVisibility(nsAWritableString& aVisibility)=0;
NS_IMETHOD SetVisibility(const nsAReadableString& aVisibility)=0;
NS_IMETHOD GetVisibility(nsString& aVisibility)=0;
NS_IMETHOD SetVisibility(const nsString& aVisibility)=0;
NS_IMETHOD GetBackground(nsAWritableString& aBackground)=0;
NS_IMETHOD SetBackground(const nsAReadableString& aBackground)=0;
NS_IMETHOD GetBackground(nsString& aBackground)=0;
NS_IMETHOD SetBackground(const nsString& aBackground)=0;
NS_IMETHOD GetBgColor(nsAWritableString& aBgColor)=0;
NS_IMETHOD SetBgColor(const nsAReadableString& aBgColor)=0;
NS_IMETHOD GetBgColor(nsString& aBgColor)=0;
NS_IMETHOD SetBgColor(const nsString& aBgColor)=0;
NS_IMETHOD GetName(nsAWritableString& aName)=0;
NS_IMETHOD SetName(const nsAReadableString& aName)=0;
NS_IMETHOD GetName(nsString& aName)=0;
NS_IMETHOD SetName(const nsString& aName)=0;
NS_IMETHOD GetZIndex(PRInt32* aZIndex)=0;
NS_IMETHOD SetZIndex(PRInt32 aZIndex)=0;
@ -69,14 +69,14 @@ public:
NS_IMETHOD SetTop(PRInt32 aTop); \
NS_IMETHOD GetLeft(PRInt32* aLeft); \
NS_IMETHOD SetLeft(PRInt32 aLeft); \
NS_IMETHOD GetVisibility(nsAWritableString& aVisibility); \
NS_IMETHOD SetVisibility(const nsAReadableString& aVisibility); \
NS_IMETHOD GetBackground(nsAWritableString& aBackground); \
NS_IMETHOD SetBackground(const nsAReadableString& aBackground); \
NS_IMETHOD GetBgColor(nsAWritableString& aBgColor); \
NS_IMETHOD SetBgColor(const nsAReadableString& aBgColor); \
NS_IMETHOD GetName(nsAWritableString& aName); \
NS_IMETHOD SetName(const nsAReadableString& aName); \
NS_IMETHOD GetVisibility(nsString& aVisibility); \
NS_IMETHOD SetVisibility(const nsString& aVisibility); \
NS_IMETHOD GetBackground(nsString& aBackground); \
NS_IMETHOD SetBackground(const nsString& aBackground); \
NS_IMETHOD GetBgColor(nsString& aBgColor); \
NS_IMETHOD SetBgColor(const nsString& aBgColor); \
NS_IMETHOD GetName(nsString& aName); \
NS_IMETHOD SetName(const nsString& aName); \
NS_IMETHOD GetZIndex(PRInt32* aZIndex); \
NS_IMETHOD SetZIndex(PRInt32 aZIndex); \
NS_IMETHOD GetDocument(nsIDOMDocument** aDocument); \
@ -88,14 +88,14 @@ public:
NS_IMETHOD SetTop(PRInt32 aTop) { return _to SetTop(aTop); } \
NS_IMETHOD GetLeft(PRInt32* aLeft) { return _to GetLeft(aLeft); } \
NS_IMETHOD SetLeft(PRInt32 aLeft) { return _to SetLeft(aLeft); } \
NS_IMETHOD GetVisibility(nsAWritableString& aVisibility) { return _to GetVisibility(aVisibility); } \
NS_IMETHOD SetVisibility(const nsAReadableString& aVisibility) { return _to SetVisibility(aVisibility); } \
NS_IMETHOD GetBackground(nsAWritableString& aBackground) { return _to GetBackground(aBackground); } \
NS_IMETHOD SetBackground(const nsAReadableString& aBackground) { return _to SetBackground(aBackground); } \
NS_IMETHOD GetBgColor(nsAWritableString& aBgColor) { return _to GetBgColor(aBgColor); } \
NS_IMETHOD SetBgColor(const nsAReadableString& aBgColor) { return _to SetBgColor(aBgColor); } \
NS_IMETHOD GetName(nsAWritableString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsAReadableString& aName) { return _to SetName(aName); } \
NS_IMETHOD GetVisibility(nsString& aVisibility) { return _to GetVisibility(aVisibility); } \
NS_IMETHOD SetVisibility(const nsString& aVisibility) { return _to SetVisibility(aVisibility); } \
NS_IMETHOD GetBackground(nsString& aBackground) { return _to GetBackground(aBackground); } \
NS_IMETHOD SetBackground(const nsString& aBackground) { return _to SetBackground(aBackground); } \
NS_IMETHOD GetBgColor(nsString& aBgColor) { return _to GetBgColor(aBgColor); } \
NS_IMETHOD SetBgColor(const nsString& aBgColor) { return _to SetBgColor(aBgColor); } \
NS_IMETHOD GetName(nsString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsString& aName) { return _to SetName(aName); } \
NS_IMETHOD GetZIndex(PRInt32* aZIndex) { return _to GetZIndex(aZIndex); } \
NS_IMETHOD SetZIndex(PRInt32 aZIndex) { return _to SetZIndex(aZIndex); } \
NS_IMETHOD GetDocument(nsIDOMDocument** aDocument) { return _to GetDocument(aDocument); } \

Просмотреть файл

@ -41,29 +41,29 @@ public:
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm)=0;
NS_IMETHOD GetAccessKey(nsAWritableString& aAccessKey)=0;
NS_IMETHOD SetAccessKey(const nsAReadableString& aAccessKey)=0;
NS_IMETHOD GetAccessKey(nsString& aAccessKey)=0;
NS_IMETHOD SetAccessKey(const nsString& aAccessKey)=0;
NS_IMETHOD GetAlign(nsAWritableString& aAlign)=0;
NS_IMETHOD SetAlign(const nsAReadableString& aAlign)=0;
NS_IMETHOD GetAlign(nsString& aAlign)=0;
NS_IMETHOD SetAlign(const nsString& aAlign)=0;
};
#define NS_DECL_IDOMHTMLLEGENDELEMENT \
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm); \
NS_IMETHOD GetAccessKey(nsAWritableString& aAccessKey); \
NS_IMETHOD SetAccessKey(const nsAReadableString& aAccessKey); \
NS_IMETHOD GetAlign(nsAWritableString& aAlign); \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign); \
NS_IMETHOD GetAccessKey(nsString& aAccessKey); \
NS_IMETHOD SetAccessKey(const nsString& aAccessKey); \
NS_IMETHOD GetAlign(nsString& aAlign); \
NS_IMETHOD SetAlign(const nsString& aAlign); \
#define NS_FORWARD_IDOMHTMLLEGENDELEMENT(_to) \
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm) { return _to GetForm(aForm); } \
NS_IMETHOD GetAccessKey(nsAWritableString& aAccessKey) { return _to GetAccessKey(aAccessKey); } \
NS_IMETHOD SetAccessKey(const nsAReadableString& aAccessKey) { return _to SetAccessKey(aAccessKey); } \
NS_IMETHOD GetAlign(nsAWritableString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign) { return _to SetAlign(aAlign); } \
NS_IMETHOD GetAccessKey(nsString& aAccessKey) { return _to GetAccessKey(aAccessKey); } \
NS_IMETHOD SetAccessKey(const nsString& aAccessKey) { return _to SetAccessKey(aAccessKey); } \
NS_IMETHOD GetAlign(nsString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsString& aAlign) { return _to SetAlign(aAlign); } \
extern "C" NS_DOM nsresult NS_InitHTMLLegendElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -41,73 +41,73 @@ public:
NS_IMETHOD GetDisabled(PRBool* aDisabled)=0;
NS_IMETHOD SetDisabled(PRBool aDisabled)=0;
NS_IMETHOD GetCharset(nsAWritableString& aCharset)=0;
NS_IMETHOD SetCharset(const nsAReadableString& aCharset)=0;
NS_IMETHOD GetCharset(nsString& aCharset)=0;
NS_IMETHOD SetCharset(const nsString& aCharset)=0;
NS_IMETHOD GetHref(nsAWritableString& aHref)=0;
NS_IMETHOD SetHref(const nsAReadableString& aHref)=0;
NS_IMETHOD GetHref(nsString& aHref)=0;
NS_IMETHOD SetHref(const nsString& aHref)=0;
NS_IMETHOD GetHreflang(nsAWritableString& aHreflang)=0;
NS_IMETHOD SetHreflang(const nsAReadableString& aHreflang)=0;
NS_IMETHOD GetHreflang(nsString& aHreflang)=0;
NS_IMETHOD SetHreflang(const nsString& aHreflang)=0;
NS_IMETHOD GetMedia(nsAWritableString& aMedia)=0;
NS_IMETHOD SetMedia(const nsAReadableString& aMedia)=0;
NS_IMETHOD GetMedia(nsString& aMedia)=0;
NS_IMETHOD SetMedia(const nsString& aMedia)=0;
NS_IMETHOD GetRel(nsAWritableString& aRel)=0;
NS_IMETHOD SetRel(const nsAReadableString& aRel)=0;
NS_IMETHOD GetRel(nsString& aRel)=0;
NS_IMETHOD SetRel(const nsString& aRel)=0;
NS_IMETHOD GetRev(nsAWritableString& aRev)=0;
NS_IMETHOD SetRev(const nsAReadableString& aRev)=0;
NS_IMETHOD GetRev(nsString& aRev)=0;
NS_IMETHOD SetRev(const nsString& aRev)=0;
NS_IMETHOD GetTarget(nsAWritableString& aTarget)=0;
NS_IMETHOD SetTarget(const nsAReadableString& aTarget)=0;
NS_IMETHOD GetTarget(nsString& aTarget)=0;
NS_IMETHOD SetTarget(const nsString& aTarget)=0;
NS_IMETHOD GetType(nsAWritableString& aType)=0;
NS_IMETHOD SetType(const nsAReadableString& aType)=0;
NS_IMETHOD GetType(nsString& aType)=0;
NS_IMETHOD SetType(const nsString& aType)=0;
};
#define NS_DECL_IDOMHTMLLINKELEMENT \
NS_IMETHOD GetDisabled(PRBool* aDisabled); \
NS_IMETHOD SetDisabled(PRBool aDisabled); \
NS_IMETHOD GetCharset(nsAWritableString& aCharset); \
NS_IMETHOD SetCharset(const nsAReadableString& aCharset); \
NS_IMETHOD GetHref(nsAWritableString& aHref); \
NS_IMETHOD SetHref(const nsAReadableString& aHref); \
NS_IMETHOD GetHreflang(nsAWritableString& aHreflang); \
NS_IMETHOD SetHreflang(const nsAReadableString& aHreflang); \
NS_IMETHOD GetMedia(nsAWritableString& aMedia); \
NS_IMETHOD SetMedia(const nsAReadableString& aMedia); \
NS_IMETHOD GetRel(nsAWritableString& aRel); \
NS_IMETHOD SetRel(const nsAReadableString& aRel); \
NS_IMETHOD GetRev(nsAWritableString& aRev); \
NS_IMETHOD SetRev(const nsAReadableString& aRev); \
NS_IMETHOD GetTarget(nsAWritableString& aTarget); \
NS_IMETHOD SetTarget(const nsAReadableString& aTarget); \
NS_IMETHOD GetType(nsAWritableString& aType); \
NS_IMETHOD SetType(const nsAReadableString& aType); \
NS_IMETHOD GetCharset(nsString& aCharset); \
NS_IMETHOD SetCharset(const nsString& aCharset); \
NS_IMETHOD GetHref(nsString& aHref); \
NS_IMETHOD SetHref(const nsString& aHref); \
NS_IMETHOD GetHreflang(nsString& aHreflang); \
NS_IMETHOD SetHreflang(const nsString& aHreflang); \
NS_IMETHOD GetMedia(nsString& aMedia); \
NS_IMETHOD SetMedia(const nsString& aMedia); \
NS_IMETHOD GetRel(nsString& aRel); \
NS_IMETHOD SetRel(const nsString& aRel); \
NS_IMETHOD GetRev(nsString& aRev); \
NS_IMETHOD SetRev(const nsString& aRev); \
NS_IMETHOD GetTarget(nsString& aTarget); \
NS_IMETHOD SetTarget(const nsString& aTarget); \
NS_IMETHOD GetType(nsString& aType); \
NS_IMETHOD SetType(const nsString& aType); \
#define NS_FORWARD_IDOMHTMLLINKELEMENT(_to) \
NS_IMETHOD GetDisabled(PRBool* aDisabled) { return _to GetDisabled(aDisabled); } \
NS_IMETHOD SetDisabled(PRBool aDisabled) { return _to SetDisabled(aDisabled); } \
NS_IMETHOD GetCharset(nsAWritableString& aCharset) { return _to GetCharset(aCharset); } \
NS_IMETHOD SetCharset(const nsAReadableString& aCharset) { return _to SetCharset(aCharset); } \
NS_IMETHOD GetHref(nsAWritableString& aHref) { return _to GetHref(aHref); } \
NS_IMETHOD SetHref(const nsAReadableString& aHref) { return _to SetHref(aHref); } \
NS_IMETHOD GetHreflang(nsAWritableString& aHreflang) { return _to GetHreflang(aHreflang); } \
NS_IMETHOD SetHreflang(const nsAReadableString& aHreflang) { return _to SetHreflang(aHreflang); } \
NS_IMETHOD GetMedia(nsAWritableString& aMedia) { return _to GetMedia(aMedia); } \
NS_IMETHOD SetMedia(const nsAReadableString& aMedia) { return _to SetMedia(aMedia); } \
NS_IMETHOD GetRel(nsAWritableString& aRel) { return _to GetRel(aRel); } \
NS_IMETHOD SetRel(const nsAReadableString& aRel) { return _to SetRel(aRel); } \
NS_IMETHOD GetRev(nsAWritableString& aRev) { return _to GetRev(aRev); } \
NS_IMETHOD SetRev(const nsAReadableString& aRev) { return _to SetRev(aRev); } \
NS_IMETHOD GetTarget(nsAWritableString& aTarget) { return _to GetTarget(aTarget); } \
NS_IMETHOD SetTarget(const nsAReadableString& aTarget) { return _to SetTarget(aTarget); } \
NS_IMETHOD GetType(nsAWritableString& aType) { return _to GetType(aType); } \
NS_IMETHOD SetType(const nsAReadableString& aType) { return _to SetType(aType); } \
NS_IMETHOD GetCharset(nsString& aCharset) { return _to GetCharset(aCharset); } \
NS_IMETHOD SetCharset(const nsString& aCharset) { return _to SetCharset(aCharset); } \
NS_IMETHOD GetHref(nsString& aHref) { return _to GetHref(aHref); } \
NS_IMETHOD SetHref(const nsString& aHref) { return _to SetHref(aHref); } \
NS_IMETHOD GetHreflang(nsString& aHreflang) { return _to GetHreflang(aHreflang); } \
NS_IMETHOD SetHreflang(const nsString& aHreflang) { return _to SetHreflang(aHreflang); } \
NS_IMETHOD GetMedia(nsString& aMedia) { return _to GetMedia(aMedia); } \
NS_IMETHOD SetMedia(const nsString& aMedia) { return _to SetMedia(aMedia); } \
NS_IMETHOD GetRel(nsString& aRel) { return _to GetRel(aRel); } \
NS_IMETHOD SetRel(const nsString& aRel) { return _to SetRel(aRel); } \
NS_IMETHOD GetRev(nsString& aRev) { return _to GetRev(aRev); } \
NS_IMETHOD SetRev(const nsString& aRev) { return _to SetRev(aRev); } \
NS_IMETHOD GetTarget(nsString& aTarget) { return _to GetTarget(aTarget); } \
NS_IMETHOD SetTarget(const nsString& aTarget) { return _to SetTarget(aTarget); } \
NS_IMETHOD GetType(nsString& aType) { return _to GetType(aType); } \
NS_IMETHOD SetType(const nsString& aType) { return _to SetType(aType); } \
extern "C" NS_DOM nsresult NS_InitHTMLLinkElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -41,22 +41,22 @@ public:
NS_IMETHOD GetAreas(nsIDOMHTMLCollection** aAreas)=0;
NS_IMETHOD GetName(nsAWritableString& aName)=0;
NS_IMETHOD SetName(const nsAReadableString& aName)=0;
NS_IMETHOD GetName(nsString& aName)=0;
NS_IMETHOD SetName(const nsString& aName)=0;
};
#define NS_DECL_IDOMHTMLMAPELEMENT \
NS_IMETHOD GetAreas(nsIDOMHTMLCollection** aAreas); \
NS_IMETHOD GetName(nsAWritableString& aName); \
NS_IMETHOD SetName(const nsAReadableString& aName); \
NS_IMETHOD GetName(nsString& aName); \
NS_IMETHOD SetName(const nsString& aName); \
#define NS_FORWARD_IDOMHTMLMAPELEMENT(_to) \
NS_IMETHOD GetAreas(nsIDOMHTMLCollection** aAreas) { return _to GetAreas(aAreas); } \
NS_IMETHOD GetName(nsAWritableString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsAReadableString& aName) { return _to SetName(aName); } \
NS_IMETHOD GetName(nsString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsString& aName) { return _to SetName(aName); } \
extern "C" NS_DOM nsresult NS_InitHTMLMapElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -38,41 +38,41 @@ class nsIDOMHTMLMetaElement : public nsIDOMHTMLElement {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLMETAELEMENT_IID; return iid; }
NS_IMETHOD GetContent(nsAWritableString& aContent)=0;
NS_IMETHOD SetContent(const nsAReadableString& aContent)=0;
NS_IMETHOD GetContent(nsString& aContent)=0;
NS_IMETHOD SetContent(const nsString& aContent)=0;
NS_IMETHOD GetHttpEquiv(nsAWritableString& aHttpEquiv)=0;
NS_IMETHOD SetHttpEquiv(const nsAReadableString& aHttpEquiv)=0;
NS_IMETHOD GetHttpEquiv(nsString& aHttpEquiv)=0;
NS_IMETHOD SetHttpEquiv(const nsString& aHttpEquiv)=0;
NS_IMETHOD GetName(nsAWritableString& aName)=0;
NS_IMETHOD SetName(const nsAReadableString& aName)=0;
NS_IMETHOD GetName(nsString& aName)=0;
NS_IMETHOD SetName(const nsString& aName)=0;
NS_IMETHOD GetScheme(nsAWritableString& aScheme)=0;
NS_IMETHOD SetScheme(const nsAReadableString& aScheme)=0;
NS_IMETHOD GetScheme(nsString& aScheme)=0;
NS_IMETHOD SetScheme(const nsString& aScheme)=0;
};
#define NS_DECL_IDOMHTMLMETAELEMENT \
NS_IMETHOD GetContent(nsAWritableString& aContent); \
NS_IMETHOD SetContent(const nsAReadableString& aContent); \
NS_IMETHOD GetHttpEquiv(nsAWritableString& aHttpEquiv); \
NS_IMETHOD SetHttpEquiv(const nsAReadableString& aHttpEquiv); \
NS_IMETHOD GetName(nsAWritableString& aName); \
NS_IMETHOD SetName(const nsAReadableString& aName); \
NS_IMETHOD GetScheme(nsAWritableString& aScheme); \
NS_IMETHOD SetScheme(const nsAReadableString& aScheme); \
NS_IMETHOD GetContent(nsString& aContent); \
NS_IMETHOD SetContent(const nsString& aContent); \
NS_IMETHOD GetHttpEquiv(nsString& aHttpEquiv); \
NS_IMETHOD SetHttpEquiv(const nsString& aHttpEquiv); \
NS_IMETHOD GetName(nsString& aName); \
NS_IMETHOD SetName(const nsString& aName); \
NS_IMETHOD GetScheme(nsString& aScheme); \
NS_IMETHOD SetScheme(const nsString& aScheme); \
#define NS_FORWARD_IDOMHTMLMETAELEMENT(_to) \
NS_IMETHOD GetContent(nsAWritableString& aContent) { return _to GetContent(aContent); } \
NS_IMETHOD SetContent(const nsAReadableString& aContent) { return _to SetContent(aContent); } \
NS_IMETHOD GetHttpEquiv(nsAWritableString& aHttpEquiv) { return _to GetHttpEquiv(aHttpEquiv); } \
NS_IMETHOD SetHttpEquiv(const nsAReadableString& aHttpEquiv) { return _to SetHttpEquiv(aHttpEquiv); } \
NS_IMETHOD GetName(nsAWritableString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsAReadableString& aName) { return _to SetName(aName); } \
NS_IMETHOD GetScheme(nsAWritableString& aScheme) { return _to GetScheme(aScheme); } \
NS_IMETHOD SetScheme(const nsAReadableString& aScheme) { return _to SetScheme(aScheme); } \
NS_IMETHOD GetContent(nsString& aContent) { return _to GetContent(aContent); } \
NS_IMETHOD SetContent(const nsString& aContent) { return _to SetContent(aContent); } \
NS_IMETHOD GetHttpEquiv(nsString& aHttpEquiv) { return _to GetHttpEquiv(aHttpEquiv); } \
NS_IMETHOD SetHttpEquiv(const nsString& aHttpEquiv) { return _to SetHttpEquiv(aHttpEquiv); } \
NS_IMETHOD GetName(nsString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsString& aName) { return _to SetName(aName); } \
NS_IMETHOD GetScheme(nsString& aScheme) { return _to GetScheme(aScheme); } \
NS_IMETHOD SetScheme(const nsString& aScheme) { return _to SetScheme(aScheme); } \
extern "C" NS_DOM nsresult NS_InitHTMLMetaElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -38,27 +38,27 @@ class nsIDOMHTMLModElement : public nsIDOMHTMLElement {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLMODELEMENT_IID; return iid; }
NS_IMETHOD GetCite(nsAWritableString& aCite)=0;
NS_IMETHOD SetCite(const nsAReadableString& aCite)=0;
NS_IMETHOD GetCite(nsString& aCite)=0;
NS_IMETHOD SetCite(const nsString& aCite)=0;
NS_IMETHOD GetDateTime(nsAWritableString& aDateTime)=0;
NS_IMETHOD SetDateTime(const nsAReadableString& aDateTime)=0;
NS_IMETHOD GetDateTime(nsString& aDateTime)=0;
NS_IMETHOD SetDateTime(const nsString& aDateTime)=0;
};
#define NS_DECL_IDOMHTMLMODELEMENT \
NS_IMETHOD GetCite(nsAWritableString& aCite); \
NS_IMETHOD SetCite(const nsAReadableString& aCite); \
NS_IMETHOD GetDateTime(nsAWritableString& aDateTime); \
NS_IMETHOD SetDateTime(const nsAReadableString& aDateTime); \
NS_IMETHOD GetCite(nsString& aCite); \
NS_IMETHOD SetCite(const nsString& aCite); \
NS_IMETHOD GetDateTime(nsString& aDateTime); \
NS_IMETHOD SetDateTime(const nsString& aDateTime); \
#define NS_FORWARD_IDOMHTMLMODELEMENT(_to) \
NS_IMETHOD GetCite(nsAWritableString& aCite) { return _to GetCite(aCite); } \
NS_IMETHOD SetCite(const nsAReadableString& aCite) { return _to SetCite(aCite); } \
NS_IMETHOD GetDateTime(nsAWritableString& aDateTime) { return _to GetDateTime(aDateTime); } \
NS_IMETHOD SetDateTime(const nsAReadableString& aDateTime) { return _to SetDateTime(aDateTime); } \
NS_IMETHOD GetCite(nsString& aCite) { return _to GetCite(aCite); } \
NS_IMETHOD SetCite(const nsString& aCite) { return _to SetCite(aCite); } \
NS_IMETHOD GetDateTime(nsString& aDateTime) { return _to GetDateTime(aDateTime); } \
NS_IMETHOD SetDateTime(const nsString& aDateTime) { return _to SetDateTime(aDateTime); } \
extern "C" NS_DOM nsresult NS_InitHTMLModElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -44,8 +44,8 @@ public:
NS_IMETHOD GetStart(PRInt32* aStart)=0;
NS_IMETHOD SetStart(PRInt32 aStart)=0;
NS_IMETHOD GetType(nsAWritableString& aType)=0;
NS_IMETHOD SetType(const nsAReadableString& aType)=0;
NS_IMETHOD GetType(nsString& aType)=0;
NS_IMETHOD SetType(const nsString& aType)=0;
};
@ -54,8 +54,8 @@ public:
NS_IMETHOD SetCompact(PRBool aCompact); \
NS_IMETHOD GetStart(PRInt32* aStart); \
NS_IMETHOD SetStart(PRInt32 aStart); \
NS_IMETHOD GetType(nsAWritableString& aType); \
NS_IMETHOD SetType(const nsAReadableString& aType); \
NS_IMETHOD GetType(nsString& aType); \
NS_IMETHOD SetType(const nsString& aType); \
@ -64,8 +64,8 @@ public:
NS_IMETHOD SetCompact(PRBool aCompact) { return _to SetCompact(aCompact); } \
NS_IMETHOD GetStart(PRInt32* aStart) { return _to GetStart(aStart); } \
NS_IMETHOD SetStart(PRInt32 aStart) { return _to SetStart(aStart); } \
NS_IMETHOD GetType(nsAWritableString& aType) { return _to GetType(aType); } \
NS_IMETHOD SetType(const nsAReadableString& aType) { return _to SetType(aType); } \
NS_IMETHOD GetType(nsString& aType) { return _to GetType(aType); } \
NS_IMETHOD SetType(const nsString& aType) { return _to SetType(aType); } \
extern "C" NS_DOM nsresult NS_InitHTMLOListElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -42,56 +42,56 @@ public:
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm)=0;
NS_IMETHOD GetCode(nsAWritableString& aCode)=0;
NS_IMETHOD SetCode(const nsAReadableString& aCode)=0;
NS_IMETHOD GetCode(nsString& aCode)=0;
NS_IMETHOD SetCode(const nsString& aCode)=0;
NS_IMETHOD GetAlign(nsAWritableString& aAlign)=0;
NS_IMETHOD SetAlign(const nsAReadableString& aAlign)=0;
NS_IMETHOD GetAlign(nsString& aAlign)=0;
NS_IMETHOD SetAlign(const nsString& aAlign)=0;
NS_IMETHOD GetArchive(nsAWritableString& aArchive)=0;
NS_IMETHOD SetArchive(const nsAReadableString& aArchive)=0;
NS_IMETHOD GetArchive(nsString& aArchive)=0;
NS_IMETHOD SetArchive(const nsString& aArchive)=0;
NS_IMETHOD GetBorder(nsAWritableString& aBorder)=0;
NS_IMETHOD SetBorder(const nsAReadableString& aBorder)=0;
NS_IMETHOD GetBorder(nsString& aBorder)=0;
NS_IMETHOD SetBorder(const nsString& aBorder)=0;
NS_IMETHOD GetCodeBase(nsAWritableString& aCodeBase)=0;
NS_IMETHOD SetCodeBase(const nsAReadableString& aCodeBase)=0;
NS_IMETHOD GetCodeBase(nsString& aCodeBase)=0;
NS_IMETHOD SetCodeBase(const nsString& aCodeBase)=0;
NS_IMETHOD GetCodeType(nsAWritableString& aCodeType)=0;
NS_IMETHOD SetCodeType(const nsAReadableString& aCodeType)=0;
NS_IMETHOD GetCodeType(nsString& aCodeType)=0;
NS_IMETHOD SetCodeType(const nsString& aCodeType)=0;
NS_IMETHOD GetData(nsAWritableString& aData)=0;
NS_IMETHOD SetData(const nsAReadableString& aData)=0;
NS_IMETHOD GetData(nsString& aData)=0;
NS_IMETHOD SetData(const nsString& aData)=0;
NS_IMETHOD GetDeclare(PRBool* aDeclare)=0;
NS_IMETHOD SetDeclare(PRBool aDeclare)=0;
NS_IMETHOD GetHeight(nsAWritableString& aHeight)=0;
NS_IMETHOD SetHeight(const nsAReadableString& aHeight)=0;
NS_IMETHOD GetHeight(nsString& aHeight)=0;
NS_IMETHOD SetHeight(const nsString& aHeight)=0;
NS_IMETHOD GetHspace(nsAWritableString& aHspace)=0;
NS_IMETHOD SetHspace(const nsAReadableString& aHspace)=0;
NS_IMETHOD GetHspace(nsString& aHspace)=0;
NS_IMETHOD SetHspace(const nsString& aHspace)=0;
NS_IMETHOD GetName(nsAWritableString& aName)=0;
NS_IMETHOD SetName(const nsAReadableString& aName)=0;
NS_IMETHOD GetName(nsString& aName)=0;
NS_IMETHOD SetName(const nsString& aName)=0;
NS_IMETHOD GetStandby(nsAWritableString& aStandby)=0;
NS_IMETHOD SetStandby(const nsAReadableString& aStandby)=0;
NS_IMETHOD GetStandby(nsString& aStandby)=0;
NS_IMETHOD SetStandby(const nsString& aStandby)=0;
NS_IMETHOD GetTabIndex(PRInt32* aTabIndex)=0;
NS_IMETHOD SetTabIndex(PRInt32 aTabIndex)=0;
NS_IMETHOD GetType(nsAWritableString& aType)=0;
NS_IMETHOD SetType(const nsAReadableString& aType)=0;
NS_IMETHOD GetType(nsString& aType)=0;
NS_IMETHOD SetType(const nsString& aType)=0;
NS_IMETHOD GetUseMap(nsAWritableString& aUseMap)=0;
NS_IMETHOD SetUseMap(const nsAReadableString& aUseMap)=0;
NS_IMETHOD GetUseMap(nsString& aUseMap)=0;
NS_IMETHOD SetUseMap(const nsString& aUseMap)=0;
NS_IMETHOD GetVspace(nsAWritableString& aVspace)=0;
NS_IMETHOD SetVspace(const nsAReadableString& aVspace)=0;
NS_IMETHOD GetVspace(nsString& aVspace)=0;
NS_IMETHOD SetVspace(const nsString& aVspace)=0;
NS_IMETHOD GetWidth(nsAWritableString& aWidth)=0;
NS_IMETHOD SetWidth(const nsAReadableString& aWidth)=0;
NS_IMETHOD GetWidth(nsString& aWidth)=0;
NS_IMETHOD SetWidth(const nsString& aWidth)=0;
NS_IMETHOD GetContentDocument(nsIDOMDocument** aContentDocument)=0;
NS_IMETHOD SetContentDocument(nsIDOMDocument* aContentDocument)=0;
@ -100,40 +100,40 @@ public:
#define NS_DECL_IDOMHTMLOBJECTELEMENT \
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm); \
NS_IMETHOD GetCode(nsAWritableString& aCode); \
NS_IMETHOD SetCode(const nsAReadableString& aCode); \
NS_IMETHOD GetAlign(nsAWritableString& aAlign); \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign); \
NS_IMETHOD GetArchive(nsAWritableString& aArchive); \
NS_IMETHOD SetArchive(const nsAReadableString& aArchive); \
NS_IMETHOD GetBorder(nsAWritableString& aBorder); \
NS_IMETHOD SetBorder(const nsAReadableString& aBorder); \
NS_IMETHOD GetCodeBase(nsAWritableString& aCodeBase); \
NS_IMETHOD SetCodeBase(const nsAReadableString& aCodeBase); \
NS_IMETHOD GetCodeType(nsAWritableString& aCodeType); \
NS_IMETHOD SetCodeType(const nsAReadableString& aCodeType); \
NS_IMETHOD GetData(nsAWritableString& aData); \
NS_IMETHOD SetData(const nsAReadableString& aData); \
NS_IMETHOD GetCode(nsString& aCode); \
NS_IMETHOD SetCode(const nsString& aCode); \
NS_IMETHOD GetAlign(nsString& aAlign); \
NS_IMETHOD SetAlign(const nsString& aAlign); \
NS_IMETHOD GetArchive(nsString& aArchive); \
NS_IMETHOD SetArchive(const nsString& aArchive); \
NS_IMETHOD GetBorder(nsString& aBorder); \
NS_IMETHOD SetBorder(const nsString& aBorder); \
NS_IMETHOD GetCodeBase(nsString& aCodeBase); \
NS_IMETHOD SetCodeBase(const nsString& aCodeBase); \
NS_IMETHOD GetCodeType(nsString& aCodeType); \
NS_IMETHOD SetCodeType(const nsString& aCodeType); \
NS_IMETHOD GetData(nsString& aData); \
NS_IMETHOD SetData(const nsString& aData); \
NS_IMETHOD GetDeclare(PRBool* aDeclare); \
NS_IMETHOD SetDeclare(PRBool aDeclare); \
NS_IMETHOD GetHeight(nsAWritableString& aHeight); \
NS_IMETHOD SetHeight(const nsAReadableString& aHeight); \
NS_IMETHOD GetHspace(nsAWritableString& aHspace); \
NS_IMETHOD SetHspace(const nsAReadableString& aHspace); \
NS_IMETHOD GetName(nsAWritableString& aName); \
NS_IMETHOD SetName(const nsAReadableString& aName); \
NS_IMETHOD GetStandby(nsAWritableString& aStandby); \
NS_IMETHOD SetStandby(const nsAReadableString& aStandby); \
NS_IMETHOD GetHeight(nsString& aHeight); \
NS_IMETHOD SetHeight(const nsString& aHeight); \
NS_IMETHOD GetHspace(nsString& aHspace); \
NS_IMETHOD SetHspace(const nsString& aHspace); \
NS_IMETHOD GetName(nsString& aName); \
NS_IMETHOD SetName(const nsString& aName); \
NS_IMETHOD GetStandby(nsString& aStandby); \
NS_IMETHOD SetStandby(const nsString& aStandby); \
NS_IMETHOD GetTabIndex(PRInt32* aTabIndex); \
NS_IMETHOD SetTabIndex(PRInt32 aTabIndex); \
NS_IMETHOD GetType(nsAWritableString& aType); \
NS_IMETHOD SetType(const nsAReadableString& aType); \
NS_IMETHOD GetUseMap(nsAWritableString& aUseMap); \
NS_IMETHOD SetUseMap(const nsAReadableString& aUseMap); \
NS_IMETHOD GetVspace(nsAWritableString& aVspace); \
NS_IMETHOD SetVspace(const nsAReadableString& aVspace); \
NS_IMETHOD GetWidth(nsAWritableString& aWidth); \
NS_IMETHOD SetWidth(const nsAReadableString& aWidth); \
NS_IMETHOD GetType(nsString& aType); \
NS_IMETHOD SetType(const nsString& aType); \
NS_IMETHOD GetUseMap(nsString& aUseMap); \
NS_IMETHOD SetUseMap(const nsString& aUseMap); \
NS_IMETHOD GetVspace(nsString& aVspace); \
NS_IMETHOD SetVspace(const nsString& aVspace); \
NS_IMETHOD GetWidth(nsString& aWidth); \
NS_IMETHOD SetWidth(const nsString& aWidth); \
NS_IMETHOD GetContentDocument(nsIDOMDocument** aContentDocument); \
NS_IMETHOD SetContentDocument(nsIDOMDocument* aContentDocument); \
@ -141,40 +141,40 @@ public:
#define NS_FORWARD_IDOMHTMLOBJECTELEMENT(_to) \
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm) { return _to GetForm(aForm); } \
NS_IMETHOD GetCode(nsAWritableString& aCode) { return _to GetCode(aCode); } \
NS_IMETHOD SetCode(const nsAReadableString& aCode) { return _to SetCode(aCode); } \
NS_IMETHOD GetAlign(nsAWritableString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign) { return _to SetAlign(aAlign); } \
NS_IMETHOD GetArchive(nsAWritableString& aArchive) { return _to GetArchive(aArchive); } \
NS_IMETHOD SetArchive(const nsAReadableString& aArchive) { return _to SetArchive(aArchive); } \
NS_IMETHOD GetBorder(nsAWritableString& aBorder) { return _to GetBorder(aBorder); } \
NS_IMETHOD SetBorder(const nsAReadableString& aBorder) { return _to SetBorder(aBorder); } \
NS_IMETHOD GetCodeBase(nsAWritableString& aCodeBase) { return _to GetCodeBase(aCodeBase); } \
NS_IMETHOD SetCodeBase(const nsAReadableString& aCodeBase) { return _to SetCodeBase(aCodeBase); } \
NS_IMETHOD GetCodeType(nsAWritableString& aCodeType) { return _to GetCodeType(aCodeType); } \
NS_IMETHOD SetCodeType(const nsAReadableString& aCodeType) { return _to SetCodeType(aCodeType); } \
NS_IMETHOD GetData(nsAWritableString& aData) { return _to GetData(aData); } \
NS_IMETHOD SetData(const nsAReadableString& aData) { return _to SetData(aData); } \
NS_IMETHOD GetCode(nsString& aCode) { return _to GetCode(aCode); } \
NS_IMETHOD SetCode(const nsString& aCode) { return _to SetCode(aCode); } \
NS_IMETHOD GetAlign(nsString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsString& aAlign) { return _to SetAlign(aAlign); } \
NS_IMETHOD GetArchive(nsString& aArchive) { return _to GetArchive(aArchive); } \
NS_IMETHOD SetArchive(const nsString& aArchive) { return _to SetArchive(aArchive); } \
NS_IMETHOD GetBorder(nsString& aBorder) { return _to GetBorder(aBorder); } \
NS_IMETHOD SetBorder(const nsString& aBorder) { return _to SetBorder(aBorder); } \
NS_IMETHOD GetCodeBase(nsString& aCodeBase) { return _to GetCodeBase(aCodeBase); } \
NS_IMETHOD SetCodeBase(const nsString& aCodeBase) { return _to SetCodeBase(aCodeBase); } \
NS_IMETHOD GetCodeType(nsString& aCodeType) { return _to GetCodeType(aCodeType); } \
NS_IMETHOD SetCodeType(const nsString& aCodeType) { return _to SetCodeType(aCodeType); } \
NS_IMETHOD GetData(nsString& aData) { return _to GetData(aData); } \
NS_IMETHOD SetData(const nsString& aData) { return _to SetData(aData); } \
NS_IMETHOD GetDeclare(PRBool* aDeclare) { return _to GetDeclare(aDeclare); } \
NS_IMETHOD SetDeclare(PRBool aDeclare) { return _to SetDeclare(aDeclare); } \
NS_IMETHOD GetHeight(nsAWritableString& aHeight) { return _to GetHeight(aHeight); } \
NS_IMETHOD SetHeight(const nsAReadableString& aHeight) { return _to SetHeight(aHeight); } \
NS_IMETHOD GetHspace(nsAWritableString& aHspace) { return _to GetHspace(aHspace); } \
NS_IMETHOD SetHspace(const nsAReadableString& aHspace) { return _to SetHspace(aHspace); } \
NS_IMETHOD GetName(nsAWritableString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsAReadableString& aName) { return _to SetName(aName); } \
NS_IMETHOD GetStandby(nsAWritableString& aStandby) { return _to GetStandby(aStandby); } \
NS_IMETHOD SetStandby(const nsAReadableString& aStandby) { return _to SetStandby(aStandby); } \
NS_IMETHOD GetHeight(nsString& aHeight) { return _to GetHeight(aHeight); } \
NS_IMETHOD SetHeight(const nsString& aHeight) { return _to SetHeight(aHeight); } \
NS_IMETHOD GetHspace(nsString& aHspace) { return _to GetHspace(aHspace); } \
NS_IMETHOD SetHspace(const nsString& aHspace) { return _to SetHspace(aHspace); } \
NS_IMETHOD GetName(nsString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsString& aName) { return _to SetName(aName); } \
NS_IMETHOD GetStandby(nsString& aStandby) { return _to GetStandby(aStandby); } \
NS_IMETHOD SetStandby(const nsString& aStandby) { return _to SetStandby(aStandby); } \
NS_IMETHOD GetTabIndex(PRInt32* aTabIndex) { return _to GetTabIndex(aTabIndex); } \
NS_IMETHOD SetTabIndex(PRInt32 aTabIndex) { return _to SetTabIndex(aTabIndex); } \
NS_IMETHOD GetType(nsAWritableString& aType) { return _to GetType(aType); } \
NS_IMETHOD SetType(const nsAReadableString& aType) { return _to SetType(aType); } \
NS_IMETHOD GetUseMap(nsAWritableString& aUseMap) { return _to GetUseMap(aUseMap); } \
NS_IMETHOD SetUseMap(const nsAReadableString& aUseMap) { return _to SetUseMap(aUseMap); } \
NS_IMETHOD GetVspace(nsAWritableString& aVspace) { return _to GetVspace(aVspace); } \
NS_IMETHOD SetVspace(const nsAReadableString& aVspace) { return _to SetVspace(aVspace); } \
NS_IMETHOD GetWidth(nsAWritableString& aWidth) { return _to GetWidth(aWidth); } \
NS_IMETHOD SetWidth(const nsAReadableString& aWidth) { return _to SetWidth(aWidth); } \
NS_IMETHOD GetType(nsString& aType) { return _to GetType(aType); } \
NS_IMETHOD SetType(const nsString& aType) { return _to SetType(aType); } \
NS_IMETHOD GetUseMap(nsString& aUseMap) { return _to GetUseMap(aUseMap); } \
NS_IMETHOD SetUseMap(const nsString& aUseMap) { return _to SetUseMap(aUseMap); } \
NS_IMETHOD GetVspace(nsString& aVspace) { return _to GetVspace(aVspace); } \
NS_IMETHOD SetVspace(const nsString& aVspace) { return _to SetVspace(aVspace); } \
NS_IMETHOD GetWidth(nsString& aWidth) { return _to GetWidth(aWidth); } \
NS_IMETHOD SetWidth(const nsString& aWidth) { return _to SetWidth(aWidth); } \
NS_IMETHOD GetContentDocument(nsIDOMDocument** aContentDocument) { return _to GetContentDocument(aContentDocument); } \
NS_IMETHOD SetContentDocument(nsIDOMDocument* aContentDocument) { return _to SetContentDocument(aContentDocument); } \

Просмотреть файл

@ -41,24 +41,24 @@ public:
NS_IMETHOD GetDisabled(PRBool* aDisabled)=0;
NS_IMETHOD SetDisabled(PRBool aDisabled)=0;
NS_IMETHOD GetLabel(nsAWritableString& aLabel)=0;
NS_IMETHOD SetLabel(const nsAReadableString& aLabel)=0;
NS_IMETHOD GetLabel(nsString& aLabel)=0;
NS_IMETHOD SetLabel(const nsString& aLabel)=0;
};
#define NS_DECL_IDOMHTMLOPTGROUPELEMENT \
NS_IMETHOD GetDisabled(PRBool* aDisabled); \
NS_IMETHOD SetDisabled(PRBool aDisabled); \
NS_IMETHOD GetLabel(nsAWritableString& aLabel); \
NS_IMETHOD SetLabel(const nsAReadableString& aLabel); \
NS_IMETHOD GetLabel(nsString& aLabel); \
NS_IMETHOD SetLabel(const nsString& aLabel); \
#define NS_FORWARD_IDOMHTMLOPTGROUPELEMENT(_to) \
NS_IMETHOD GetDisabled(PRBool* aDisabled) { return _to GetDisabled(aDisabled); } \
NS_IMETHOD SetDisabled(PRBool aDisabled) { return _to SetDisabled(aDisabled); } \
NS_IMETHOD GetLabel(nsAWritableString& aLabel) { return _to GetLabel(aLabel); } \
NS_IMETHOD SetLabel(const nsAReadableString& aLabel) { return _to SetLabel(aLabel); } \
NS_IMETHOD GetLabel(nsString& aLabel) { return _to GetLabel(aLabel); } \
NS_IMETHOD SetLabel(const nsString& aLabel) { return _to SetLabel(aLabel); } \
extern "C" NS_DOM nsresult NS_InitHTMLOptGroupElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -44,22 +44,22 @@ public:
NS_IMETHOD GetDefaultSelected(PRBool* aDefaultSelected)=0;
NS_IMETHOD SetDefaultSelected(PRBool aDefaultSelected)=0;
NS_IMETHOD GetText(nsAWritableString& aText)=0;
NS_IMETHOD SetText(const nsAReadableString& aText)=0;
NS_IMETHOD GetText(nsString& aText)=0;
NS_IMETHOD SetText(const nsString& aText)=0;
NS_IMETHOD GetIndex(PRInt32* aIndex)=0;
NS_IMETHOD GetDisabled(PRBool* aDisabled)=0;
NS_IMETHOD SetDisabled(PRBool aDisabled)=0;
NS_IMETHOD GetLabel(nsAWritableString& aLabel)=0;
NS_IMETHOD SetLabel(const nsAReadableString& aLabel)=0;
NS_IMETHOD GetLabel(nsString& aLabel)=0;
NS_IMETHOD SetLabel(const nsString& aLabel)=0;
NS_IMETHOD GetSelected(PRBool* aSelected)=0;
NS_IMETHOD SetSelected(PRBool aSelected)=0;
NS_IMETHOD GetValue(nsAWritableString& aValue)=0;
NS_IMETHOD SetValue(const nsAReadableString& aValue)=0;
NS_IMETHOD GetValue(nsString& aValue)=0;
NS_IMETHOD SetValue(const nsString& aValue)=0;
};
@ -67,17 +67,17 @@ public:
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm); \
NS_IMETHOD GetDefaultSelected(PRBool* aDefaultSelected); \
NS_IMETHOD SetDefaultSelected(PRBool aDefaultSelected); \
NS_IMETHOD GetText(nsAWritableString& aText); \
NS_IMETHOD SetText(const nsAReadableString& aText); \
NS_IMETHOD GetText(nsString& aText); \
NS_IMETHOD SetText(const nsString& aText); \
NS_IMETHOD GetIndex(PRInt32* aIndex); \
NS_IMETHOD GetDisabled(PRBool* aDisabled); \
NS_IMETHOD SetDisabled(PRBool aDisabled); \
NS_IMETHOD GetLabel(nsAWritableString& aLabel); \
NS_IMETHOD SetLabel(const nsAReadableString& aLabel); \
NS_IMETHOD GetLabel(nsString& aLabel); \
NS_IMETHOD SetLabel(const nsString& aLabel); \
NS_IMETHOD GetSelected(PRBool* aSelected); \
NS_IMETHOD SetSelected(PRBool aSelected); \
NS_IMETHOD GetValue(nsAWritableString& aValue); \
NS_IMETHOD SetValue(const nsAReadableString& aValue); \
NS_IMETHOD GetValue(nsString& aValue); \
NS_IMETHOD SetValue(const nsString& aValue); \
@ -85,17 +85,17 @@ public:
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm) { return _to GetForm(aForm); } \
NS_IMETHOD GetDefaultSelected(PRBool* aDefaultSelected) { return _to GetDefaultSelected(aDefaultSelected); } \
NS_IMETHOD SetDefaultSelected(PRBool aDefaultSelected) { return _to SetDefaultSelected(aDefaultSelected); } \
NS_IMETHOD GetText(nsAWritableString& aText) { return _to GetText(aText); } \
NS_IMETHOD SetText(const nsAReadableString& aText) { return _to SetText(aText); } \
NS_IMETHOD GetText(nsString& aText) { return _to GetText(aText); } \
NS_IMETHOD SetText(const nsString& aText) { return _to SetText(aText); } \
NS_IMETHOD GetIndex(PRInt32* aIndex) { return _to GetIndex(aIndex); } \
NS_IMETHOD GetDisabled(PRBool* aDisabled) { return _to GetDisabled(aDisabled); } \
NS_IMETHOD SetDisabled(PRBool aDisabled) { return _to SetDisabled(aDisabled); } \
NS_IMETHOD GetLabel(nsAWritableString& aLabel) { return _to GetLabel(aLabel); } \
NS_IMETHOD SetLabel(const nsAReadableString& aLabel) { return _to SetLabel(aLabel); } \
NS_IMETHOD GetLabel(nsString& aLabel) { return _to GetLabel(aLabel); } \
NS_IMETHOD SetLabel(const nsString& aLabel) { return _to SetLabel(aLabel); } \
NS_IMETHOD GetSelected(PRBool* aSelected) { return _to GetSelected(aSelected); } \
NS_IMETHOD SetSelected(PRBool aSelected) { return _to SetSelected(aSelected); } \
NS_IMETHOD GetValue(nsAWritableString& aValue) { return _to GetValue(aValue); } \
NS_IMETHOD SetValue(const nsAReadableString& aValue) { return _to SetValue(aValue); } \
NS_IMETHOD GetValue(nsString& aValue) { return _to GetValue(aValue); } \
NS_IMETHOD SetValue(const nsString& aValue) { return _to SetValue(aValue); } \
extern "C" NS_DOM nsresult NS_InitHTMLOptionElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -38,20 +38,20 @@ class nsIDOMHTMLParagraphElement : public nsIDOMHTMLElement {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLPARAGRAPHELEMENT_IID; return iid; }
NS_IMETHOD GetAlign(nsAWritableString& aAlign)=0;
NS_IMETHOD SetAlign(const nsAReadableString& aAlign)=0;
NS_IMETHOD GetAlign(nsString& aAlign)=0;
NS_IMETHOD SetAlign(const nsString& aAlign)=0;
};
#define NS_DECL_IDOMHTMLPARAGRAPHELEMENT \
NS_IMETHOD GetAlign(nsAWritableString& aAlign); \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign); \
NS_IMETHOD GetAlign(nsString& aAlign); \
NS_IMETHOD SetAlign(const nsString& aAlign); \
#define NS_FORWARD_IDOMHTMLPARAGRAPHELEMENT(_to) \
NS_IMETHOD GetAlign(nsAWritableString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign) { return _to SetAlign(aAlign); } \
NS_IMETHOD GetAlign(nsString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsString& aAlign) { return _to SetAlign(aAlign); } \
extern "C" NS_DOM nsresult NS_InitHTMLParagraphElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -38,41 +38,41 @@ class nsIDOMHTMLParamElement : public nsIDOMHTMLElement {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLPARAMELEMENT_IID; return iid; }
NS_IMETHOD GetName(nsAWritableString& aName)=0;
NS_IMETHOD SetName(const nsAReadableString& aName)=0;
NS_IMETHOD GetName(nsString& aName)=0;
NS_IMETHOD SetName(const nsString& aName)=0;
NS_IMETHOD GetType(nsAWritableString& aType)=0;
NS_IMETHOD SetType(const nsAReadableString& aType)=0;
NS_IMETHOD GetType(nsString& aType)=0;
NS_IMETHOD SetType(const nsString& aType)=0;
NS_IMETHOD GetValue(nsAWritableString& aValue)=0;
NS_IMETHOD SetValue(const nsAReadableString& aValue)=0;
NS_IMETHOD GetValue(nsString& aValue)=0;
NS_IMETHOD SetValue(const nsString& aValue)=0;
NS_IMETHOD GetValueType(nsAWritableString& aValueType)=0;
NS_IMETHOD SetValueType(const nsAReadableString& aValueType)=0;
NS_IMETHOD GetValueType(nsString& aValueType)=0;
NS_IMETHOD SetValueType(const nsString& aValueType)=0;
};
#define NS_DECL_IDOMHTMLPARAMELEMENT \
NS_IMETHOD GetName(nsAWritableString& aName); \
NS_IMETHOD SetName(const nsAReadableString& aName); \
NS_IMETHOD GetType(nsAWritableString& aType); \
NS_IMETHOD SetType(const nsAReadableString& aType); \
NS_IMETHOD GetValue(nsAWritableString& aValue); \
NS_IMETHOD SetValue(const nsAReadableString& aValue); \
NS_IMETHOD GetValueType(nsAWritableString& aValueType); \
NS_IMETHOD SetValueType(const nsAReadableString& aValueType); \
NS_IMETHOD GetName(nsString& aName); \
NS_IMETHOD SetName(const nsString& aName); \
NS_IMETHOD GetType(nsString& aType); \
NS_IMETHOD SetType(const nsString& aType); \
NS_IMETHOD GetValue(nsString& aValue); \
NS_IMETHOD SetValue(const nsString& aValue); \
NS_IMETHOD GetValueType(nsString& aValueType); \
NS_IMETHOD SetValueType(const nsString& aValueType); \
#define NS_FORWARD_IDOMHTMLPARAMELEMENT(_to) \
NS_IMETHOD GetName(nsAWritableString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsAReadableString& aName) { return _to SetName(aName); } \
NS_IMETHOD GetType(nsAWritableString& aType) { return _to GetType(aType); } \
NS_IMETHOD SetType(const nsAReadableString& aType) { return _to SetType(aType); } \
NS_IMETHOD GetValue(nsAWritableString& aValue) { return _to GetValue(aValue); } \
NS_IMETHOD SetValue(const nsAReadableString& aValue) { return _to SetValue(aValue); } \
NS_IMETHOD GetValueType(nsAWritableString& aValueType) { return _to GetValueType(aValueType); } \
NS_IMETHOD SetValueType(const nsAReadableString& aValueType) { return _to SetValueType(aValueType); } \
NS_IMETHOD GetName(nsString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsString& aName) { return _to SetName(aName); } \
NS_IMETHOD GetType(nsString& aType) { return _to GetType(aType); } \
NS_IMETHOD SetType(const nsString& aType) { return _to SetType(aType); } \
NS_IMETHOD GetValue(nsString& aValue) { return _to GetValue(aValue); } \
NS_IMETHOD SetValue(const nsString& aValue) { return _to SetValue(aValue); } \
NS_IMETHOD GetValueType(nsString& aValueType) { return _to GetValueType(aValueType); } \
NS_IMETHOD SetValueType(const nsString& aValueType) { return _to SetValueType(aValueType); } \
extern "C" NS_DOM nsresult NS_InitHTMLParamElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -38,20 +38,20 @@ class nsIDOMHTMLQuoteElement : public nsIDOMHTMLElement {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLQUOTEELEMENT_IID; return iid; }
NS_IMETHOD GetCite(nsAWritableString& aCite)=0;
NS_IMETHOD SetCite(const nsAReadableString& aCite)=0;
NS_IMETHOD GetCite(nsString& aCite)=0;
NS_IMETHOD SetCite(const nsString& aCite)=0;
};
#define NS_DECL_IDOMHTMLQUOTEELEMENT \
NS_IMETHOD GetCite(nsAWritableString& aCite); \
NS_IMETHOD SetCite(const nsAReadableString& aCite); \
NS_IMETHOD GetCite(nsString& aCite); \
NS_IMETHOD SetCite(const nsString& aCite); \
#define NS_FORWARD_IDOMHTMLQUOTEELEMENT(_to) \
NS_IMETHOD GetCite(nsAWritableString& aCite) { return _to GetCite(aCite); } \
NS_IMETHOD SetCite(const nsAReadableString& aCite) { return _to SetCite(aCite); } \
NS_IMETHOD GetCite(nsString& aCite) { return _to GetCite(aCite); } \
NS_IMETHOD SetCite(const nsString& aCite) { return _to SetCite(aCite); } \
extern "C" NS_DOM nsresult NS_InitHTMLQuoteElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -38,62 +38,62 @@ class nsIDOMHTMLScriptElement : public nsIDOMHTMLElement {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLSCRIPTELEMENT_IID; return iid; }
NS_IMETHOD GetText(nsAWritableString& aText)=0;
NS_IMETHOD SetText(const nsAReadableString& aText)=0;
NS_IMETHOD GetText(nsString& aText)=0;
NS_IMETHOD SetText(const nsString& aText)=0;
NS_IMETHOD GetHtmlFor(nsAWritableString& aHtmlFor)=0;
NS_IMETHOD SetHtmlFor(const nsAReadableString& aHtmlFor)=0;
NS_IMETHOD GetHtmlFor(nsString& aHtmlFor)=0;
NS_IMETHOD SetHtmlFor(const nsString& aHtmlFor)=0;
NS_IMETHOD GetEvent(nsAWritableString& aEvent)=0;
NS_IMETHOD SetEvent(const nsAReadableString& aEvent)=0;
NS_IMETHOD GetEvent(nsString& aEvent)=0;
NS_IMETHOD SetEvent(const nsString& aEvent)=0;
NS_IMETHOD GetCharset(nsAWritableString& aCharset)=0;
NS_IMETHOD SetCharset(const nsAReadableString& aCharset)=0;
NS_IMETHOD GetCharset(nsString& aCharset)=0;
NS_IMETHOD SetCharset(const nsString& aCharset)=0;
NS_IMETHOD GetDefer(PRBool* aDefer)=0;
NS_IMETHOD SetDefer(PRBool aDefer)=0;
NS_IMETHOD GetSrc(nsAWritableString& aSrc)=0;
NS_IMETHOD SetSrc(const nsAReadableString& aSrc)=0;
NS_IMETHOD GetSrc(nsString& aSrc)=0;
NS_IMETHOD SetSrc(const nsString& aSrc)=0;
NS_IMETHOD GetType(nsAWritableString& aType)=0;
NS_IMETHOD SetType(const nsAReadableString& aType)=0;
NS_IMETHOD GetType(nsString& aType)=0;
NS_IMETHOD SetType(const nsString& aType)=0;
};
#define NS_DECL_IDOMHTMLSCRIPTELEMENT \
NS_IMETHOD GetText(nsAWritableString& aText); \
NS_IMETHOD SetText(const nsAReadableString& aText); \
NS_IMETHOD GetHtmlFor(nsAWritableString& aHtmlFor); \
NS_IMETHOD SetHtmlFor(const nsAReadableString& aHtmlFor); \
NS_IMETHOD GetEvent(nsAWritableString& aEvent); \
NS_IMETHOD SetEvent(const nsAReadableString& aEvent); \
NS_IMETHOD GetCharset(nsAWritableString& aCharset); \
NS_IMETHOD SetCharset(const nsAReadableString& aCharset); \
NS_IMETHOD GetText(nsString& aText); \
NS_IMETHOD SetText(const nsString& aText); \
NS_IMETHOD GetHtmlFor(nsString& aHtmlFor); \
NS_IMETHOD SetHtmlFor(const nsString& aHtmlFor); \
NS_IMETHOD GetEvent(nsString& aEvent); \
NS_IMETHOD SetEvent(const nsString& aEvent); \
NS_IMETHOD GetCharset(nsString& aCharset); \
NS_IMETHOD SetCharset(const nsString& aCharset); \
NS_IMETHOD GetDefer(PRBool* aDefer); \
NS_IMETHOD SetDefer(PRBool aDefer); \
NS_IMETHOD GetSrc(nsAWritableString& aSrc); \
NS_IMETHOD SetSrc(const nsAReadableString& aSrc); \
NS_IMETHOD GetType(nsAWritableString& aType); \
NS_IMETHOD SetType(const nsAReadableString& aType); \
NS_IMETHOD GetSrc(nsString& aSrc); \
NS_IMETHOD SetSrc(const nsString& aSrc); \
NS_IMETHOD GetType(nsString& aType); \
NS_IMETHOD SetType(const nsString& aType); \
#define NS_FORWARD_IDOMHTMLSCRIPTELEMENT(_to) \
NS_IMETHOD GetText(nsAWritableString& aText) { return _to GetText(aText); } \
NS_IMETHOD SetText(const nsAReadableString& aText) { return _to SetText(aText); } \
NS_IMETHOD GetHtmlFor(nsAWritableString& aHtmlFor) { return _to GetHtmlFor(aHtmlFor); } \
NS_IMETHOD SetHtmlFor(const nsAReadableString& aHtmlFor) { return _to SetHtmlFor(aHtmlFor); } \
NS_IMETHOD GetEvent(nsAWritableString& aEvent) { return _to GetEvent(aEvent); } \
NS_IMETHOD SetEvent(const nsAReadableString& aEvent) { return _to SetEvent(aEvent); } \
NS_IMETHOD GetCharset(nsAWritableString& aCharset) { return _to GetCharset(aCharset); } \
NS_IMETHOD SetCharset(const nsAReadableString& aCharset) { return _to SetCharset(aCharset); } \
NS_IMETHOD GetText(nsString& aText) { return _to GetText(aText); } \
NS_IMETHOD SetText(const nsString& aText) { return _to SetText(aText); } \
NS_IMETHOD GetHtmlFor(nsString& aHtmlFor) { return _to GetHtmlFor(aHtmlFor); } \
NS_IMETHOD SetHtmlFor(const nsString& aHtmlFor) { return _to SetHtmlFor(aHtmlFor); } \
NS_IMETHOD GetEvent(nsString& aEvent) { return _to GetEvent(aEvent); } \
NS_IMETHOD SetEvent(const nsString& aEvent) { return _to SetEvent(aEvent); } \
NS_IMETHOD GetCharset(nsString& aCharset) { return _to GetCharset(aCharset); } \
NS_IMETHOD SetCharset(const nsString& aCharset) { return _to SetCharset(aCharset); } \
NS_IMETHOD GetDefer(PRBool* aDefer) { return _to GetDefer(aDefer); } \
NS_IMETHOD SetDefer(PRBool aDefer) { return _to SetDefer(aDefer); } \
NS_IMETHOD GetSrc(nsAWritableString& aSrc) { return _to GetSrc(aSrc); } \
NS_IMETHOD SetSrc(const nsAReadableString& aSrc) { return _to SetSrc(aSrc); } \
NS_IMETHOD GetType(nsAWritableString& aType) { return _to GetType(aType); } \
NS_IMETHOD SetType(const nsAReadableString& aType) { return _to SetType(aType); } \
NS_IMETHOD GetSrc(nsString& aSrc) { return _to GetSrc(aSrc); } \
NS_IMETHOD SetSrc(const nsString& aSrc) { return _to SetSrc(aSrc); } \
NS_IMETHOD GetType(nsString& aType) { return _to GetType(aType); } \
NS_IMETHOD SetType(const nsString& aType) { return _to SetType(aType); } \
extern "C" NS_DOM nsresult NS_InitHTMLScriptElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -41,13 +41,13 @@ class nsIDOMHTMLSelectElement : public nsIDOMHTMLElement {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLSELECTELEMENT_IID; return iid; }
NS_IMETHOD GetType(nsAWritableString& aType)=0;
NS_IMETHOD GetType(nsString& aType)=0;
NS_IMETHOD GetSelectedIndex(PRInt32* aSelectedIndex)=0;
NS_IMETHOD SetSelectedIndex(PRInt32 aSelectedIndex)=0;
NS_IMETHOD GetValue(nsAWritableString& aValue)=0;
NS_IMETHOD SetValue(const nsAReadableString& aValue)=0;
NS_IMETHOD GetValue(nsString& aValue)=0;
NS_IMETHOD SetValue(const nsString& aValue)=0;
NS_IMETHOD GetLength(PRUint32* aLength)=0;
NS_IMETHOD SetLength(PRUint32 aLength)=0;
@ -62,8 +62,8 @@ public:
NS_IMETHOD GetMultiple(PRBool* aMultiple)=0;
NS_IMETHOD SetMultiple(PRBool aMultiple)=0;
NS_IMETHOD GetName(nsAWritableString& aName)=0;
NS_IMETHOD SetName(const nsAReadableString& aName)=0;
NS_IMETHOD GetName(nsString& aName)=0;
NS_IMETHOD SetName(const nsString& aName)=0;
NS_IMETHOD GetSize(PRInt32* aSize)=0;
NS_IMETHOD SetSize(PRInt32 aSize)=0;
@ -82,11 +82,11 @@ public:
#define NS_DECL_IDOMHTMLSELECTELEMENT \
NS_IMETHOD GetType(nsAWritableString& aType); \
NS_IMETHOD GetType(nsString& aType); \
NS_IMETHOD GetSelectedIndex(PRInt32* aSelectedIndex); \
NS_IMETHOD SetSelectedIndex(PRInt32 aSelectedIndex); \
NS_IMETHOD GetValue(nsAWritableString& aValue); \
NS_IMETHOD SetValue(const nsAReadableString& aValue); \
NS_IMETHOD GetValue(nsString& aValue); \
NS_IMETHOD SetValue(const nsString& aValue); \
NS_IMETHOD GetLength(PRUint32* aLength); \
NS_IMETHOD SetLength(PRUint32 aLength); \
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm); \
@ -95,8 +95,8 @@ public:
NS_IMETHOD SetDisabled(PRBool aDisabled); \
NS_IMETHOD GetMultiple(PRBool* aMultiple); \
NS_IMETHOD SetMultiple(PRBool aMultiple); \
NS_IMETHOD GetName(nsAWritableString& aName); \
NS_IMETHOD SetName(const nsAReadableString& aName); \
NS_IMETHOD GetName(nsString& aName); \
NS_IMETHOD SetName(const nsString& aName); \
NS_IMETHOD GetSize(PRInt32* aSize); \
NS_IMETHOD SetSize(PRInt32 aSize); \
NS_IMETHOD GetTabIndex(PRInt32* aTabIndex); \
@ -109,11 +109,11 @@ public:
#define NS_FORWARD_IDOMHTMLSELECTELEMENT(_to) \
NS_IMETHOD GetType(nsAWritableString& aType) { return _to GetType(aType); } \
NS_IMETHOD GetType(nsString& aType) { return _to GetType(aType); } \
NS_IMETHOD GetSelectedIndex(PRInt32* aSelectedIndex) { return _to GetSelectedIndex(aSelectedIndex); } \
NS_IMETHOD SetSelectedIndex(PRInt32 aSelectedIndex) { return _to SetSelectedIndex(aSelectedIndex); } \
NS_IMETHOD GetValue(nsAWritableString& aValue) { return _to GetValue(aValue); } \
NS_IMETHOD SetValue(const nsAReadableString& aValue) { return _to SetValue(aValue); } \
NS_IMETHOD GetValue(nsString& aValue) { return _to GetValue(aValue); } \
NS_IMETHOD SetValue(const nsString& aValue) { return _to SetValue(aValue); } \
NS_IMETHOD GetLength(PRUint32* aLength) { return _to GetLength(aLength); } \
NS_IMETHOD SetLength(PRUint32 aLength) { return _to SetLength(aLength); } \
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm) { return _to GetForm(aForm); } \
@ -122,8 +122,8 @@ public:
NS_IMETHOD SetDisabled(PRBool aDisabled) { return _to SetDisabled(aDisabled); } \
NS_IMETHOD GetMultiple(PRBool* aMultiple) { return _to GetMultiple(aMultiple); } \
NS_IMETHOD SetMultiple(PRBool aMultiple) { return _to SetMultiple(aMultiple); } \
NS_IMETHOD GetName(nsAWritableString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsAReadableString& aName) { return _to SetName(aName); } \
NS_IMETHOD GetName(nsString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsString& aName) { return _to SetName(aName); } \
NS_IMETHOD GetSize(PRInt32* aSize) { return _to GetSize(aSize); } \
NS_IMETHOD SetSize(PRInt32 aSize) { return _to SetSize(aSize); } \
NS_IMETHOD GetTabIndex(PRInt32* aTabIndex) { return _to GetTabIndex(aTabIndex); } \

Просмотреть файл

@ -41,31 +41,31 @@ public:
NS_IMETHOD GetDisabled(PRBool* aDisabled)=0;
NS_IMETHOD SetDisabled(PRBool aDisabled)=0;
NS_IMETHOD GetMedia(nsAWritableString& aMedia)=0;
NS_IMETHOD SetMedia(const nsAReadableString& aMedia)=0;
NS_IMETHOD GetMedia(nsString& aMedia)=0;
NS_IMETHOD SetMedia(const nsString& aMedia)=0;
NS_IMETHOD GetType(nsAWritableString& aType)=0;
NS_IMETHOD SetType(const nsAReadableString& aType)=0;
NS_IMETHOD GetType(nsString& aType)=0;
NS_IMETHOD SetType(const nsString& aType)=0;
};
#define NS_DECL_IDOMHTMLSTYLEELEMENT \
NS_IMETHOD GetDisabled(PRBool* aDisabled); \
NS_IMETHOD SetDisabled(PRBool aDisabled); \
NS_IMETHOD GetMedia(nsAWritableString& aMedia); \
NS_IMETHOD SetMedia(const nsAReadableString& aMedia); \
NS_IMETHOD GetType(nsAWritableString& aType); \
NS_IMETHOD SetType(const nsAReadableString& aType); \
NS_IMETHOD GetMedia(nsString& aMedia); \
NS_IMETHOD SetMedia(const nsString& aMedia); \
NS_IMETHOD GetType(nsString& aType); \
NS_IMETHOD SetType(const nsString& aType); \
#define NS_FORWARD_IDOMHTMLSTYLEELEMENT(_to) \
NS_IMETHOD GetDisabled(PRBool* aDisabled) { return _to GetDisabled(aDisabled); } \
NS_IMETHOD SetDisabled(PRBool aDisabled) { return _to SetDisabled(aDisabled); } \
NS_IMETHOD GetMedia(nsAWritableString& aMedia) { return _to GetMedia(aMedia); } \
NS_IMETHOD SetMedia(const nsAReadableString& aMedia) { return _to SetMedia(aMedia); } \
NS_IMETHOD GetType(nsAWritableString& aType) { return _to GetType(aType); } \
NS_IMETHOD SetType(const nsAReadableString& aType) { return _to SetType(aType); } \
NS_IMETHOD GetMedia(nsString& aMedia) { return _to GetMedia(aMedia); } \
NS_IMETHOD SetMedia(const nsString& aMedia) { return _to SetMedia(aMedia); } \
NS_IMETHOD GetType(nsString& aType) { return _to GetType(aType); } \
NS_IMETHOD SetType(const nsString& aType) { return _to SetType(aType); } \
extern "C" NS_DOM nsresult NS_InitHTMLStyleElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -38,20 +38,20 @@ class nsIDOMHTMLTableCaptionElement : public nsIDOMHTMLElement {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLTABLECAPTIONELEMENT_IID; return iid; }
NS_IMETHOD GetAlign(nsAWritableString& aAlign)=0;
NS_IMETHOD SetAlign(const nsAReadableString& aAlign)=0;
NS_IMETHOD GetAlign(nsString& aAlign)=0;
NS_IMETHOD SetAlign(const nsString& aAlign)=0;
};
#define NS_DECL_IDOMHTMLTABLECAPTIONELEMENT \
NS_IMETHOD GetAlign(nsAWritableString& aAlign); \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign); \
NS_IMETHOD GetAlign(nsString& aAlign); \
NS_IMETHOD SetAlign(const nsString& aAlign); \
#define NS_FORWARD_IDOMHTMLTABLECAPTIONELEMENT(_to) \
NS_IMETHOD GetAlign(nsAWritableString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign) { return _to SetAlign(aAlign); } \
NS_IMETHOD GetAlign(nsString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsString& aAlign) { return _to SetAlign(aAlign); } \
extern "C" NS_DOM nsresult NS_InitHTMLTableCaptionElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -41,32 +41,32 @@ public:
NS_IMETHOD GetCellIndex(PRInt32* aCellIndex)=0;
NS_IMETHOD SetCellIndex(PRInt32 aCellIndex)=0;
NS_IMETHOD GetAbbr(nsAWritableString& aAbbr)=0;
NS_IMETHOD SetAbbr(const nsAReadableString& aAbbr)=0;
NS_IMETHOD GetAbbr(nsString& aAbbr)=0;
NS_IMETHOD SetAbbr(const nsString& aAbbr)=0;
NS_IMETHOD GetAlign(nsAWritableString& aAlign)=0;
NS_IMETHOD SetAlign(const nsAReadableString& aAlign)=0;
NS_IMETHOD GetAlign(nsString& aAlign)=0;
NS_IMETHOD SetAlign(const nsString& aAlign)=0;
NS_IMETHOD GetAxis(nsAWritableString& aAxis)=0;
NS_IMETHOD SetAxis(const nsAReadableString& aAxis)=0;
NS_IMETHOD GetAxis(nsString& aAxis)=0;
NS_IMETHOD SetAxis(const nsString& aAxis)=0;
NS_IMETHOD GetBgColor(nsAWritableString& aBgColor)=0;
NS_IMETHOD SetBgColor(const nsAReadableString& aBgColor)=0;
NS_IMETHOD GetBgColor(nsString& aBgColor)=0;
NS_IMETHOD SetBgColor(const nsString& aBgColor)=0;
NS_IMETHOD GetCh(nsAWritableString& aCh)=0;
NS_IMETHOD SetCh(const nsAReadableString& aCh)=0;
NS_IMETHOD GetCh(nsString& aCh)=0;
NS_IMETHOD SetCh(const nsString& aCh)=0;
NS_IMETHOD GetChOff(nsAWritableString& aChOff)=0;
NS_IMETHOD SetChOff(const nsAReadableString& aChOff)=0;
NS_IMETHOD GetChOff(nsString& aChOff)=0;
NS_IMETHOD SetChOff(const nsString& aChOff)=0;
NS_IMETHOD GetColSpan(PRInt32* aColSpan)=0;
NS_IMETHOD SetColSpan(PRInt32 aColSpan)=0;
NS_IMETHOD GetHeaders(nsAWritableString& aHeaders)=0;
NS_IMETHOD SetHeaders(const nsAReadableString& aHeaders)=0;
NS_IMETHOD GetHeaders(nsString& aHeaders)=0;
NS_IMETHOD SetHeaders(const nsString& aHeaders)=0;
NS_IMETHOD GetHeight(nsAWritableString& aHeight)=0;
NS_IMETHOD SetHeight(const nsAReadableString& aHeight)=0;
NS_IMETHOD GetHeight(nsString& aHeight)=0;
NS_IMETHOD SetHeight(const nsString& aHeight)=0;
NS_IMETHOD GetNoWrap(PRBool* aNoWrap)=0;
NS_IMETHOD SetNoWrap(PRBool aNoWrap)=0;
@ -74,82 +74,82 @@ public:
NS_IMETHOD GetRowSpan(PRInt32* aRowSpan)=0;
NS_IMETHOD SetRowSpan(PRInt32 aRowSpan)=0;
NS_IMETHOD GetScope(nsAWritableString& aScope)=0;
NS_IMETHOD SetScope(const nsAReadableString& aScope)=0;
NS_IMETHOD GetScope(nsString& aScope)=0;
NS_IMETHOD SetScope(const nsString& aScope)=0;
NS_IMETHOD GetVAlign(nsAWritableString& aVAlign)=0;
NS_IMETHOD SetVAlign(const nsAReadableString& aVAlign)=0;
NS_IMETHOD GetVAlign(nsString& aVAlign)=0;
NS_IMETHOD SetVAlign(const nsString& aVAlign)=0;
NS_IMETHOD GetWidth(nsAWritableString& aWidth)=0;
NS_IMETHOD SetWidth(const nsAReadableString& aWidth)=0;
NS_IMETHOD GetWidth(nsString& aWidth)=0;
NS_IMETHOD SetWidth(const nsString& aWidth)=0;
};
#define NS_DECL_IDOMHTMLTABLECELLELEMENT \
NS_IMETHOD GetCellIndex(PRInt32* aCellIndex); \
NS_IMETHOD SetCellIndex(PRInt32 aCellIndex); \
NS_IMETHOD GetAbbr(nsAWritableString& aAbbr); \
NS_IMETHOD SetAbbr(const nsAReadableString& aAbbr); \
NS_IMETHOD GetAlign(nsAWritableString& aAlign); \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign); \
NS_IMETHOD GetAxis(nsAWritableString& aAxis); \
NS_IMETHOD SetAxis(const nsAReadableString& aAxis); \
NS_IMETHOD GetBgColor(nsAWritableString& aBgColor); \
NS_IMETHOD SetBgColor(const nsAReadableString& aBgColor); \
NS_IMETHOD GetCh(nsAWritableString& aCh); \
NS_IMETHOD SetCh(const nsAReadableString& aCh); \
NS_IMETHOD GetChOff(nsAWritableString& aChOff); \
NS_IMETHOD SetChOff(const nsAReadableString& aChOff); \
NS_IMETHOD GetAbbr(nsString& aAbbr); \
NS_IMETHOD SetAbbr(const nsString& aAbbr); \
NS_IMETHOD GetAlign(nsString& aAlign); \
NS_IMETHOD SetAlign(const nsString& aAlign); \
NS_IMETHOD GetAxis(nsString& aAxis); \
NS_IMETHOD SetAxis(const nsString& aAxis); \
NS_IMETHOD GetBgColor(nsString& aBgColor); \
NS_IMETHOD SetBgColor(const nsString& aBgColor); \
NS_IMETHOD GetCh(nsString& aCh); \
NS_IMETHOD SetCh(const nsString& aCh); \
NS_IMETHOD GetChOff(nsString& aChOff); \
NS_IMETHOD SetChOff(const nsString& aChOff); \
NS_IMETHOD GetColSpan(PRInt32* aColSpan); \
NS_IMETHOD SetColSpan(PRInt32 aColSpan); \
NS_IMETHOD GetHeaders(nsAWritableString& aHeaders); \
NS_IMETHOD SetHeaders(const nsAReadableString& aHeaders); \
NS_IMETHOD GetHeight(nsAWritableString& aHeight); \
NS_IMETHOD SetHeight(const nsAReadableString& aHeight); \
NS_IMETHOD GetHeaders(nsString& aHeaders); \
NS_IMETHOD SetHeaders(const nsString& aHeaders); \
NS_IMETHOD GetHeight(nsString& aHeight); \
NS_IMETHOD SetHeight(const nsString& aHeight); \
NS_IMETHOD GetNoWrap(PRBool* aNoWrap); \
NS_IMETHOD SetNoWrap(PRBool aNoWrap); \
NS_IMETHOD GetRowSpan(PRInt32* aRowSpan); \
NS_IMETHOD SetRowSpan(PRInt32 aRowSpan); \
NS_IMETHOD GetScope(nsAWritableString& aScope); \
NS_IMETHOD SetScope(const nsAReadableString& aScope); \
NS_IMETHOD GetVAlign(nsAWritableString& aVAlign); \
NS_IMETHOD SetVAlign(const nsAReadableString& aVAlign); \
NS_IMETHOD GetWidth(nsAWritableString& aWidth); \
NS_IMETHOD SetWidth(const nsAReadableString& aWidth); \
NS_IMETHOD GetScope(nsString& aScope); \
NS_IMETHOD SetScope(const nsString& aScope); \
NS_IMETHOD GetVAlign(nsString& aVAlign); \
NS_IMETHOD SetVAlign(const nsString& aVAlign); \
NS_IMETHOD GetWidth(nsString& aWidth); \
NS_IMETHOD SetWidth(const nsString& aWidth); \
#define NS_FORWARD_IDOMHTMLTABLECELLELEMENT(_to) \
NS_IMETHOD GetCellIndex(PRInt32* aCellIndex) { return _to GetCellIndex(aCellIndex); } \
NS_IMETHOD SetCellIndex(PRInt32 aCellIndex) { return _to SetCellIndex(aCellIndex); } \
NS_IMETHOD GetAbbr(nsAWritableString& aAbbr) { return _to GetAbbr(aAbbr); } \
NS_IMETHOD SetAbbr(const nsAReadableString& aAbbr) { return _to SetAbbr(aAbbr); } \
NS_IMETHOD GetAlign(nsAWritableString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign) { return _to SetAlign(aAlign); } \
NS_IMETHOD GetAxis(nsAWritableString& aAxis) { return _to GetAxis(aAxis); } \
NS_IMETHOD SetAxis(const nsAReadableString& aAxis) { return _to SetAxis(aAxis); } \
NS_IMETHOD GetBgColor(nsAWritableString& aBgColor) { return _to GetBgColor(aBgColor); } \
NS_IMETHOD SetBgColor(const nsAReadableString& aBgColor) { return _to SetBgColor(aBgColor); } \
NS_IMETHOD GetCh(nsAWritableString& aCh) { return _to GetCh(aCh); } \
NS_IMETHOD SetCh(const nsAReadableString& aCh) { return _to SetCh(aCh); } \
NS_IMETHOD GetChOff(nsAWritableString& aChOff) { return _to GetChOff(aChOff); } \
NS_IMETHOD SetChOff(const nsAReadableString& aChOff) { return _to SetChOff(aChOff); } \
NS_IMETHOD GetAbbr(nsString& aAbbr) { return _to GetAbbr(aAbbr); } \
NS_IMETHOD SetAbbr(const nsString& aAbbr) { return _to SetAbbr(aAbbr); } \
NS_IMETHOD GetAlign(nsString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsString& aAlign) { return _to SetAlign(aAlign); } \
NS_IMETHOD GetAxis(nsString& aAxis) { return _to GetAxis(aAxis); } \
NS_IMETHOD SetAxis(const nsString& aAxis) { return _to SetAxis(aAxis); } \
NS_IMETHOD GetBgColor(nsString& aBgColor) { return _to GetBgColor(aBgColor); } \
NS_IMETHOD SetBgColor(const nsString& aBgColor) { return _to SetBgColor(aBgColor); } \
NS_IMETHOD GetCh(nsString& aCh) { return _to GetCh(aCh); } \
NS_IMETHOD SetCh(const nsString& aCh) { return _to SetCh(aCh); } \
NS_IMETHOD GetChOff(nsString& aChOff) { return _to GetChOff(aChOff); } \
NS_IMETHOD SetChOff(const nsString& aChOff) { return _to SetChOff(aChOff); } \
NS_IMETHOD GetColSpan(PRInt32* aColSpan) { return _to GetColSpan(aColSpan); } \
NS_IMETHOD SetColSpan(PRInt32 aColSpan) { return _to SetColSpan(aColSpan); } \
NS_IMETHOD GetHeaders(nsAWritableString& aHeaders) { return _to GetHeaders(aHeaders); } \
NS_IMETHOD SetHeaders(const nsAReadableString& aHeaders) { return _to SetHeaders(aHeaders); } \
NS_IMETHOD GetHeight(nsAWritableString& aHeight) { return _to GetHeight(aHeight); } \
NS_IMETHOD SetHeight(const nsAReadableString& aHeight) { return _to SetHeight(aHeight); } \
NS_IMETHOD GetHeaders(nsString& aHeaders) { return _to GetHeaders(aHeaders); } \
NS_IMETHOD SetHeaders(const nsString& aHeaders) { return _to SetHeaders(aHeaders); } \
NS_IMETHOD GetHeight(nsString& aHeight) { return _to GetHeight(aHeight); } \
NS_IMETHOD SetHeight(const nsString& aHeight) { return _to SetHeight(aHeight); } \
NS_IMETHOD GetNoWrap(PRBool* aNoWrap) { return _to GetNoWrap(aNoWrap); } \
NS_IMETHOD SetNoWrap(PRBool aNoWrap) { return _to SetNoWrap(aNoWrap); } \
NS_IMETHOD GetRowSpan(PRInt32* aRowSpan) { return _to GetRowSpan(aRowSpan); } \
NS_IMETHOD SetRowSpan(PRInt32 aRowSpan) { return _to SetRowSpan(aRowSpan); } \
NS_IMETHOD GetScope(nsAWritableString& aScope) { return _to GetScope(aScope); } \
NS_IMETHOD SetScope(const nsAReadableString& aScope) { return _to SetScope(aScope); } \
NS_IMETHOD GetVAlign(nsAWritableString& aVAlign) { return _to GetVAlign(aVAlign); } \
NS_IMETHOD SetVAlign(const nsAReadableString& aVAlign) { return _to SetVAlign(aVAlign); } \
NS_IMETHOD GetWidth(nsAWritableString& aWidth) { return _to GetWidth(aWidth); } \
NS_IMETHOD SetWidth(const nsAReadableString& aWidth) { return _to SetWidth(aWidth); } \
NS_IMETHOD GetScope(nsString& aScope) { return _to GetScope(aScope); } \
NS_IMETHOD SetScope(const nsString& aScope) { return _to SetScope(aScope); } \
NS_IMETHOD GetVAlign(nsString& aVAlign) { return _to GetVAlign(aVAlign); } \
NS_IMETHOD SetVAlign(const nsString& aVAlign) { return _to SetVAlign(aVAlign); } \
NS_IMETHOD GetWidth(nsString& aWidth) { return _to GetWidth(aWidth); } \
NS_IMETHOD SetWidth(const nsString& aWidth) { return _to SetWidth(aWidth); } \
extern "C" NS_DOM nsresult NS_InitHTMLTableCellElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -38,55 +38,55 @@ class nsIDOMHTMLTableColElement : public nsIDOMHTMLElement {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLTABLECOLELEMENT_IID; return iid; }
NS_IMETHOD GetAlign(nsAWritableString& aAlign)=0;
NS_IMETHOD SetAlign(const nsAReadableString& aAlign)=0;
NS_IMETHOD GetAlign(nsString& aAlign)=0;
NS_IMETHOD SetAlign(const nsString& aAlign)=0;
NS_IMETHOD GetCh(nsAWritableString& aCh)=0;
NS_IMETHOD SetCh(const nsAReadableString& aCh)=0;
NS_IMETHOD GetCh(nsString& aCh)=0;
NS_IMETHOD SetCh(const nsString& aCh)=0;
NS_IMETHOD GetChOff(nsAWritableString& aChOff)=0;
NS_IMETHOD SetChOff(const nsAReadableString& aChOff)=0;
NS_IMETHOD GetChOff(nsString& aChOff)=0;
NS_IMETHOD SetChOff(const nsString& aChOff)=0;
NS_IMETHOD GetSpan(PRInt32* aSpan)=0;
NS_IMETHOD SetSpan(PRInt32 aSpan)=0;
NS_IMETHOD GetVAlign(nsAWritableString& aVAlign)=0;
NS_IMETHOD SetVAlign(const nsAReadableString& aVAlign)=0;
NS_IMETHOD GetVAlign(nsString& aVAlign)=0;
NS_IMETHOD SetVAlign(const nsString& aVAlign)=0;
NS_IMETHOD GetWidth(nsAWritableString& aWidth)=0;
NS_IMETHOD SetWidth(const nsAReadableString& aWidth)=0;
NS_IMETHOD GetWidth(nsString& aWidth)=0;
NS_IMETHOD SetWidth(const nsString& aWidth)=0;
};
#define NS_DECL_IDOMHTMLTABLECOLELEMENT \
NS_IMETHOD GetAlign(nsAWritableString& aAlign); \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign); \
NS_IMETHOD GetCh(nsAWritableString& aCh); \
NS_IMETHOD SetCh(const nsAReadableString& aCh); \
NS_IMETHOD GetChOff(nsAWritableString& aChOff); \
NS_IMETHOD SetChOff(const nsAReadableString& aChOff); \
NS_IMETHOD GetAlign(nsString& aAlign); \
NS_IMETHOD SetAlign(const nsString& aAlign); \
NS_IMETHOD GetCh(nsString& aCh); \
NS_IMETHOD SetCh(const nsString& aCh); \
NS_IMETHOD GetChOff(nsString& aChOff); \
NS_IMETHOD SetChOff(const nsString& aChOff); \
NS_IMETHOD GetSpan(PRInt32* aSpan); \
NS_IMETHOD SetSpan(PRInt32 aSpan); \
NS_IMETHOD GetVAlign(nsAWritableString& aVAlign); \
NS_IMETHOD SetVAlign(const nsAReadableString& aVAlign); \
NS_IMETHOD GetWidth(nsAWritableString& aWidth); \
NS_IMETHOD SetWidth(const nsAReadableString& aWidth); \
NS_IMETHOD GetVAlign(nsString& aVAlign); \
NS_IMETHOD SetVAlign(const nsString& aVAlign); \
NS_IMETHOD GetWidth(nsString& aWidth); \
NS_IMETHOD SetWidth(const nsString& aWidth); \
#define NS_FORWARD_IDOMHTMLTABLECOLELEMENT(_to) \
NS_IMETHOD GetAlign(nsAWritableString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign) { return _to SetAlign(aAlign); } \
NS_IMETHOD GetCh(nsAWritableString& aCh) { return _to GetCh(aCh); } \
NS_IMETHOD SetCh(const nsAReadableString& aCh) { return _to SetCh(aCh); } \
NS_IMETHOD GetChOff(nsAWritableString& aChOff) { return _to GetChOff(aChOff); } \
NS_IMETHOD SetChOff(const nsAReadableString& aChOff) { return _to SetChOff(aChOff); } \
NS_IMETHOD GetAlign(nsString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsString& aAlign) { return _to SetAlign(aAlign); } \
NS_IMETHOD GetCh(nsString& aCh) { return _to GetCh(aCh); } \
NS_IMETHOD SetCh(const nsString& aCh) { return _to SetCh(aCh); } \
NS_IMETHOD GetChOff(nsString& aChOff) { return _to GetChOff(aChOff); } \
NS_IMETHOD SetChOff(const nsString& aChOff) { return _to SetChOff(aChOff); } \
NS_IMETHOD GetSpan(PRInt32* aSpan) { return _to GetSpan(aSpan); } \
NS_IMETHOD SetSpan(PRInt32 aSpan) { return _to SetSpan(aSpan); } \
NS_IMETHOD GetVAlign(nsAWritableString& aVAlign) { return _to GetVAlign(aVAlign); } \
NS_IMETHOD SetVAlign(const nsAReadableString& aVAlign) { return _to SetVAlign(aVAlign); } \
NS_IMETHOD GetWidth(nsAWritableString& aWidth) { return _to GetWidth(aWidth); } \
NS_IMETHOD SetWidth(const nsAReadableString& aWidth) { return _to SetWidth(aWidth); } \
NS_IMETHOD GetVAlign(nsString& aVAlign) { return _to GetVAlign(aVAlign); } \
NS_IMETHOD SetVAlign(const nsString& aVAlign) { return _to SetVAlign(aVAlign); } \
NS_IMETHOD GetWidth(nsString& aWidth) { return _to GetWidth(aWidth); } \
NS_IMETHOD SetWidth(const nsString& aWidth) { return _to SetWidth(aWidth); } \
extern "C" NS_DOM nsresult NS_InitHTMLTableColElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -55,32 +55,32 @@ public:
NS_IMETHOD GetTBodies(nsIDOMHTMLCollection** aTBodies)=0;
NS_IMETHOD GetAlign(nsAWritableString& aAlign)=0;
NS_IMETHOD SetAlign(const nsAReadableString& aAlign)=0;
NS_IMETHOD GetAlign(nsString& aAlign)=0;
NS_IMETHOD SetAlign(const nsString& aAlign)=0;
NS_IMETHOD GetBgColor(nsAWritableString& aBgColor)=0;
NS_IMETHOD SetBgColor(const nsAReadableString& aBgColor)=0;
NS_IMETHOD GetBgColor(nsString& aBgColor)=0;
NS_IMETHOD SetBgColor(const nsString& aBgColor)=0;
NS_IMETHOD GetBorder(nsAWritableString& aBorder)=0;
NS_IMETHOD SetBorder(const nsAReadableString& aBorder)=0;
NS_IMETHOD GetBorder(nsString& aBorder)=0;
NS_IMETHOD SetBorder(const nsString& aBorder)=0;
NS_IMETHOD GetCellPadding(nsAWritableString& aCellPadding)=0;
NS_IMETHOD SetCellPadding(const nsAReadableString& aCellPadding)=0;
NS_IMETHOD GetCellPadding(nsString& aCellPadding)=0;
NS_IMETHOD SetCellPadding(const nsString& aCellPadding)=0;
NS_IMETHOD GetCellSpacing(nsAWritableString& aCellSpacing)=0;
NS_IMETHOD SetCellSpacing(const nsAReadableString& aCellSpacing)=0;
NS_IMETHOD GetCellSpacing(nsString& aCellSpacing)=0;
NS_IMETHOD SetCellSpacing(const nsString& aCellSpacing)=0;
NS_IMETHOD GetFrame(nsAWritableString& aFrame)=0;
NS_IMETHOD SetFrame(const nsAReadableString& aFrame)=0;
NS_IMETHOD GetFrame(nsString& aFrame)=0;
NS_IMETHOD SetFrame(const nsString& aFrame)=0;
NS_IMETHOD GetRules(nsAWritableString& aRules)=0;
NS_IMETHOD SetRules(const nsAReadableString& aRules)=0;
NS_IMETHOD GetRules(nsString& aRules)=0;
NS_IMETHOD SetRules(const nsString& aRules)=0;
NS_IMETHOD GetSummary(nsAWritableString& aSummary)=0;
NS_IMETHOD SetSummary(const nsAReadableString& aSummary)=0;
NS_IMETHOD GetSummary(nsString& aSummary)=0;
NS_IMETHOD SetSummary(const nsString& aSummary)=0;
NS_IMETHOD GetWidth(nsAWritableString& aWidth)=0;
NS_IMETHOD SetWidth(const nsAReadableString& aWidth)=0;
NS_IMETHOD GetWidth(nsString& aWidth)=0;
NS_IMETHOD SetWidth(const nsString& aWidth)=0;
NS_IMETHOD CreateTHead(nsIDOMHTMLElement** aReturn)=0;
@ -109,24 +109,24 @@ public:
NS_IMETHOD SetTFoot(nsIDOMHTMLTableSectionElement* aTFoot); \
NS_IMETHOD GetRows(nsIDOMHTMLCollection** aRows); \
NS_IMETHOD GetTBodies(nsIDOMHTMLCollection** aTBodies); \
NS_IMETHOD GetAlign(nsAWritableString& aAlign); \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign); \
NS_IMETHOD GetBgColor(nsAWritableString& aBgColor); \
NS_IMETHOD SetBgColor(const nsAReadableString& aBgColor); \
NS_IMETHOD GetBorder(nsAWritableString& aBorder); \
NS_IMETHOD SetBorder(const nsAReadableString& aBorder); \
NS_IMETHOD GetCellPadding(nsAWritableString& aCellPadding); \
NS_IMETHOD SetCellPadding(const nsAReadableString& aCellPadding); \
NS_IMETHOD GetCellSpacing(nsAWritableString& aCellSpacing); \
NS_IMETHOD SetCellSpacing(const nsAReadableString& aCellSpacing); \
NS_IMETHOD GetFrame(nsAWritableString& aFrame); \
NS_IMETHOD SetFrame(const nsAReadableString& aFrame); \
NS_IMETHOD GetRules(nsAWritableString& aRules); \
NS_IMETHOD SetRules(const nsAReadableString& aRules); \
NS_IMETHOD GetSummary(nsAWritableString& aSummary); \
NS_IMETHOD SetSummary(const nsAReadableString& aSummary); \
NS_IMETHOD GetWidth(nsAWritableString& aWidth); \
NS_IMETHOD SetWidth(const nsAReadableString& aWidth); \
NS_IMETHOD GetAlign(nsString& aAlign); \
NS_IMETHOD SetAlign(const nsString& aAlign); \
NS_IMETHOD GetBgColor(nsString& aBgColor); \
NS_IMETHOD SetBgColor(const nsString& aBgColor); \
NS_IMETHOD GetBorder(nsString& aBorder); \
NS_IMETHOD SetBorder(const nsString& aBorder); \
NS_IMETHOD GetCellPadding(nsString& aCellPadding); \
NS_IMETHOD SetCellPadding(const nsString& aCellPadding); \
NS_IMETHOD GetCellSpacing(nsString& aCellSpacing); \
NS_IMETHOD SetCellSpacing(const nsString& aCellSpacing); \
NS_IMETHOD GetFrame(nsString& aFrame); \
NS_IMETHOD SetFrame(const nsString& aFrame); \
NS_IMETHOD GetRules(nsString& aRules); \
NS_IMETHOD SetRules(const nsString& aRules); \
NS_IMETHOD GetSummary(nsString& aSummary); \
NS_IMETHOD SetSummary(const nsString& aSummary); \
NS_IMETHOD GetWidth(nsString& aWidth); \
NS_IMETHOD SetWidth(const nsString& aWidth); \
NS_IMETHOD CreateTHead(nsIDOMHTMLElement** aReturn); \
NS_IMETHOD DeleteTHead(); \
NS_IMETHOD CreateTFoot(nsIDOMHTMLElement** aReturn); \
@ -147,24 +147,24 @@ public:
NS_IMETHOD SetTFoot(nsIDOMHTMLTableSectionElement* aTFoot) { return _to SetTFoot(aTFoot); } \
NS_IMETHOD GetRows(nsIDOMHTMLCollection** aRows) { return _to GetRows(aRows); } \
NS_IMETHOD GetTBodies(nsIDOMHTMLCollection** aTBodies) { return _to GetTBodies(aTBodies); } \
NS_IMETHOD GetAlign(nsAWritableString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign) { return _to SetAlign(aAlign); } \
NS_IMETHOD GetBgColor(nsAWritableString& aBgColor) { return _to GetBgColor(aBgColor); } \
NS_IMETHOD SetBgColor(const nsAReadableString& aBgColor) { return _to SetBgColor(aBgColor); } \
NS_IMETHOD GetBorder(nsAWritableString& aBorder) { return _to GetBorder(aBorder); } \
NS_IMETHOD SetBorder(const nsAReadableString& aBorder) { return _to SetBorder(aBorder); } \
NS_IMETHOD GetCellPadding(nsAWritableString& aCellPadding) { return _to GetCellPadding(aCellPadding); } \
NS_IMETHOD SetCellPadding(const nsAReadableString& aCellPadding) { return _to SetCellPadding(aCellPadding); } \
NS_IMETHOD GetCellSpacing(nsAWritableString& aCellSpacing) { return _to GetCellSpacing(aCellSpacing); } \
NS_IMETHOD SetCellSpacing(const nsAReadableString& aCellSpacing) { return _to SetCellSpacing(aCellSpacing); } \
NS_IMETHOD GetFrame(nsAWritableString& aFrame) { return _to GetFrame(aFrame); } \
NS_IMETHOD SetFrame(const nsAReadableString& aFrame) { return _to SetFrame(aFrame); } \
NS_IMETHOD GetRules(nsAWritableString& aRules) { return _to GetRules(aRules); } \
NS_IMETHOD SetRules(const nsAReadableString& aRules) { return _to SetRules(aRules); } \
NS_IMETHOD GetSummary(nsAWritableString& aSummary) { return _to GetSummary(aSummary); } \
NS_IMETHOD SetSummary(const nsAReadableString& aSummary) { return _to SetSummary(aSummary); } \
NS_IMETHOD GetWidth(nsAWritableString& aWidth) { return _to GetWidth(aWidth); } \
NS_IMETHOD SetWidth(const nsAReadableString& aWidth) { return _to SetWidth(aWidth); } \
NS_IMETHOD GetAlign(nsString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsString& aAlign) { return _to SetAlign(aAlign); } \
NS_IMETHOD GetBgColor(nsString& aBgColor) { return _to GetBgColor(aBgColor); } \
NS_IMETHOD SetBgColor(const nsString& aBgColor) { return _to SetBgColor(aBgColor); } \
NS_IMETHOD GetBorder(nsString& aBorder) { return _to GetBorder(aBorder); } \
NS_IMETHOD SetBorder(const nsString& aBorder) { return _to SetBorder(aBorder); } \
NS_IMETHOD GetCellPadding(nsString& aCellPadding) { return _to GetCellPadding(aCellPadding); } \
NS_IMETHOD SetCellPadding(const nsString& aCellPadding) { return _to SetCellPadding(aCellPadding); } \
NS_IMETHOD GetCellSpacing(nsString& aCellSpacing) { return _to GetCellSpacing(aCellSpacing); } \
NS_IMETHOD SetCellSpacing(const nsString& aCellSpacing) { return _to SetCellSpacing(aCellSpacing); } \
NS_IMETHOD GetFrame(nsString& aFrame) { return _to GetFrame(aFrame); } \
NS_IMETHOD SetFrame(const nsString& aFrame) { return _to SetFrame(aFrame); } \
NS_IMETHOD GetRules(nsString& aRules) { return _to GetRules(aRules); } \
NS_IMETHOD SetRules(const nsString& aRules) { return _to SetRules(aRules); } \
NS_IMETHOD GetSummary(nsString& aSummary) { return _to GetSummary(aSummary); } \
NS_IMETHOD SetSummary(const nsString& aSummary) { return _to SetSummary(aSummary); } \
NS_IMETHOD GetWidth(nsString& aWidth) { return _to GetWidth(aWidth); } \
NS_IMETHOD SetWidth(const nsString& aWidth) { return _to SetWidth(aWidth); } \
NS_IMETHOD CreateTHead(nsIDOMHTMLElement** aReturn) { return _to CreateTHead(aReturn); } \
NS_IMETHOD DeleteTHead() { return _to DeleteTHead(); } \
NS_IMETHOD CreateTFoot(nsIDOMHTMLElement** aReturn) { return _to CreateTFoot(aReturn); } \

Просмотреть файл

@ -49,20 +49,20 @@ public:
NS_IMETHOD GetCells(nsIDOMHTMLCollection** aCells)=0;
NS_IMETHOD SetCells(nsIDOMHTMLCollection* aCells)=0;
NS_IMETHOD GetAlign(nsAWritableString& aAlign)=0;
NS_IMETHOD SetAlign(const nsAReadableString& aAlign)=0;
NS_IMETHOD GetAlign(nsString& aAlign)=0;
NS_IMETHOD SetAlign(const nsString& aAlign)=0;
NS_IMETHOD GetBgColor(nsAWritableString& aBgColor)=0;
NS_IMETHOD SetBgColor(const nsAReadableString& aBgColor)=0;
NS_IMETHOD GetBgColor(nsString& aBgColor)=0;
NS_IMETHOD SetBgColor(const nsString& aBgColor)=0;
NS_IMETHOD GetCh(nsAWritableString& aCh)=0;
NS_IMETHOD SetCh(const nsAReadableString& aCh)=0;
NS_IMETHOD GetCh(nsString& aCh)=0;
NS_IMETHOD SetCh(const nsString& aCh)=0;
NS_IMETHOD GetChOff(nsAWritableString& aChOff)=0;
NS_IMETHOD SetChOff(const nsAReadableString& aChOff)=0;
NS_IMETHOD GetChOff(nsString& aChOff)=0;
NS_IMETHOD SetChOff(const nsString& aChOff)=0;
NS_IMETHOD GetVAlign(nsAWritableString& aVAlign)=0;
NS_IMETHOD SetVAlign(const nsAReadableString& aVAlign)=0;
NS_IMETHOD GetVAlign(nsString& aVAlign)=0;
NS_IMETHOD SetVAlign(const nsString& aVAlign)=0;
NS_IMETHOD InsertCell(PRInt32 aIndex, nsIDOMHTMLElement** aReturn)=0;
@ -77,16 +77,16 @@ public:
NS_IMETHOD SetSectionRowIndex(PRInt32 aSectionRowIndex); \
NS_IMETHOD GetCells(nsIDOMHTMLCollection** aCells); \
NS_IMETHOD SetCells(nsIDOMHTMLCollection* aCells); \
NS_IMETHOD GetAlign(nsAWritableString& aAlign); \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign); \
NS_IMETHOD GetBgColor(nsAWritableString& aBgColor); \
NS_IMETHOD SetBgColor(const nsAReadableString& aBgColor); \
NS_IMETHOD GetCh(nsAWritableString& aCh); \
NS_IMETHOD SetCh(const nsAReadableString& aCh); \
NS_IMETHOD GetChOff(nsAWritableString& aChOff); \
NS_IMETHOD SetChOff(const nsAReadableString& aChOff); \
NS_IMETHOD GetVAlign(nsAWritableString& aVAlign); \
NS_IMETHOD SetVAlign(const nsAReadableString& aVAlign); \
NS_IMETHOD GetAlign(nsString& aAlign); \
NS_IMETHOD SetAlign(const nsString& aAlign); \
NS_IMETHOD GetBgColor(nsString& aBgColor); \
NS_IMETHOD SetBgColor(const nsString& aBgColor); \
NS_IMETHOD GetCh(nsString& aCh); \
NS_IMETHOD SetCh(const nsString& aCh); \
NS_IMETHOD GetChOff(nsString& aChOff); \
NS_IMETHOD SetChOff(const nsString& aChOff); \
NS_IMETHOD GetVAlign(nsString& aVAlign); \
NS_IMETHOD SetVAlign(const nsString& aVAlign); \
NS_IMETHOD InsertCell(PRInt32 aIndex, nsIDOMHTMLElement** aReturn); \
NS_IMETHOD DeleteCell(PRInt32 aIndex); \
@ -99,16 +99,16 @@ public:
NS_IMETHOD SetSectionRowIndex(PRInt32 aSectionRowIndex) { return _to SetSectionRowIndex(aSectionRowIndex); } \
NS_IMETHOD GetCells(nsIDOMHTMLCollection** aCells) { return _to GetCells(aCells); } \
NS_IMETHOD SetCells(nsIDOMHTMLCollection* aCells) { return _to SetCells(aCells); } \
NS_IMETHOD GetAlign(nsAWritableString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign) { return _to SetAlign(aAlign); } \
NS_IMETHOD GetBgColor(nsAWritableString& aBgColor) { return _to GetBgColor(aBgColor); } \
NS_IMETHOD SetBgColor(const nsAReadableString& aBgColor) { return _to SetBgColor(aBgColor); } \
NS_IMETHOD GetCh(nsAWritableString& aCh) { return _to GetCh(aCh); } \
NS_IMETHOD SetCh(const nsAReadableString& aCh) { return _to SetCh(aCh); } \
NS_IMETHOD GetChOff(nsAWritableString& aChOff) { return _to GetChOff(aChOff); } \
NS_IMETHOD SetChOff(const nsAReadableString& aChOff) { return _to SetChOff(aChOff); } \
NS_IMETHOD GetVAlign(nsAWritableString& aVAlign) { return _to GetVAlign(aVAlign); } \
NS_IMETHOD SetVAlign(const nsAReadableString& aVAlign) { return _to SetVAlign(aVAlign); } \
NS_IMETHOD GetAlign(nsString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsString& aAlign) { return _to SetAlign(aAlign); } \
NS_IMETHOD GetBgColor(nsString& aBgColor) { return _to GetBgColor(aBgColor); } \
NS_IMETHOD SetBgColor(const nsString& aBgColor) { return _to SetBgColor(aBgColor); } \
NS_IMETHOD GetCh(nsString& aCh) { return _to GetCh(aCh); } \
NS_IMETHOD SetCh(const nsString& aCh) { return _to SetCh(aCh); } \
NS_IMETHOD GetChOff(nsString& aChOff) { return _to GetChOff(aChOff); } \
NS_IMETHOD SetChOff(const nsString& aChOff) { return _to SetChOff(aChOff); } \
NS_IMETHOD GetVAlign(nsString& aVAlign) { return _to GetVAlign(aVAlign); } \
NS_IMETHOD SetVAlign(const nsString& aVAlign) { return _to SetVAlign(aVAlign); } \
NS_IMETHOD InsertCell(PRInt32 aIndex, nsIDOMHTMLElement** aReturn) { return _to InsertCell(aIndex, aReturn); } \
NS_IMETHOD DeleteCell(PRInt32 aIndex) { return _to DeleteCell(aIndex); } \

Просмотреть файл

@ -40,17 +40,17 @@ class nsIDOMHTMLTableSectionElement : public nsIDOMHTMLElement {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLTABLESECTIONELEMENT_IID; return iid; }
NS_IMETHOD GetAlign(nsAWritableString& aAlign)=0;
NS_IMETHOD SetAlign(const nsAReadableString& aAlign)=0;
NS_IMETHOD GetAlign(nsString& aAlign)=0;
NS_IMETHOD SetAlign(const nsString& aAlign)=0;
NS_IMETHOD GetCh(nsAWritableString& aCh)=0;
NS_IMETHOD SetCh(const nsAReadableString& aCh)=0;
NS_IMETHOD GetCh(nsString& aCh)=0;
NS_IMETHOD SetCh(const nsString& aCh)=0;
NS_IMETHOD GetChOff(nsAWritableString& aChOff)=0;
NS_IMETHOD SetChOff(const nsAReadableString& aChOff)=0;
NS_IMETHOD GetChOff(nsString& aChOff)=0;
NS_IMETHOD SetChOff(const nsString& aChOff)=0;
NS_IMETHOD GetVAlign(nsAWritableString& aVAlign)=0;
NS_IMETHOD SetVAlign(const nsAReadableString& aVAlign)=0;
NS_IMETHOD GetVAlign(nsString& aVAlign)=0;
NS_IMETHOD SetVAlign(const nsString& aVAlign)=0;
NS_IMETHOD GetRows(nsIDOMHTMLCollection** aRows)=0;
@ -61,14 +61,14 @@ public:
#define NS_DECL_IDOMHTMLTABLESECTIONELEMENT \
NS_IMETHOD GetAlign(nsAWritableString& aAlign); \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign); \
NS_IMETHOD GetCh(nsAWritableString& aCh); \
NS_IMETHOD SetCh(const nsAReadableString& aCh); \
NS_IMETHOD GetChOff(nsAWritableString& aChOff); \
NS_IMETHOD SetChOff(const nsAReadableString& aChOff); \
NS_IMETHOD GetVAlign(nsAWritableString& aVAlign); \
NS_IMETHOD SetVAlign(const nsAReadableString& aVAlign); \
NS_IMETHOD GetAlign(nsString& aAlign); \
NS_IMETHOD SetAlign(const nsString& aAlign); \
NS_IMETHOD GetCh(nsString& aCh); \
NS_IMETHOD SetCh(const nsString& aCh); \
NS_IMETHOD GetChOff(nsString& aChOff); \
NS_IMETHOD SetChOff(const nsString& aChOff); \
NS_IMETHOD GetVAlign(nsString& aVAlign); \
NS_IMETHOD SetVAlign(const nsString& aVAlign); \
NS_IMETHOD GetRows(nsIDOMHTMLCollection** aRows); \
NS_IMETHOD InsertRow(PRInt32 aIndex, nsIDOMHTMLElement** aReturn); \
NS_IMETHOD DeleteRow(PRInt32 aIndex); \
@ -76,14 +76,14 @@ public:
#define NS_FORWARD_IDOMHTMLTABLESECTIONELEMENT(_to) \
NS_IMETHOD GetAlign(nsAWritableString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsAReadableString& aAlign) { return _to SetAlign(aAlign); } \
NS_IMETHOD GetCh(nsAWritableString& aCh) { return _to GetCh(aCh); } \
NS_IMETHOD SetCh(const nsAReadableString& aCh) { return _to SetCh(aCh); } \
NS_IMETHOD GetChOff(nsAWritableString& aChOff) { return _to GetChOff(aChOff); } \
NS_IMETHOD SetChOff(const nsAReadableString& aChOff) { return _to SetChOff(aChOff); } \
NS_IMETHOD GetVAlign(nsAWritableString& aVAlign) { return _to GetVAlign(aVAlign); } \
NS_IMETHOD SetVAlign(const nsAReadableString& aVAlign) { return _to SetVAlign(aVAlign); } \
NS_IMETHOD GetAlign(nsString& aAlign) { return _to GetAlign(aAlign); } \
NS_IMETHOD SetAlign(const nsString& aAlign) { return _to SetAlign(aAlign); } \
NS_IMETHOD GetCh(nsString& aCh) { return _to GetCh(aCh); } \
NS_IMETHOD SetCh(const nsString& aCh) { return _to SetCh(aCh); } \
NS_IMETHOD GetChOff(nsString& aChOff) { return _to GetChOff(aChOff); } \
NS_IMETHOD SetChOff(const nsString& aChOff) { return _to SetChOff(aChOff); } \
NS_IMETHOD GetVAlign(nsString& aVAlign) { return _to GetVAlign(aVAlign); } \
NS_IMETHOD SetVAlign(const nsString& aVAlign) { return _to SetVAlign(aVAlign); } \
NS_IMETHOD GetRows(nsIDOMHTMLCollection** aRows) { return _to GetRows(aRows); } \
NS_IMETHOD InsertRow(PRInt32 aIndex, nsIDOMHTMLElement** aReturn) { return _to InsertRow(aIndex, aReturn); } \
NS_IMETHOD DeleteRow(PRInt32 aIndex) { return _to DeleteRow(aIndex); } \

Просмотреть файл

@ -39,13 +39,13 @@ class nsIDOMHTMLTextAreaElement : public nsIDOMHTMLElement {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLTEXTAREAELEMENT_IID; return iid; }
NS_IMETHOD GetDefaultValue(nsAWritableString& aDefaultValue)=0;
NS_IMETHOD SetDefaultValue(const nsAReadableString& aDefaultValue)=0;
NS_IMETHOD GetDefaultValue(nsString& aDefaultValue)=0;
NS_IMETHOD SetDefaultValue(const nsString& aDefaultValue)=0;
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm)=0;
NS_IMETHOD GetAccessKey(nsAWritableString& aAccessKey)=0;
NS_IMETHOD SetAccessKey(const nsAReadableString& aAccessKey)=0;
NS_IMETHOD GetAccessKey(nsString& aAccessKey)=0;
NS_IMETHOD SetAccessKey(const nsString& aAccessKey)=0;
NS_IMETHOD GetCols(PRInt32* aCols)=0;
NS_IMETHOD SetCols(PRInt32 aCols)=0;
@ -53,8 +53,8 @@ public:
NS_IMETHOD GetDisabled(PRBool* aDisabled)=0;
NS_IMETHOD SetDisabled(PRBool aDisabled)=0;
NS_IMETHOD GetName(nsAWritableString& aName)=0;
NS_IMETHOD SetName(const nsAReadableString& aName)=0;
NS_IMETHOD GetName(nsString& aName)=0;
NS_IMETHOD SetName(const nsString& aName)=0;
NS_IMETHOD GetReadOnly(PRBool* aReadOnly)=0;
NS_IMETHOD SetReadOnly(PRBool aReadOnly)=0;
@ -65,10 +65,10 @@ public:
NS_IMETHOD GetTabIndex(PRInt32* aTabIndex)=0;
NS_IMETHOD SetTabIndex(PRInt32 aTabIndex)=0;
NS_IMETHOD GetType(nsAWritableString& aType)=0;
NS_IMETHOD GetType(nsString& aType)=0;
NS_IMETHOD GetValue(nsAWritableString& aValue)=0;
NS_IMETHOD SetValue(const nsAReadableString& aValue)=0;
NS_IMETHOD GetValue(nsString& aValue)=0;
NS_IMETHOD SetValue(const nsString& aValue)=0;
NS_IMETHOD Blur()=0;
@ -79,26 +79,26 @@ public:
#define NS_DECL_IDOMHTMLTEXTAREAELEMENT \
NS_IMETHOD GetDefaultValue(nsAWritableString& aDefaultValue); \
NS_IMETHOD SetDefaultValue(const nsAReadableString& aDefaultValue); \
NS_IMETHOD GetDefaultValue(nsString& aDefaultValue); \
NS_IMETHOD SetDefaultValue(const nsString& aDefaultValue); \
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm); \
NS_IMETHOD GetAccessKey(nsAWritableString& aAccessKey); \
NS_IMETHOD SetAccessKey(const nsAReadableString& aAccessKey); \
NS_IMETHOD GetAccessKey(nsString& aAccessKey); \
NS_IMETHOD SetAccessKey(const nsString& aAccessKey); \
NS_IMETHOD GetCols(PRInt32* aCols); \
NS_IMETHOD SetCols(PRInt32 aCols); \
NS_IMETHOD GetDisabled(PRBool* aDisabled); \
NS_IMETHOD SetDisabled(PRBool aDisabled); \
NS_IMETHOD GetName(nsAWritableString& aName); \
NS_IMETHOD SetName(const nsAReadableString& aName); \
NS_IMETHOD GetName(nsString& aName); \
NS_IMETHOD SetName(const nsString& aName); \
NS_IMETHOD GetReadOnly(PRBool* aReadOnly); \
NS_IMETHOD SetReadOnly(PRBool aReadOnly); \
NS_IMETHOD GetRows(PRInt32* aRows); \
NS_IMETHOD SetRows(PRInt32 aRows); \
NS_IMETHOD GetTabIndex(PRInt32* aTabIndex); \
NS_IMETHOD SetTabIndex(PRInt32 aTabIndex); \
NS_IMETHOD GetType(nsAWritableString& aType); \
NS_IMETHOD GetValue(nsAWritableString& aValue); \
NS_IMETHOD SetValue(const nsAReadableString& aValue); \
NS_IMETHOD GetType(nsString& aType); \
NS_IMETHOD GetValue(nsString& aValue); \
NS_IMETHOD SetValue(const nsString& aValue); \
NS_IMETHOD Blur(); \
NS_IMETHOD Focus(); \
NS_IMETHOD Select(); \
@ -106,26 +106,26 @@ public:
#define NS_FORWARD_IDOMHTMLTEXTAREAELEMENT(_to) \
NS_IMETHOD GetDefaultValue(nsAWritableString& aDefaultValue) { return _to GetDefaultValue(aDefaultValue); } \
NS_IMETHOD SetDefaultValue(const nsAReadableString& aDefaultValue) { return _to SetDefaultValue(aDefaultValue); } \
NS_IMETHOD GetDefaultValue(nsString& aDefaultValue) { return _to GetDefaultValue(aDefaultValue); } \
NS_IMETHOD SetDefaultValue(const nsString& aDefaultValue) { return _to SetDefaultValue(aDefaultValue); } \
NS_IMETHOD GetForm(nsIDOMHTMLFormElement** aForm) { return _to GetForm(aForm); } \
NS_IMETHOD GetAccessKey(nsAWritableString& aAccessKey) { return _to GetAccessKey(aAccessKey); } \
NS_IMETHOD SetAccessKey(const nsAReadableString& aAccessKey) { return _to SetAccessKey(aAccessKey); } \
NS_IMETHOD GetAccessKey(nsString& aAccessKey) { return _to GetAccessKey(aAccessKey); } \
NS_IMETHOD SetAccessKey(const nsString& aAccessKey) { return _to SetAccessKey(aAccessKey); } \
NS_IMETHOD GetCols(PRInt32* aCols) { return _to GetCols(aCols); } \
NS_IMETHOD SetCols(PRInt32 aCols) { return _to SetCols(aCols); } \
NS_IMETHOD GetDisabled(PRBool* aDisabled) { return _to GetDisabled(aDisabled); } \
NS_IMETHOD SetDisabled(PRBool aDisabled) { return _to SetDisabled(aDisabled); } \
NS_IMETHOD GetName(nsAWritableString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsAReadableString& aName) { return _to SetName(aName); } \
NS_IMETHOD GetName(nsString& aName) { return _to GetName(aName); } \
NS_IMETHOD SetName(const nsString& aName) { return _to SetName(aName); } \
NS_IMETHOD GetReadOnly(PRBool* aReadOnly) { return _to GetReadOnly(aReadOnly); } \
NS_IMETHOD SetReadOnly(PRBool aReadOnly) { return _to SetReadOnly(aReadOnly); } \
NS_IMETHOD GetRows(PRInt32* aRows) { return _to GetRows(aRows); } \
NS_IMETHOD SetRows(PRInt32 aRows) { return _to SetRows(aRows); } \
NS_IMETHOD GetTabIndex(PRInt32* aTabIndex) { return _to GetTabIndex(aTabIndex); } \
NS_IMETHOD SetTabIndex(PRInt32 aTabIndex) { return _to SetTabIndex(aTabIndex); } \
NS_IMETHOD GetType(nsAWritableString& aType) { return _to GetType(aType); } \
NS_IMETHOD GetValue(nsAWritableString& aValue) { return _to GetValue(aValue); } \
NS_IMETHOD SetValue(const nsAReadableString& aValue) { return _to SetValue(aValue); } \
NS_IMETHOD GetType(nsString& aType) { return _to GetType(aType); } \
NS_IMETHOD GetValue(nsString& aValue) { return _to GetValue(aValue); } \
NS_IMETHOD SetValue(const nsString& aValue) { return _to SetValue(aValue); } \
NS_IMETHOD Blur() { return _to Blur(); } \
NS_IMETHOD Focus() { return _to Focus(); } \
NS_IMETHOD Select() { return _to Select(); } \

Просмотреть файл

@ -38,20 +38,20 @@ class nsIDOMHTMLTitleElement : public nsIDOMHTMLElement {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMHTMLTITLEELEMENT_IID; return iid; }
NS_IMETHOD GetText(nsAWritableString& aText)=0;
NS_IMETHOD SetText(const nsAReadableString& aText)=0;
NS_IMETHOD GetText(nsString& aText)=0;
NS_IMETHOD SetText(const nsString& aText)=0;
};
#define NS_DECL_IDOMHTMLTITLEELEMENT \
NS_IMETHOD GetText(nsAWritableString& aText); \
NS_IMETHOD SetText(const nsAReadableString& aText); \
NS_IMETHOD GetText(nsString& aText); \
NS_IMETHOD SetText(const nsString& aText); \
#define NS_FORWARD_IDOMHTMLTITLEELEMENT(_to) \
NS_IMETHOD GetText(nsAWritableString& aText) { return _to GetText(aText); } \
NS_IMETHOD SetText(const nsAReadableString& aText) { return _to SetText(aText); } \
NS_IMETHOD GetText(nsString& aText) { return _to GetText(aText); } \
NS_IMETHOD SetText(const nsString& aText) { return _to SetText(aText); } \
extern "C" NS_DOM nsresult NS_InitHTMLTitleElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -41,24 +41,24 @@ public:
NS_IMETHOD GetCompact(PRBool* aCompact)=0;
NS_IMETHOD SetCompact(PRBool aCompact)=0;
NS_IMETHOD GetType(nsAWritableString& aType)=0;
NS_IMETHOD SetType(const nsAReadableString& aType)=0;
NS_IMETHOD GetType(nsString& aType)=0;
NS_IMETHOD SetType(const nsString& aType)=0;
};
#define NS_DECL_IDOMHTMLULISTELEMENT \
NS_IMETHOD GetCompact(PRBool* aCompact); \
NS_IMETHOD SetCompact(PRBool aCompact); \
NS_IMETHOD GetType(nsAWritableString& aType); \
NS_IMETHOD SetType(const nsAReadableString& aType); \
NS_IMETHOD GetType(nsString& aType); \
NS_IMETHOD SetType(const nsString& aType); \
#define NS_FORWARD_IDOMHTMLULISTELEMENT(_to) \
NS_IMETHOD GetCompact(PRBool* aCompact) { return _to GetCompact(aCompact); } \
NS_IMETHOD SetCompact(PRBool aCompact) { return _to SetCompact(aCompact); } \
NS_IMETHOD GetType(nsAWritableString& aType) { return _to GetType(aType); } \
NS_IMETHOD SetType(const nsAReadableString& aType) { return _to SetType(aType); } \
NS_IMETHOD GetType(nsString& aType) { return _to GetType(aType); } \
NS_IMETHOD SetType(const nsString& aType) { return _to SetType(aType); } \
extern "C" NS_DOM nsresult NS_InitHTMLUListElementClass(nsIScriptContext *aContext, void **aPrototype);

Просмотреть файл

@ -37,8 +37,8 @@ class nsIDOMImage : public nsISupports {
public:
static const nsIID& GetIID() { static nsIID iid = NS_IDOMIMAGE_IID; return iid; }
NS_IMETHOD GetLowsrc(nsAWritableString& aLowsrc)=0;
NS_IMETHOD SetLowsrc(const nsAReadableString& aLowsrc)=0;
NS_IMETHOD GetLowsrc(nsString& aLowsrc)=0;
NS_IMETHOD SetLowsrc(const nsString& aLowsrc)=0;
NS_IMETHOD GetComplete(PRBool* aComplete)=0;
@ -60,8 +60,8 @@ public:
#define NS_DECL_IDOMIMAGE \
NS_IMETHOD GetLowsrc(nsAWritableString& aLowsrc); \
NS_IMETHOD SetLowsrc(const nsAReadableString& aLowsrc); \
NS_IMETHOD GetLowsrc(nsString& aLowsrc); \
NS_IMETHOD SetLowsrc(const nsString& aLowsrc); \
NS_IMETHOD GetComplete(PRBool* aComplete); \
NS_IMETHOD GetBorder(PRInt32* aBorder); \
NS_IMETHOD SetBorder(PRInt32 aBorder); \
@ -77,8 +77,8 @@ public:
#define NS_FORWARD_IDOMIMAGE(_to) \
NS_IMETHOD GetLowsrc(nsAWritableString& aLowsrc) { return _to GetLowsrc(aLowsrc); } \
NS_IMETHOD SetLowsrc(const nsAReadableString& aLowsrc) { return _to SetLowsrc(aLowsrc); } \
NS_IMETHOD GetLowsrc(nsString& aLowsrc) { return _to GetLowsrc(aLowsrc); } \
NS_IMETHOD SetLowsrc(const nsString& aLowsrc) { return _to SetLowsrc(aLowsrc); } \
NS_IMETHOD GetComplete(PRBool* aComplete) { return _to GetComplete(aComplete); } \
NS_IMETHOD GetBorder(PRInt32* aBorder) { return _to GetBorder(aBorder); } \
NS_IMETHOD SetBorder(PRInt32 aBorder) { return _to SetBorder(aBorder); } \

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше