mDirectoryAtom = dont_AddRef(NS_NewAtom("directory")); mFileAtom = dont_AddRef(NS_NewAtom("file"));
mDirectoryAtom = do_GetAtom("directory"); mFileAtom = do_GetAtom("file");
nsFileView::Init(){  mDirectoryAtom = dont_AddRef(NS_NewAtom("directory"));  mFileAtom = dont_AddRef(NS_NewAtom("file"));  NS_NewISupportsArray(getter_AddRefs(mFileList));  NS_NewISupportsArray(getter_AddRefs(mDirList));  NS_NewISupportsArray(getter_AddRefs(mFilteredFiles));  mDateFormatter = do_CreateInstance(kDateTimeFormatCID);  return NS_OK;}