void CMyUi::ConstructL() {
BaseConstructL();
RFs fileSession = Document()->Process()->FsSession();
CDictionaryStore* store = Application()->OpenIniFileLC(fileSession);
if (store->IsPresentL(KKey1Uid)) {
RDictionaryReadStream in;
JAVA手机网[www.cnjm.net] in.OpenLC(*store, KKey1Uid);
in >> *iMyConfig;
CleanupStack: opAndDestroy();
JAVA手机网[www.cnjm.net]} else {
iMyConfig->SetDefault();
RDictionaryWriteStream out;
JAVA手机网[www.cnjm.net] out.AssignLC(*store, KKey1Uid);
out << *iMyConfig;
JAVA手机网[www.cnjm.net] out.CommitL();
CleanupStack: opAndDestroy();
store->CommitL();
}
CleanupStack: opAndDestroy();
//...
}
阅读(198)
(责任编辑:城市网)