char * aKey)
char * aKey, nsString ** aDecs, PRInt32 aCount)
nsresult nsCharsetMenu::AddFromPrefsToMenu(nsIPref * aPref,                                            nsIRDFService * aRDFServ,                                            nsICharsetConverterManager * aCCMan,                                            nsObjectArray * aObjectArray,                                            nsIRDFContainer * aContainer,                                            char * aKey){  nsresult res = NS_OK;  char * value = NULL;  res = aPref->CopyCharPref(aKey, &value);  if (NS_FAILED(res)) return res;  if (value != NULL) {    res = AddFromStringToMenu(value, aRDFServ, aCCMan, aObjectArray, aContainer);    nsAllocator::Free(value);  }  return res;}