emailcontacts/remotecontactlookup/inc/cpbkxremotecontactlookupenv.inl
branchRCL_3
changeset 12 4ce476e64c59
parent 11 0396474f30f5
child 13 8592a65ad3fb
equal deleted inserted replaced
11:0396474f30f5 12:4ce476e64c59
     1 /*
       
     2 * Copyright (c) 2008 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 CPbkxRemoteContactLookupEnv.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include <e32std.h>
       
    20 #include <ecom/ecom.h>
       
    21 
       
    22 // -----------------------------------------------------------------------------
       
    23 // CPbkxRemoteContactLookupEnv::NewL
       
    24 // -----------------------------------------------------------------------------
       
    25 //
       
    26 inline CPbkxRemoteContactLookupEnv* CPbkxRemoteContactLookupEnv::NewL()
       
    27     {
       
    28     CPbkxRemoteContactLookupEnv* self = NULL;
       
    29         
       
    30     TUid implUid = {KPbkxRemoteContactLookupServiceImplImpUid};
       
    31 
       
    32     TAny* interface = REComSession::CreateImplementationL (
       
    33         implUid, _FOFF( CPbkxRemoteContactLookupEnv, iDtor_ID_Key ) );
       
    34 
       
    35     return reinterpret_cast< CPbkxRemoteContactLookupEnv* >( interface );
       
    36     }
       
    37     
       
    38 // -----------------------------------------------------------------------------
       
    39 // CPbkxRemoteContactLookupEnv::~CPbkxRemoteContactLookupEnv
       
    40 // -----------------------------------------------------------------------------
       
    41 //
       
    42 inline CPbkxRemoteContactLookupEnv::~CPbkxRemoteContactLookupEnv()
       
    43     {
       
    44     REComSession::DestroyedImplementation( iDtor_ID_Key );
       
    45     }