NS_DECL_ISUPPORTS NS_DECL_NSISOAPENCODING nsSOAPEncodingRegistry() { } nsSOAPEncodingRegistry(nsISOAPEncoding * aEncoding);
nsSOAPEncodingRegistry::nsSOAPEncodingRegistry(nsISOAPEncoding *aEncoding) : mEncodings(nsnull, nsnull, DeleteEncodingEntry, nsnull, 4) { nsAutoString style; nsresult rc = aEncoding->GetStyleURI(style); NS_ASSERTION(rc, "nsSOAPEncoding Regsitry constructed without style");  nsStringKey styleKey(style); mEncodings.Put(&styleKey, aEncoding); }
  NS_DECL_ISUPPORTS NS_DECL_NSISOAPENCODING nsSOAPEncodingRegistry() {  } nsSOAPEncodingRegistry(nsISOAPEncoding * aEncoding);