void nsPrinterFeatures::SetCharValue( const char *tagname, const char *value ) { nsPrintfCString prefName(256, PRINTERFEATURES_PREF ".%s.%s", mPrinterName.get(), tagname); Preferences::SetCString(prefName.get(), value); }
void nsPrinterFeatures::SetBoolValue( const char *tagname, bool value ) { nsPrintfCString prefName(PRINTERFEATURES_PREF ".%s.%s", mPrinterName.get(), tagname); Preferences::SetBool(prefName.get(), value); }
void nsPrinterFeatures::SetCharValue( const char *tagname, const char *value ) { mPrefs->SetCharPref(nsPrintfCString(256, PRINTERFEATURES_PREF ".%s.%s", mPrinterName.get(), tagname).get(), value); }