sl@0: /* sl@0: * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: sl@0: * sl@0: */ sl@0: sl@0: sl@0: sl@0: /** sl@0: @internalComponent sl@0: Comments : This file contains the placeholder class sl@0: which represents the interface creation. sl@0: */ sl@0: sl@0: #include "TestEComInterface.h" sl@0: sl@0: inline CTestEComInterface::CTestEComInterface() sl@0: : CBase() sl@0: /** sl@0: Constructor sl@0: @return None sl@0: */ sl@0: { sl@0: // Do nothing sl@0: } sl@0: sl@0: inline CTestEComInterface::~CTestEComInterface() sl@0: /** sl@0: Destructor sl@0: @return None sl@0: */ sl@0: { sl@0: // Destroy any instance variables and then sl@0: // inform the framework that this specific sl@0: // instance of the interface has been destroyed. sl@0: REComSession::DestroyedImplementation(iDtor_ID_Key); sl@0: } sl@0: sl@0: inline CTestEComInterface* CTestEComInterface::NewL(const TUid aUid) sl@0: /** sl@0: NewL creates the new interface sl@0: @return the new interface sl@0: */ sl@0: { sl@0: // The CreateImplementationL method will return sl@0: // the created item. sl@0: return REINTERPRET_CAST (CTestEComInterface*, sl@0: REComSession::CreateImplementationL(aUid, _FOFF(CTestEComInterface,iDtor_ID_Key)) sl@0: ); sl@0: }