Added 2nd param inputs for nsIDOMWindow in nsICmdParams. GRE 1.3a tag in winEmbedFileLocProvider.cpp. Not part of the build.

git-svn-id: svn://10.0.0.236/trunk@133809 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
depstein%netscape.com
2002-11-14 02:39:46 +00:00
parent e64c6379e3
commit 857ed7d1e4
2 changed files with 6 additions and 6 deletions

View File

@@ -60,7 +60,7 @@ void CnsICmdParams::GetValueTypeTest(const char *aCommand, const char *stateType
return;
}
else {
rv = cmdMgrObj->GetCommandState(aCommand,cmdParamObj);
rv = cmdMgrObj->GetCommandState(aCommand, nsnull, cmdParamObj);
RvTestResult(rv, "cmdMgrObj->GetCommandState test", displayMode);
}
rv = cmdParamObj->GetValueType(stateType, &retval);
@@ -85,7 +85,7 @@ void CnsICmdParams::GetBooleanValueTest(const char *aCommand, const char *stateT
return;
}
else
cmdMgrObj->GetCommandState(aCommand, cmdParamObj);
cmdMgrObj->GetCommandState(aCommand, nsnull, cmdParamObj);
rv = cmdParamObj->GetBooleanValue(stateType, &retval);
RvTestResult(rv, "GetBooleanValue test", displayMode);
@@ -159,7 +159,7 @@ void CnsICmdParams::GetCStringValueTest(const char *aCommand, const char *stateT
return;
}
else
cmdMgrObj->GetCommandState(aCommand, cmdParamObj);
cmdMgrObj->GetCommandState(aCommand, nsnull, cmdParamObj);
char *tCstringValue = nsnull;
rv = cmdParamObj->GetCStringValue(stateType, &tCstringValue);
RvTestResult(rv, "GetCStringValue test", displayMode);

View File

@@ -190,14 +190,14 @@ static char * GetGreLocationFromRegistry()
// 1. Note the usage of the "Software\\Mozilla\\GRE" subkey - this allows
// us to have multiple versions of GREs on the same machine by having
// subkeys such as 1.0, 1.1, 2.0 etc. under it.
// 2. In this sample below we're looking for the location of GRE version 1.2
// i.e. we're compatible with GRE 1.2 and we're trying to find it's install
// 2. In this sample below we're looking for the location of GRE version 1.3
// i.e. we're compatible with GRE 1.3 and we're trying to find it's install
// location.
//
// Please see http://www.mozilla.org/projects/embedding/MRE.html for
// more info.
//
strcpy(szKey, "Software\\Mozilla\\GRE\\1.2b");
strcpy(szKey, "Software\\Mozilla\\GRE\\1.3a");
if (::RegOpenKeyEx(HKEY_LOCAL_MACHINE, szKey, 0, KEY_QUERY_VALUE, &hRegKey) == ERROR_SUCCESS)
{