You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.
nsIPrefLocalizedStringinterface is simply a wrapper interface for
nsISupportsWStringso the preferences service can have a unique identifier to distinguish between requests for normal wide strings (
nsISupportsWString) and "localized" wide strings, which get their default values from properites files. This interface is scriptable.
, nsISupportsWString.void nsIPrefLocalizedString::setDataWithLength( in unsigned long length, [size_is(length)] in wstring data)
length:The length of the string. This value should not include space for the
nullterminator, nor should it account for the size of a character. It should only be the number of characters for which there is space in the string.
| Written by:Ellen Evans | Comments, questions, complaints?