/**
Test SetAction()
*/
void CT_InquirySockAddrData::DoCmdSetAction(const TDesC& aSection)
	{
	TBool	foundParameter=EFalse;
	TPtrC	flagName;
	TInt	flagValue=0;
	if (GetStringFromConfig(aSection, KFlag(), flagName) )
		{
		foundParameter=ETrue;
		if (CT_BTUtil::GetIntValue(flagName, flagValue))
			{
			INFO_PRINTF3(_L("The flag to set: %S , its value: %d" ), &flagName, flagValue);
			
			INFO_PRINTF1(_L("TInquirySockAddr SetAction Call"));
			iData->SetAction(KHostResInquiry | KHostResName);
			}
		}
	
	if ( !foundParameter )
		{
		ERR_PRINTF2(KLogMissingParameter, &KFlag());
		SetBlockResult(EFail);		
		}
	}
/**
 ReadFlags - read in bitwise measeure text input flags
 @internalComponent
 @param aSection - main entry in .ini file
 @param aFlags - bitwise flags output
 @return ETrue if data is valid in the ini file
 @pre None
 @post 2nd stage construction complete
*/
TBool CT_DataMeasureTextInput::ReadFlags(const TDesC& aSection, TUint16& aFlags)
	{
	TBuf<KMaxTestExecuteCommandLength>	tempStore;
	TInt								index=0;
	TBool								moreData=ETrue;
	TPtrC								flagString;
	TBool								ret=ETrue;

	aFlags=0;
	while ( moreData && ret )
		{
		tempStore.Format(KFlag(), &aSection, ++index);
		if ( GetStringFromConfig(aSection, tempStore, flagString) )
			{
			TInt	flag=0;

			if ( flagString==KEFVisualOrder )
				{
				flag=CFont::TMeasureTextInput::EFVisualOrder;
				}
			else if ( flagString==KEFVisualOrderRightToLeft )
				{
				flag=CFont::TMeasureTextInput::EFVisualOrderRightToLeft;
				}
			else if ( flagString==KEFIncludePenPositionInBoundsCheck )
				{
				flag=CFont::TMeasureTextInput::EFIncludePenPositionInBoundsCheck;
				}
			else
				{
				ret=GetIntFromConfig(aSection, tempStore, flag);
				}

			if ( ret )
				{
				aFlags |= flag;
				}
			}
		else
			{
			moreData=EFalse;
			}
		}

	return ret;
	}