diff -r 000000000000 -r 5f000ab63145 phoneengine/contacthandling/src/cpecontacthandlingdummy.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/phoneengine/contacthandling/src/cpecontacthandlingdummy.cpp Mon Jan 18 20:18:27 2010 +0200 @@ -0,0 +1,92 @@ +/* +* Copyright (c) 2006 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: This module contains the implementation of CPEContactHandlingDummy class +* +*/ + + + +// INCLUDE FILES +#include "cpecontacthandlingdummy.h" +#include "cpecontactmatch.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include + +// ================= MEMBER FUNCTIONS ======================================= +// ----------------------------------------------------------------------------- +// CPEContactHandlingDummy::CPEContactHandlingDummy +// C++ default constructor can NOT contain any code, that +// might leave. +// ----------------------------------------------------------------------------- +// +CPEContactHandlingDummy::CPEContactHandlingDummy() + { + } + +// ----------------------------------------------------------------------------- +// CPEContactHandlingDummy::NewL +// Two-phased constructor. +// ----------------------------------------------------------------------------- +// +EXPORT_C CPEContactHandlingDummy* CPEContactHandlingDummy::NewL() + { + TEFLOGSTRING(KTAOBJECT, "CNT CPEContactHandlingDummy::NewL start."); + CPEContactHandlingDummy* self = new ( ELeave ) CPEContactHandlingDummy(); + TEFLOGSTRING(KTAOBJECT, "CNT CPEContactHandlingDummy::NewL Complete."); + return self; + } + +// Destructor +CPEContactHandlingDummy::~CPEContactHandlingDummy() + { + TEFLOGSTRING( KTAOBJECT, "CNT CPEContactHandlingDummy::~CPEContactHandlingDummy()" ); + } + +// ----------------------------------------------------------------------------- +// CPEContactHandlingDummy::FindContactInfoSync +// Calls method FindContactInfoSyncL which can leave. This leave is trapped in +// this function. +// (other items were commented in a header). +// ----------------------------------------------------------------------------- +// +EXPORT_C TInt CPEContactHandlingDummy::FindContactInfoSync( + const TInt /*aCallId*/, const TPEFindContactKey /*aFindKey*/ ) + { + TEFLOGSTRING( KTAOBJECT, "CNT CPEContactHandlingDummy::FindContactInfoSync()" ); + return KErrNone; + } + +// ----------------------------------------------------------------------------- +// CPEContactHandlingDummy::GetSpeedDialLocation +// Get's phone number and contact id from given location. +// ----------------------------------------------------------------------------- +// +EXPORT_C TInt CPEContactHandlingDummy::GetSpeedDialLocation( + TInt /*aLocationIndex*/, + TPEPhoneNumber& /*aNumber*/ ) + { + TEFLOGSTRING( KTAOBJECT, "CNT CPEContactHandlingDummy::GetSpeedDialLocation()" ); + return KErrNone; + } + +// ================= OTHER EXPORTED FUNCTIONS =============================== + +// End of File