本文整理汇总了C++中TIpcArgs类的典型用法代码示例。如果您正苦于以下问题:C++ TIpcArgs类的具体用法?C++ TIpcArgs怎么用?C++ TIpcArgs使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了TIpcArgs类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: MarshallArgumentsL
void CDisplayDeviceIncompatibility::MarshallArgumentsL(TIpcArgs& aArguments)
{
*iStream << iAppInfo;
iIpcInputPtr.Set(iStream->Ptr());
aArguments.Set(0, &iIpcInputPtr);
aArguments.Set(1, &iResultPackage);
}
开发者ID:cdaffara,项目名称:symbiandump-mw1,代码行数:8,代码来源:displaydeviceincompatibility.cpp
示例2: typeMsg
// ---------------------------------------------------------------------------
// RPeninputServerImpl::UpdateAppInfo
// Update current application information
// ---------------------------------------------------------------------------
//
void RPeninputServerImpl::UpdateAppInfo(const TDesC& aInfo, TPeninputAppInfo aType)
{
TPckgC<TPeninputAppInfo> typeMsg(aType);
TIpcArgs arg;
arg.Set(KMsgSlot0,&typeMsg);
arg.Set(KMsgSlot1,&aInfo);
SendReceive(EPeninputRequestUpdateAppInfo,arg);
}
开发者ID:kuailexs,项目名称:symbiandump-mw1,代码行数:13,代码来源:penclientimpl.cpp
示例3: __ASSERT_ALWAYS
// -----------------------------------------------------------------------------
// RSWInstLauncher::Install
// Launches the software install procedure.
// (other items were commented in a header).
// -----------------------------------------------------------------------------
//
EXPORT_C TInt RSWInstLauncher::Install( const TDesC& aFileName )
{
__ASSERT_ALWAYS( iConnected, PanicClient( ESWInstPanicBadHandle ) );
TIpcArgs args;
args.Set( KFileNameIpcSlot, &aFileName );
return SendReceive( ERequestInstall, args );
}
开发者ID:cdaffara,项目名称:symbiandump-mw1,代码行数:14,代码来源:SWInstLauncher.cpp
示例4: ptr
// -----------------------------------------------------------------------------
// RVoIPAudioSession::OpenRingTonePlayer
// -----------------------------------------------------------------------------
//
EXPORT_C TInt RVoIPAudioSession::OpenRingTonePlayer(const TDesC8& aDesData)
{
TPtrC8 ptr(aDesData);
TIpcArgs args;
args.Set(0, &ptr);
TInt err = SendClientRequest(EVoIPOpenRingTonePlayerFromDes, args);
return err;
}
开发者ID:kuailexs,项目名称:symbiandump-mw2,代码行数:12,代码来源:VoIPAudioSession.cpp
示例5: labelPtr
QString CSmfCredMgrClientSymbian::storeRSAKeysL(const QString KeyLabel,
const QString keydata, const QDateTime Validity)
{
RDebug::Printf("Sending store RSA key message to server");
TPtrC labelPtr(qt_QString2TPtrC(KeyLabel));
TPtr dataPtr((qt_QString2HBufC(keydata)->Des()));
QDateTime CurrentTime = QDateTime::currentDateTime();
TTimeIntervalSeconds duration(CurrentTime.secsTo(Validity));
TTime startDate;
startDate.UniversalTime();
TTime endDate(startDate);
endDate += duration;
CSmfRsaKeyParameters* storeRSAKeysparams = CSmfRsaKeyParameters::NewL(
labelPtr, startDate, endDate, (dataPtr.Collapse()));
CleanupStack::PushL(storeRSAKeysparams);
CBufFlat* buf = CBufFlat::NewL(KMinBufSize);
CleanupStack::PushL(buf);
RBufWriteStream stream(*buf);
CleanupClosePushL(stream);
storeRSAKeysparams->ExternalizeL(stream);
stream.CommitL();
TPtr8 bufPtr = buf->Ptr(0);
TIpcArgs args;
args.Set(0, &bufPtr);
CleanupStack::PopAndDestroy(&stream);
HBufC8* retBuf = HBufC8::NewLC(KSHA1HashLengthBytes);
TPtr8 retBufPtr(retBuf->Des());
args.Set(1, &retBufPtr);
iSession.RequestService(ESmfStoreRSAKey, args);
RDebug::Printf("SMF: Message completed");
TBuf<KSHA1HashLengthBytes> key;
key.Copy(retBufPtr);
QString RetString(qt_TDesC2QString(key));
CleanupStack::Pop(retBuf);
CleanupStack::PopAndDestroy(buf);
CleanupStack::PopAndDestroy(storeRSAKeysparams);
RDebug::Printf("-In storeAuthDataL()");
return (RetString);
}
开发者ID:cdaffara,项目名称:symbiandump-mw4,代码行数:58,代码来源:smfcredmgrclient_p.cpp
示例6: MarshallArgumentsL
void CDisplayApplicationsInUse::MarshallArgumentsL(TIpcArgs& aArguments)
{
*iStream << iAppInfo;
StreamOutArrayL(iAppNames,*iStream);
iIpcInputPtr.Set(iStream->Ptr());
aArguments.Set(0, &iIpcInputPtr);
aArguments.Set(1, &iResultPackage);
}
开发者ID:cdaffara,项目名称:symbiandump-mw1,代码行数:9,代码来源:displayapplicationsinuse.cpp
示例7: bufPtr
void CSmfCredMgrClientSymbian::deleteRSAKey(QString KeyLabel)
{
TPtr bufPtr((qt_QString2HBufC(KeyLabel))->Des());
TIpcArgs args;
args.Set(0, &bufPtr);
iSession.RequestService(ESmfDeleteKeys, args);
}
开发者ID:cdaffara,项目名称:symbiandump-mw4,代码行数:9,代码来源:smfcredmgrclient_p.cpp
示例8: MarshallArgumentsL
void CDisplayLanguage::MarshallArgumentsL(TIpcArgs& aArguments)
{
*iStream << iAppInfo;
StreamOutArrayL(iLanguages, *iStream);;
iIpcInputPtr.Set(iStream->Ptr());
aArguments.Set(0, &iIpcInputPtr);
aArguments.Set(1, &iResultPackage);
}
开发者ID:cdaffara,项目名称:symbiandump-mw1,代码行数:9,代码来源:displaylanguage.cpp
示例9: MarshallArgumentsL
void CDisplayDependencyBreak::MarshallArgumentsL(TIpcArgs& aArguments)
{
*iStream << iAppInfo;
StreamOutArrayL(iComponents, *iStream);
iIpcInputPtr.Set(iStream->Ptr());
aArguments.Set(0, &iIpcInputPtr);
aArguments.Set(1, &iResultPackage);
}
开发者ID:cdaffara,项目名称:symbiandump-mw1,代码行数:9,代码来源:displaydependencybreak.cpp
示例10: PrepareArgumentsL
void RPackagerTestClient::PrepareArgumentsL(TIpcArgs& anArgs) const
/** Sets a TIpcArgs object with the packager's buffer details necessary
for inter-process data exchange.
@param anArgs The TIpcArgs object to be set. */
{
anArgs.Set(EIPCPackagerTransmitBuffer, &iPackager->GetTransmittingBuffer());
anArgs.Set(EIPCPackagerReceiveBuffer, &iPackager->GetReceivingBufferL());
}
开发者ID:Esclapion,项目名称:qt-mobility,代码行数:9,代码来源:t_packagertestclient.cpp
示例11: msgPos
// ---------------------------------------------------------------------------
// RPeninputServerImpl::UiLayoutPos
// get ui layout position
// ---------------------------------------------------------------------------
//
void RPeninputServerImpl::GetUiLayoutPosAndSize()
{
TPckg<TPoint> msgPos(iPosition);
TPckg<TSize> msgSize(iSize);
TIpcArgs arg;
arg.Set(KMsgSlot0,&msgPos);
arg.Set(KMsgSlot1,&msgSize);
SendReceive(EPeninputRequestUiGetUiPos,arg);
}
开发者ID:kuailexs,项目名称:symbiandump-mw1,代码行数:15,代码来源:penclientimpl.cpp
示例12: MarshallArgumentsL
void CDisplayText::MarshallArgumentsL(TIpcArgs& aArguments)
{
*iStream << iAppInfo;
*iStream << TPckgC<TFileTextOption>(iOption);
*iStream << iText;
iIpcInputPtr.Set(iStream->Ptr());
aArguments.Set(0, &iIpcInputPtr);
aArguments.Set(1, &iResultPackage);
}
开发者ID:cdaffara,项目名称:symbiandump-mw1,代码行数:10,代码来源:displaytext.cpp
示例13: SwitchOutputToFileL
EXPORT_C void RMemSpySession::SwitchOutputToFileL(const TDesC& aRootFolder)
{
TIpcArgs args;
if (aRootFolder.Length())
{
args.Set(0, &aRootFolder);
}
User::LeaveIfError(SendReceive(EMemSpyClientServerOpSwitchOutputSinkFile, args));
}
开发者ID:cdaffara,项目名称:symbiandump-os2,代码行数:10,代码来源:memspysession.cpp
示例14: GetServerEventData
// ---------------------------------------------------------------------------
// RPeninputServerImpl::GetServerEventData
// Retrieve server event data
// ---------------------------------------------------------------------------
//
TInt RPeninputServerImpl::GetServerEventData(TDes& aBuf)
{
if(iServerExit) // ???
return -1;
TIpcArgs arg;
aBuf.Zero();
arg.Set(KMsgSlot0,aBuf.MaxLength());
arg.Set(KMsgSlot1,&aBuf);
return SendReceive(EPeninputRequestGetServerEventData,arg);
}
开发者ID:kuailexs,项目名称:symbiandump-mw1,代码行数:16,代码来源:penclientimpl.cpp
示例15: DisabledLayout
// ---------------------------------------------------------------------------
// RPeninputServerImpl::SetDisplayMode
// To disable specified layouts at a time.
// ---------------------------------------------------------------------------
//
TInt RPeninputServerImpl::DisabledLayout()
{
TInt layouts = 0;
TIpcArgs arg;
TPckg<TInt> msg(layouts);
arg.Set(KMsgSlot0,&msg);
SendReceive( EPeninputRequestGetDisableLayout, arg );
return layouts;
}
开发者ID:kuailexs,项目名称:symbiandump-mw1,代码行数:16,代码来源:penclientimpl.cpp
示例16: SupportInputMode
// ---------------------------------------------------------------------------
// RPeninputServerImpl::IsDimmed
// ---------------------------------------------------------------------------
//
TInt RPeninputServerImpl::SupportInputMode()
{
TInt supportMode = 0;
TIpcArgs arg;
TPckg<TInt> msg(supportMode);
arg.Set(KMsgSlot0,&msg);
SendReceive(EPeninputRequestSupportInputMode,arg);
return supportMode;
}
开发者ID:kuailexs,项目名称:symbiandump-mw1,代码行数:15,代码来源:penclientimpl.cpp
示例17: IsVisible
// ---------------------------------------------------------------------------
// RPeninputServerImpl::IsVisible
// ---------------------------------------------------------------------------
//
TBool RPeninputServerImpl::IsVisible()
{
TBool bVisible;
TIpcArgs arg;
TPckg<TBool> msg(bVisible);
arg.Set(KMsgSlot0,&msg);
SendReceive(EPeninputRequestUiIsVisible,arg);
return bVisible;
}
开发者ID:kuailexs,项目名称:symbiandump-mw1,代码行数:15,代码来源:penclientimpl.cpp
示例18: IsDimmed
// ---------------------------------------------------------------------------
// RPeninputServerImpl::IsVisible
// ---------------------------------------------------------------------------
//
TBool RPeninputServerImpl::IsDimmed()
{
TBool bDimmed;
TIpcArgs arg;
TPckg<TBool> msg(bDimmed);
arg.Set(KMsgSlot0,&msg);
SendReceive(EPeninputRequestIsLayoutDimmed,arg);
return bDimmed;
}
开发者ID:kuailexs,项目名称:symbiandump-mw1,代码行数:15,代码来源:penclientimpl.cpp
示例19: _WIMTRACE
// -----------------------------------------------------------------------------
// RWimCertMgmt::GetKeyInfo()
//
// Gets Info for single key
// -----------------------------------------------------------------------------
//
TInt RWimCertMgmt::GetKeyInfo( const TInt32 aKeyReference,
TKeyInfo& aKeyInfo )
{
_WIMTRACE ( _L( "RWimCertMgmt::GetKeyInfo()" ) );
TPckg<TKeyInfo> keyinfo ( aKeyInfo );
TIpcArgs args;
args.Set( 0, aKeyReference );
args.Set( 1, &keyinfo );
return SendReceiveData( EGetKeyDetails, args );
}
开发者ID:kuailexs,项目名称:symbiandump-mw3,代码行数:18,代码来源:WimCertMgmt.cpp
示例20: IsForeground
// ---------------------------------------------------------------------------
// RPeninputServerImpl::IsForeground
// Test whether this session is the forground application session
// ---------------------------------------------------------------------------
//
TBool RPeninputServerImpl::IsForeground()
{
TBool bIsForeground;
TIpcArgs arg;
TPckg<TBool> msg(bIsForeground);
arg.Set(KMsgSlot0,&msg);
SendReceive(EPeninputRequestIsForeground,arg);
//__ASSERT_DEBUG(bIsForeground == iIsForegroundSession,User::Leave(-1));
return bIsForeground;
}
开发者ID:kuailexs,项目名称:symbiandump-mw1,代码行数:17,代码来源:penclientimpl.cpp
注:本文中的TIpcArgs类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论