本文整理汇总了C++中CList::AppendL方法的典型用法代码示例。如果您正苦于以下问题:C++ CList::AppendL方法的具体用法?C++ CList::AppendL怎么用?C++ CList::AppendL使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CList
的用法示例。
在下文中一共展示了CList::AppendL方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: Deleted
void CBBSubSessionImpl::Deleted(const TTupleName& aName, const TDesC& aSubName)
{
CALLSTACKITEM_N(_CL("CBBSubSessionImpl"), _CL("NewValue"));
TItem t(0, aName, aSubName, KNoComponent, 0);
iPending->AppendL(t);
Async();
}
示例2: NewValue
void CBBSubSessionImpl::NewValue(TUint aId, const TTupleName& aTupleName, const TDesC& aSubName, const TComponentName& aComponentName,
const CRefCountedData* aData)
{
CALLSTACKITEM_N(_CL("CBBSubSessionImpl"), _CL("NewValue"));
TItem t(aId, aTupleName, aSubName, aComponentName, aData);
iPending->AppendL(t);
t.iData->AddRef();
Async();
}
示例3: expired
void CSmsSnapshotImpl::expired(CBase* /*Source*/)
{
CALLSTACKITEM_N(_CL("CSmsSnapshotImpl"), _CL("expired"));
iToBeSend->AppendL(TSendTo(KNullDesC, _L("automatic snapshot")));
cb->status_change(_L("taking picture"));
iSnapShot->TakeSnapShot(DataDir(), this);
if (iInterval>0) iTimer->Wait(iInterval);
}
示例4: Prompt
void CUploadViewImpl::Prompt(const TDesC& FileName, MUploadCallBack* CallBack)
{
CALLSTACKITEM_N(_CL("CUploadViewImpl"), _CL("Prompt"));
*iNextViewId=TVwsViewId();
if (!iCallBack) {
iFileName=FileName;
iCallBack=CallBack;
if (iContainer) iNext=true;
else AppUi()->ActivateLocalViewL(iId);
} else {
iCallBacks->AppendL(TCallBackItem(FileName, CallBack));
}
}
示例5: IncomingTuple
void CBBListenerImpl::IncomingTuple(const CBBTuple* aTuple)
{
iTimer->Wait(KMaxAckInterval);
TTupleName tn= { aTuple->iTupleMeta.iModuleUid(), aTuple->iTupleMeta.iModuleId() };
auto_ptr<HBufC8> serialized(HBufC8::NewL(1024));
if (! iSeenIds->SeenIdL(aTuple->iTupleId()) ) {
PutTupleL(tn, aTuple->iTupleMeta.iSubName(),
aTuple->iData(), aTuple->iExpires());
iSeenIds->SetAsSeenL(aTuple->iTupleId());
}
iToAck->AppendL(aTuple->iTupleId());
}
示例6: handle_reception
bool CSmsSnapshotImpl::handle_reception(const TMsvId& ,
const TMsvId& , const TDesC& sender,
const TDesC& body)
{
CALLSTACKITEM_N(_CL("CSmsSnapshotImpl"), _CL("handle_reception"));
// return true if message is to be deleted
if (!iEnabled) return false;
//if (sender.Length()<4) return false;
iToBeSend->AppendL(TSendTo(sender, body));
cb->status_change(_L("taking picture"));
iSnapShot->TakeSnapShot(DataDir(), this);
return true;
}