phonebookengines_old/contactsmodel/inc/cntviewfindconfig.inl
branchRCL_3
changeset 62 5b6f26637ad3
equal deleted inserted replaced
58:d4f567ce2e7c 62:5b6f26637ad3
       
     1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 
       
    17 // -----------------------CContactViewFindConfigInterface --------------------------------
       
    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