camappengine/Engine/Src/CaeExtension.cpp
branchRCL_3
changeset 20 e3cdd00b5ae3
parent 19 18fa9327a158
child 21 27fe719c32e6
equal deleted inserted replaced
19:18fa9327a158 20:e3cdd00b5ae3
     1 /*
       
     2 * Copyright (c) 2002-2004 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:  Camera Application Engine Extension creation proxy
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 // INCLUDE FILES
       
    21 
       
    22 #include "CaeEngineExtInterface.h"                   // Engine implementation header.
       
    23 
       
    24 // ============================ MEMBER FUNCTIONS ===============================
       
    25 
       
    26 // class MExtension
       
    27 
       
    28 // -----------------------------------------------------------------------------
       
    29 // MExtension::NewExtensionL
       
    30 // Create and construct the extension object via ECom.
       
    31 // -----------------------------------------------------------------------------
       
    32 // 
       
    33 MExtension* MExtension::NewExtensionL( TUid aImplementationUid, MExtensionCallbackInterface* aEngine  )
       
    34 	{
       
    35 	TAny* extInterface = REComSession::CreateImplementationL( 
       
    36 		aImplementationUid, _FOFF (MExtension, iDtor_ID_Key), (TAny*) aEngine);
       
    37 	return reinterpret_cast <MExtension*> (extInterface);
       
    38 	}
       
    39 
       
    40 
       
    41 //  End of File