NS_IMETHODIMP nsPref::SetFilePref(const char *pref, nsIFileSpec *value, PRBool setDefault)
NS_IMETHODIMP nsPref::SetFilePref(const char *pref_name, nsIFileSpec* value, PRBool set_default)
NS_IMETHODIMP nsPref::SetFilePref(const char *pref, nsIFileSpec *value, PRBool setDefault){  nsresult  rv;  if (setDefault) {    rv = mDefaultBranch->SetComplexValue(pref, NS_GET_IID(nsIFileSpec), value);  } else {    nsCOMPtr<nsIPrefBranch> prefBranch = do_QueryInterface(mPrefService, &rv);    if (NS_SUCCEEDED(rv))      rv = prefBranch->SetComplexValue(pref, NS_GET_IID(nsIFileSpec), value);  }    return rv;}