if (gAccountManagerResourceRefCnt++ == 0) { getRDFService()->GetResource(NC_RDF_CHILD, &kNC_Child); getRDFService()->GetResource(NC_RDF_NAME, &kNC_Name); getRDFService()->GetResource(NC_RDF_FOLDERTREENAME, &kNC_FolderTreeName); getRDFService()->GetResource(NC_RDF_NAME_SORT, &kNC_NameSort); getRDFService()->GetResource(NC_RDF_FOLDERTREENAME_SORT, &kNC_FolderTreeNameSort); getRDFService()->GetResource(NC_RDF_PAGETAG, &kNC_PageTag); getRDFService()->GetResource(NC_RDF_ISDEFAULTSERVER, &kNC_IsDefaultServer); getRDFService()->GetResource(NC_RDF_SUPPORTSFILTERS, &kNC_SupportsFilters); getRDFService()->GetResource(NC_RDF_ACCOUNT, &kNC_Account); getRDFService()->GetResource(NC_RDF_SERVER, &kNC_Server); getRDFService()->GetResource(NC_RDF_IDENTITY, &kNC_Identity); getRDFService()->GetResource(NC_RDF_PAGETITLE_MAIN, &kNC_PageTitleMain); getRDFService()->GetResource(NC_RDF_PAGETITLE_SERVER, &kNC_PageTitleServer); getRDFService()->GetResource(NC_RDF_PAGETITLE_COPIES, &kNC_PageTitleCopies); getRDFService()->GetResource(NC_RDF_PAGETITLE_ADVANCED, &kNC_PageTitleAdvanced); getRDFService()->GetResource(NC_RDF_PAGETITLE_SMTP, &kNC_PageTitleSMTP);  getRDFService()->GetResource(NC_RDF_ACCOUNTROOT, &kNC_AccountRoot);  getRDFService()->GetLiteral(NS_ConvertASCIItoUCS2("true").GetUnicode(), &kTrueLiteral);    getRDFService()->GetResource(NC_RDF_SETTINGS, &kNC_Settings);  kDefaultServerAtom = NS_NewAtom("DefaultServer"); }
nsMsgAccountManagerDataSource::nsMsgAccountManagerDataSource(){#ifdef DEBUG_amds  printf("nsMsgAccountManagerDataSource() being created\n");#endif    // do per-class initialization here  if (gAccountManagerResourceRefCnt++ == 0) {      getRDFService()->GetResource(NC_RDF_CHILD, &kNC_Child);      getRDFService()->GetResource(NC_RDF_NAME, &kNC_Name);      getRDFService()->GetResource(NC_RDF_FOLDERTREENAME, &kNC_FolderTreeName);      getRDFService()->GetResource(NC_RDF_NAME_SORT, &kNC_NameSort);      getRDFService()->GetResource(NC_RDF_FOLDERTREENAME_SORT, &kNC_FolderTreeNameSort);      getRDFService()->GetResource(NC_RDF_PAGETAG, &kNC_PageTag);      getRDFService()->GetResource(NC_RDF_ISDEFAULTSERVER, &kNC_IsDefaultServer);      getRDFService()->GetResource(NC_RDF_SUPPORTSFILTERS, &kNC_SupportsFilters);      getRDFService()->GetResource(NC_RDF_ACCOUNT, &kNC_Account);      getRDFService()->GetResource(NC_RDF_SERVER, &kNC_Server);      getRDFService()->GetResource(NC_RDF_IDENTITY, &kNC_Identity);      getRDFService()->GetResource(NC_RDF_PAGETITLE_MAIN, &kNC_PageTitleMain);      getRDFService()->GetResource(NC_RDF_PAGETITLE_SERVER, &kNC_PageTitleServer);      getRDFService()->GetResource(NC_RDF_PAGETITLE_COPIES, &kNC_PageTitleCopies);      getRDFService()->GetResource(NC_RDF_PAGETITLE_ADVANCED, &kNC_PageTitleAdvanced);      getRDFService()->GetResource(NC_RDF_PAGETITLE_SMTP, &kNC_PageTitleSMTP);            getRDFService()->GetResource(NC_RDF_ACCOUNTROOT, &kNC_AccountRoot);      getRDFService()->GetLiteral(NS_ConvertASCIItoUCS2("true").GetUnicode(),                                  &kTrueLiteral);            // eventually these need to exist in some kind of array      // that's easily extensible      getRDFService()->GetResource(NC_RDF_SETTINGS, &kNC_Settings);            kDefaultServerAtom = NS_NewAtom("DefaultServer");    }}