phonebookui/Phonebook2/remotecontactlookup/engine/src/pbk2remotecontactlookupfactory.cpp
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 /*
       
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Implementation of the class Pbk2RemoteContactLookupFactory.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include <pbk2remotecontactlookupfactory.h>
       
    20 
       
    21 #include "pbkxrclutils.h"
       
    22 #include "cpbkxrclsettingitem.h"
       
    23 #include "cpbkxrclserviceuicontextimpl.h"
       
    24 #include "cpbkxrclprotocolenvimpl.h"
       
    25 #include "cpbkxremotecontactlookupprotocoladapter.h"
       
    26 
       
    27 
       
    28 // ======== MEMBER FUNCTIONS ========
       
    29 
       
    30 
       
    31 EXPORT_C CPbkxRemoteContactLookupServiceUiContext* Pbk2RemoteContactLookupFactory::NewContextL( 
       
    32     CPbkxRemoteContactLookupServiceUiContext::TContextParams& aParams )
       
    33     {
       
    34     return CPbkxRclServiceUiContextImpl::NewL( aParams.iProtocolAccountId, aParams.iMode );
       
    35     }
       
    36 
       
    37 
       
    38 
       
    39 EXPORT_C CAknSettingItem* Pbk2RemoteContactLookupFactory::NewDefaultProtocolAccountSelectorSettingItemL()
       
    40     {
       
    41     return CPbkxRclSettingItem::NewL();
       
    42     }
       
    43 
       
    44 // end of file