当前位置: 首页>>代码示例>>C++>>正文


C++ TMsvEntry::SetMtmData3方法代码示例

本文整理汇总了C++中TMsvEntry::SetMtmData3方法的典型用法代码示例。如果您正苦于以下问题:C++ TMsvEntry::SetMtmData3方法的具体用法?C++ TMsvEntry::SetMtmData3怎么用?C++ TMsvEntry::SetMtmData3使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在TMsvEntry的用法示例。


在下文中一共展示了TMsvEntry::SetMtmData3方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: CompleteMessage

TInt CIacSettingsParser::CompleteMessage()
	{
	TMsvEntry entry = iEntry.Entry();
	entry.SetMtmData3(KBIO_MSG_ENTRY_PROCESSED);
	TRAPD(error, iEntry.ChangeL(entry));
	return error;
	}
开发者ID:cdaffara,项目名称:symbiandump-mw2,代码行数:7,代码来源:IACP.CPP

示例2: LaunchEditorL

// methods from CSendAsEditUtils
void CSendAsTestEditUtils::LaunchEditorL(TMsvId /*aId*/, TRequestStatus& aStatus)
	{

	CDummyObserver* ob1 = new(ELeave) CDummyObserver;
	CleanupStack::PushL(ob1);

	CMsvSession* session = CMsvSession::OpenSyncL(*ob1);
	CleanupStack::PushL(session);

	CMsvEntry* cEntry = CMsvEntry::NewL(*session, KMsvDraftEntryId, 
		TMsvSelectionOrdering(KMsvNoGrouping,EMsvSortByNone,ETrue));
	CleanupStack::PushL(cEntry);

	CMsvEntrySelection* selection = cEntry->ChildrenL();
	CleanupStack::PushL(selection);

	CMsvEntry* cEntry2 = session->GetEntryL(selection->At(0));
	CleanupStack::PushL(cEntry2);

	TMsvEntry entry = cEntry2->Entry();
	entry.SetMtmData3(234567890); // Show we've been called by touching the TMsvEntry.
	cEntry2->ChangeL(entry);
	
	CleanupStack::PopAndDestroy(5, ob1); // cEntry2, selection, cEntry, session, ob1

	iUserStatus = &aStatus;
	aStatus = KRequestPending;
	// wait a few seconds before completing
	iEditTimer->After(KSendAsTestEditWaitTime);
	}
开发者ID:cdaffara,项目名称:symbiandump-mw2,代码行数:31,代码来源:csendastesteditutils.cpp

示例3: SetForMtmTypeL

void TestUniDataModelVCalPlugin::SetForMtmTypeL(TMsvEntry& aEntry,
                                                TBIOMessageType aType)
{
		TInt index;

		aEntry.iBioType = KUidBIOVCalenderMsg;

		// Set other TMsvEntry fields if we have a BIO message type
		if (aType != ENoMessage)
			{
				aEntry.SetMtmData2(0);
				aEntry.SetMtmData3(0);
			}

		// set description from BIF file
		iBioDb->GetBioIndexWithMsgIDL(TUid::Uid(aEntry.iBioType), index);
		if (index == KErrNotFound)
			User::Leave(KErrNotFound);
		aEntry.iDescription.Set(iBioDb->BifReader(index).Description());
}
开发者ID:cdaffara,项目名称:symbiandump-ossapps,代码行数:20,代码来源:testunidatamodelvcalplugin.cpp


注:本文中的TMsvEntry::SetMtmData3方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。