TBool CT_DataRSubConParameterBundle::DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt /*aAsyncErrorIndex*/) { TBool ret = ETrue; //------------------------------------------------------------------------- // RSubConParameterBundle (Currently only used for other classes Copy constructor(s)) //------------------------------------------------------------------------- if ( aCommand==KConstructor ) { DoCmdConstructorL(); } else if ( aCommand==KFindFamily ) { DoCmdFindFamily( aSection ); } else if ( aCommand==KClose ) { DoCmdClose(); } else if( aCommand==KDestructor ) { DoCmdDestructor(); } else { ret = EFalse; } return ret; }
/** * Process a command read from the ini file * * @param aCommand the command to process * @param aSection the entry in the ini file requiring the command to be processed * @param aAsyncErrorIndex index of command. used for async calls * * @return ETrue if the command is processed */ TBool CT_DataAnimDll::DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex) { TBool ret = ETrue; if ( aCommand==KCmdDestructorGeneral || aCommand==KCmdDestructor ) { DoCmdDestructor(); } else if ( aCommand==KCmdnew || aCommand==KDataClassname ) { DoCmdnewL(aSection); } else if ( aCommand==KCmdLoad ) { DoCmdLoad(aSection); } else if ( aCommand==KCmdDestroy ) { DoCmdDestroy(); } else if ( aCommand==KCmdClose ) { DoCmdClose(); } else { ret=CT_DataWsClientClass::DoCommandL(*this, aCommand, aSection, aAsyncErrorIndex); } return ret; }
/** * Process a command read from the ini file * * @param aDataWrapper test step requiring command to be processed * @param aCommand the command to process * @param aSection the entry in the ini file requiring the command to be processed * * @return ETrue if the command is processed */ TBool CT_DataMeasureTextInput::DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt /*aAsyncErrorIndex*/) { TBool retVal = ETrue; if (aCommand == KCmdNew) { DoCmdNew(); } else if (aCommand == KCmdDestructor) { DoCmdDestructor(); } else if (aCommand == KCmdSetCharJustExcess) { DoCmdSetCharJustExcess(aSection); } else if (aCommand == KCmdSetCharJustNum) { DoCmdSetCharJustNum(aSection); } else if (aCommand == KCmdSetDirection) { DoCmdSetDirection(aSection); } else if (aCommand == KCmdSetEndInputChar) { DoCmdSetEndInputChar(aSection); } else if (aCommand == KCmdSetFlags) { DoCmdSetFlags(aSection); } else if (aCommand == KCmdSetMaxAdvance) { DoCmdSetMaxAdvance(aSection); } else if (aCommand == KCmdSetMaxBounds) { DoCmdSetMaxBounds(aSection); } else if (aCommand == KCmdSetStartInputChar) { DoCmdSetStartInputChar(aSection); } else if (aCommand == KCmdSetWordJustExcess) { DoCmdSetWordJustExcess(aSection); } else if (aCommand == KCmdSetWordJustNum) { DoCmdSetWordJustNum(aSection); } else { retVal=EFalse; } return retVal; }
/** * Process a command read from the ini file * * @param aCommand the command to process * @param aSection the entry in the ini file requiring the command to be processed * @param aAsyncErrorIndex index of command. used for async calls * * @return ETrue if the command is processed */ TBool CT_DataWindowGc::DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex) { TBool ret = ETrue; if ( aCommand==KCmdDestructor || aCommand==KCmdDestructorGeneral ) { DoCmdDestructor(); } else if ( aCommand==KCmdnew || aCommand==KDataClassname ) { DoCmdnewL(aSection); } else if ( aCommand==KCmdConstruct ) { DoCmdConstruct(); } else if ( aCommand==KCmdActivate ) { DoCmdActivateL(aSection); } else if ( aCommand==KCmdDeactivate ) { DoCmdDeactivate(); } else if ( aCommand==KCmdBitBlt ) { DoCmdBitBltL(aCommand, aSection, aAsyncErrorIndex); } else if ( aCommand==KCmdBitBltMasked ) { DoCmdBitBltMaskedL(aCommand, aSection, aAsyncErrorIndex); } else if ( aCommand==KCmdSetDitherOrigin ) { DoCmdSetDitherOrigin(aSection); } else if ( aCommand==KCmdSetOpaque ) { DoCmdSetOpaque(aSection); } else if ( aCommand==KCmdDrawWsGraphic ) { DoCmdDrawWsGraphicL(aSection); } else if ( CT_DataBitmapContext::DoCommandL(aCommand, aSection, aAsyncErrorIndex) ) { } else { ret=CT_DataWsClientClass::DoCommandL(*this, aCommand, aSection, aAsyncErrorIndex); } return ret; }
/** * Process a command read from the ini file * * @param aCommand The command to process * @param aSection The section in the ini containing data for the command * @param aAsyncErrorIndex Command index for async calls to return errors to * * @return ETrue if the command is processed * * @leave System wide error */ TBool CT_DataSdpAgent::DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex) { TBool ret = ETrue; //------------------------------------------------------------------------- // CSdpAgent //------------------------------------------------------------------------- if ( aCommand==KCmdNewL ) { DoCmdNewL(aSection); } else if ( aCommand==KCmdNewLC ) { DoCmdNewLC(aSection); } else if ( aCommand==KCmdSetRecordFilterL ) { DoCmdSetRecordFilterL(aSection); } else if ( aCommand==KCmdNextRecordRequestL ) { DoCmdNextRecordRequestL(aSection, aAsyncErrorIndex); } else if ( aCommand==KCmdSetAttributePredictorListL ) { DoCmdSetAttributePredictorListL(aSection); } else if ( aCommand==KCmdAttributeRequestL ) { DoCmdAttributeRequestL(aSection, aAsyncErrorIndex); } else if ( aCommand==KCmdCancel ) { DoCmdCancel(); } else if ( aCommand==KCmdDestructor ) { DoCmdDestructor(); } else if ( aCommand==KCmdMSAN_ExtensionInterfaceL ) { DoCmdMSAN_ExtensionInterfaceL(); } else { ret=EFalse; } return ret; }
TBool CT_TCommCapsV02Data::DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex) /** * Process a command read from the ini file * * @param aCommand The command to process * @param aSection The section in the ini containing data for the command * @param aAsyncErrorIndex Command index for async calls to return errors to * * @return ETrue if the command is processed * * @leave System wide error */ { TBool ret=ETrue; TInt err=KErrNone; if ( aCommand==KCmdConstructor ) { err=DoCmdConstructor(); } else if ( aCommand==KCmdDestructor ) { DoCmdDestructor(); } else if ( aCommand==KCmdiFlowControlCaps ) { DoCmdiFlowControlCaps(aSection); } else if ( aCommand==KCmdiNotificationCaps ) { DoCmdiNotificationCaps(aSection); } else if ( aCommand==KCmdiRoleCaps ) { DoCmdiRoleCaps(aSection); } else { ret=CT_TCommCapsV01Data::DoCommandL(aCommand, aSection, aAsyncErrorIndex); } if ( err!=KErrNone ) { ERR_PRINTF2(KLogError, err); SetError(err); } return ret; }
/** * Process a command read from the Ini file * @param aCommand - The command to process * @param aSection - The section get from the *.ini file of the project T_Wlan * @param aAsyncErrorIndex - Command index dor async calls to returns errors to * @return TBool - ETrue if the command is process * @leave - system wide error */ TBool CT_CAudioOutputData::DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt /*aAsyncErrorIndex*/) { TBool ret = ETrue; if (aCommand == KCmdNewL) { DoCmdNewL(aSection); } else if (aCommand == KCmdDestructor) { DoCmdDestructor(); } else if (aCommand == KCmdAudioOutput) { DoCmdAudioOutput(); } else if (aCommand == KCmdDefaultAudioOutput) { DoCmdDefaultAudioOutput(); } else if (aCommand == KCmdRegisterObserver) { DoCmdRegisterObserverL(); } else if (aCommand == KCmdSecureOutput) { DoCmdSecureOutput(); } else if (aCommand == KCmdSetAudioOutput) { DoCmdSetAudioOutputL(aSection); } else if (aCommand == KCmdSetSecureOutput) { DoCmdSetSecureOutputL(aSection); } else if (aCommand == KCmdUnregisterObserver) { DoCmdUnregisterObserver(); } else { ERR_PRINTF1(_L("Unknown command.")); ret=EFalse; } return ret; }
/** * Process a command read from the ini file * * @param aDataWrapper test step requiring command to be processed * @param aCommand the command to process * @param aSection the entry in the ini file requiring the command to be processed * * @return ETrue if the command is processed */ TBool CT_DataLinkedTypefaceSpecification::DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt /*aAsyncErrorIndex*/) { TBool retVal = ETrue; if (aCommand == KCmdNewL) { DoCmdNewL(aSection); } else if (aCommand == KCmdDestructor) { DoCmdDestructor(); } else { retVal=EFalse; } return retVal; }
/** * Process a command read from the ini file * * @param aCommand The command to process * @param aSection The section in the ini containing data for the command * @param aAsyncErrorIndex Command index for async calls to return errors to * * @return ETrue if the command is processed * * @leave System wide error */ TBool CT_DataSdpAttrValueUint::DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex) { TBool ret=ETrue; if ( aCommand==KCmdNewUintL ) { DoCmdNewUintL(aSection); } else if ( aCommand==KCmdDestructor ) { DoCmdDestructor(); } else { ret=CT_DataSdpAttrValue::DoCommandL(aCommand, aSection, aAsyncErrorIndex); } return ret; }
void CT_DataAnimDll::DestroyData() { DoCmdDestructor(); }
TBool CT_DataRSocketServ::DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex) { /** Delegates the commands to function @internalComponent @param aCommand Current command @param aSection Current ini file command entry @param aSynchronous Updated if an asynchronous call is used @return TBool Returns whether the command was executed or not */ TBool ret=ETrue; if( aCommand==KCmdClearExclusiveMode ) { DoCmdClearExclusiveMode(); } else if( aCommand==KCmdConnect ) { DoCmdConnect(aSection); } else if( aCommand==KCmdFindProtocol ) { DoCmdFindProtocol(aSection); } else if( aCommand==KCmdGetProtocolInfo ) { DoCmdGetProtocolInfo(aSection); } else if( aCommand==KCmdInstallExtension ) { DoCmdInstallExtension(aSection); } else if( aCommand==KCmdNumProtocols ) { DoCmdNumProtocols(aSection); } else if( aCommand==KCmdSetExclusiveMode ) { DoCmdSetExclusiveMode(aAsyncErrorIndex); } else if( aCommand==KCmdStartProtocol ) { DoCmdStartProtocolL(aSection, aAsyncErrorIndex); } else if( aCommand==KCmdStopProtocol ) { DoCmdStopProtocolL(aSection, aAsyncErrorIndex); } else if( aCommand==KCmdVersion ) { DoCmdVersion(aSection); } else if( aCommand==KCmdClose ) { INFO_PRINTF1(_L("Calling RSocketServ::Close()")); iSocketServ->Close(); } else if( aCommand==KConstructor ) { DoCmdConstructorL(); } else if( aCommand==KDestructor ) { DoCmdDestructor(); } else { ret=EFalse; } return ret; }
TBool CT_BluetoothSynchronousLinkData::DoCommandL(const TTEFFunction& aCommand, const TTEFSectionName& aSection, const TInt aAsyncErrorIndex) { TBool ret = ETrue; if ( aCommand==KCmdNewL ) { DoCmdNewL(aSection); } else if ( aCommand==KCmdNewLC ) { DoCmdNewLC(aSection); } else if ( aCommand==KCmdSetupConnection ) { DoCmdSetupConnection(aSection, aAsyncErrorIndex); } else if ( aCommand==KCmdCancelSetup ) { DoCmdCancelSetup(); } else if ( aCommand==KCmdDisconnect ) { DoCmdDisconnect(aSection, aAsyncErrorIndex); } else if ( aCommand==KCmdSend ) { DoCmdSend(aSection, aAsyncErrorIndex); } else if ( aCommand==KCmdCancelSend ) { DoCmdCancelSend(); } else if ( aCommand==KCmdReceive ) { DoCmdReceive(aSection, aAsyncErrorIndex); } else if ( aCommand==KCmdCancelReceive ) { DoCmdCancelReceive(); } else if ( aCommand==KCmdAcceptConnection ) { DoCmdAcceptConnection(aSection, aAsyncErrorIndex); } else if ( aCommand==KCmdCancelAccept ) { DoCmdCancelAccept(); } else if ( aCommand==KCmdSetCoding ) { DoCmdSetCoding(aSection); } else if ( aCommand==KCmdCoding ) { DoCmdCoding(aSection); } else if ( aCommand==KCmdSetMaxBandwidth ) { DoCmdSetMaxBandwidth(aSection); } else if ( aCommand==KCmdBandwidth ) { DoCmdBandwidth(); } else if ( aCommand==KCmdSetMaxLatency ) { DoCmdSetMaxLatency(aSection); } else if ( aCommand==KCmdLatency ) { DoCmdLatency(aSection); } else if ( aCommand==KCmdSetRetransmissionEffort ) { DoCmdSetRetransmissionEffort(aSection); } else if ( aCommand==KCmdRetransmissionEffort ) { DoCmdRetransmissionEffort(aSection); } else if ( aCommand==KCmdRemoteName ) { DoCmdRemoteName(aSection); } else if ( aCommand==KCmdSetNotifier ) { DoCmdSetNotifier(aSection); } else if ( aCommand==KCmdDestructor ) { DoCmdDestructor(); } else if ( aCommand==KCmdMBSLN_ExtensionInterfaceL ) { DoCmdMBSLN_ExtensionInterfaceL(aSection); } else { ret=EFalse; } return ret; }