plugins/contacts/symbian/contactsmodel/inc/cntviewfindconfig.inl
changeset 0 876b1a06bc25
equal deleted inserted replaced
-1:000000000000 0:876b1a06bc25
       
     1 /*
       
     2 * Copyright (c) 2002-2009 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: 
       
    15 *
       
    16 */
       
    17 
       
    18 inline CContactViewFindConfigInterface* CContactViewFindConfigInterface::NewL(TUid aImplementationUid)
       
    19 /** Allocates and constructs an instance of the plug-in interface.
       
    20 
       
    21 @param aImplementationUid The UID of the find configuration implementation 
       
    22 to instantiate.
       
    23 @return Pointer to the newly created implementation object. */
       
    24 	{
       
    25 		TAny* ptr = REComSession::CreateImplementationL(aImplementationUid,
       
    26 					_FOFF(CContactViewFindConfigInterface,iDtor_ID_Key));
       
    27 		return reinterpret_cast<CContactViewFindConfigInterface*>(ptr);
       
    28 	}
       
    29 inline CContactViewFindConfigInterface::~CContactViewFindConfigInterface()
       
    30 /** Virtual destructor. */
       
    31 	{
       
    32 	REComSession::DestroyedImplementation(iDtor_ID_Key);
       
    33 	}
       
    34