Got rid of unused, unimplemented nsISOAPCall:SetSimpleParameters. The script version of nsISOAPCall::SetParameters does exactly this. This is not part of the default build

This commit is contained in:
vidur%netscape.com 2000-07-14 00:34:50 +00:00
parent 42dac6be95
commit 2915cc0f6b
4 changed files with 6 additions and 38 deletions

View File

@ -125,22 +125,12 @@ interface nsISOAPCall : nsISupports {
* The script-only method for setting the list of parameters to
* include in the SOAP call. Despite what the idl implies, this
* method takes an arbitrary number of arguments. Each is either
* a SOAPParameter object or a JavaScript value which will be
* converted to an unnamed SOAPParameter.
* a SOAPParameter object or a JavaScript value (string, number
* boolean, array or object) which will be converted to an unnamed
* SOAPParameter.
*/
void setParameters();
/**
* A script-only method for setting the list of parameters, where
* the parameters are unnamed and are encoded using the default
* encoding style. This method actually expects a variable number
* of arguments, each representing an individual parameter - an
* actual script type and not a nsISOAPParameter object. This is
* purely a convenience for scripters who want unnamed parameters
* and don't want to create an array of parameter objects.
*/
void setSimpleParameters();
/**
* Synchronously make the SOAP call. At this point, the document
* rooted by the Envelope element is serialized to form the body

View File

@ -667,12 +667,6 @@ NS_IMETHODIMP nsSOAPCall::SetParameters()
return NS_OK;
}
/* void setSimpleParameters (); */
NS_IMETHODIMP nsSOAPCall::SetSimpleParameters()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
nsresult
nsSOAPCall::GetTransport(nsISOAPTransport** aTransport)
{

View File

@ -125,22 +125,12 @@ interface nsISOAPCall : nsISupports {
* The script-only method for setting the list of parameters to
* include in the SOAP call. Despite what the idl implies, this
* method takes an arbitrary number of arguments. Each is either
* a SOAPParameter object or a JavaScript value which will be
* converted to an unnamed SOAPParameter.
* a SOAPParameter object or a JavaScript value (string, number
* boolean, array or object) which will be converted to an unnamed
* SOAPParameter.
*/
void setParameters();
/**
* A script-only method for setting the list of parameters, where
* the parameters are unnamed and are encoded using the default
* encoding style. This method actually expects a variable number
* of arguments, each representing an individual parameter - an
* actual script type and not a nsISOAPParameter object. This is
* purely a convenience for scripters who want unnamed parameters
* and don't want to create an array of parameter objects.
*/
void setSimpleParameters();
/**
* Synchronously make the SOAP call. At this point, the document
* rooted by the Envelope element is serialized to form the body

View File

@ -667,12 +667,6 @@ NS_IMETHODIMP nsSOAPCall::SetParameters()
return NS_OK;
}
/* void setSimpleParameters (); */
NS_IMETHODIMP nsSOAPCall::SetSimpleParameters()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
nsresult
nsSOAPCall::GetTransport(nsISOAPTransport** aTransport)
{