diff -r 73a1feb507fb -r bc78a40cd63c tsrc/contactenginestub/src/contactenginestub.cpp --- a/tsrc/contactenginestub/src/contactenginestub.cpp Tue Aug 31 15:12:07 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,97 +0,0 @@ -/* -* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). -* All rights reserved. -* This component and the accompanying materials are made available -* under the terms of "Eclipse Public License v1.0" -* which accompanies this distribution, and is available -* at the URL "http://www.eclipse.org/legal/epl-v10.html". -* -* Initial Contributors: -* Nokia Corporation - initial contribution. -* -* Contributors: -* -* Description: -* -*/ -#include "contactenginestub.h" - -#include -#include -#include -#include - -static TInt iValue = KErrNone; -static TContactEngineCalledFunction iFunc = EContactEngineStubNone; -static TBool iFindField = EFalse; -static TBool iFindFieldInfo = ETrue; -static CContactTextField iTextField; - -// ----------------------------------------------------------------------------- -// CContactTextField -// ----------------------------------------------------------------------------- -// -void CContactTextField::SetTextL(const TDesC& /*aText*/) - { - iFunc = EContactEngineStubSetText; - } - -CContactTextField::~CContactTextField() - { - - } - -void CContactTextField::InternalizeL(RReadStream& /*aStream*/) - { - - } -void CContactTextField::ExternalizeL(RWriteStream& /*aStream*/) const - { - - } -TStreamId CContactTextField::StoreL(CStreamStore& /*aStore*/) const - { - return TStreamId( 0 ); - } - -void CContactTextField::RestoreL(CStreamStore& /*aStore*/,RReadStream& /*aStream*/) - { - - } - -TBool CContactTextField::IsFull() const - { - return EFalse; - } - -// ----------------------------------------------------------------------------- -// ContactEngineStubHelper -// ----------------------------------------------------------------------------- -// -void ContactEngineStubHelper::Reset() - { - iValue = KErrNone; - iFunc = EContactEngineStubNone; - iFindField = EFalse; - iFindFieldInfo = ETrue; - } - -void ContactEngineStubHelper::SetErrorCode( TInt aVal ) - { - iValue = aVal; - } - -TContactEngineCalledFunction ContactEngineStubHelper::GetCalledFunction() - { - return iFunc; - } - -void ContactEngineStubHelper::SetSIPFieldFound( TBool aFound ) - { - iFindField = aFound; - } - -void ContactEngineStubHelper::SetSIPFieldInfoFound( TBool aFound ) - { - iFindFieldInfo = aFound; - }