DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc

git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jst%netscape.com
2000-08-23 17:27:06 +00:00
parent c53de61c00
commit 7e0575bfee
632 changed files with 11678 additions and 10726 deletions

View File

@@ -41,8 +41,8 @@ class nsFormFrame;
#define CSS_NOTSET -1
#define ATTR_NOTSET -1
#define NS_STRING_TRUE "1"
#define NS_STRING_FALSE "0"
#define NS_STRING_TRUE NS_LITERAL_STRING("1")
#define NS_STRING_FALSE NS_LITERAL_STRING("0")
/**
* Enumeration of possible mouse states used to detect mouse clicks
@@ -145,7 +145,7 @@ public:
* @returns PR_TRUE if aValue = "1", PR_FALSE otherwise
*/
static PRBool GetBool(const nsString& aValue);
static PRBool GetBool(const nsAReadableString& aValue);
/**
* Utility to convert a PRBool to a string
@@ -155,7 +155,7 @@ public:
*/
static void GetBoolString(const PRBool aValue, nsString& aResult);
static void GetBoolString(const PRBool aValue, nsAWritableString& aResult);
// XXX similar functionality needs to be added to widget library and these
// need to change to use it.