diff -r 826cea16efd9 -r 13a33d82ad98 videoutils_plat/videoscheduler_api/inc/ipvideo/CCseSchedulerPluginIF.inl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/videoutils_plat/videoscheduler_api/inc/ipvideo/CCseSchedulerPluginIF.inl Wed Sep 01 12:20:37 2010 +0100 @@ -0,0 +1,55 @@ +/* +* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of the License "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: CSE inlines.* +*/ + + + +#ifndef CIPTVSCHEDULERPLUGIN_INL +#define CIPTVSCHEDULERPLUGIN_INL + +// INLINES + +/** +* Contructor +*/ +inline CCseSchedulerPluginIF* CCseSchedulerPluginIF::NewL( const TUid& aUid ) + { + TAny* ext = REComSession::CreateImplementationL( aUid, _FOFF( CCseSchedulerPluginIF, iDtorIDKey )); + + CCseSchedulerPluginIF* result = reinterpret_cast< CCseSchedulerPluginIF* >( ext ); + result->iImplementationUid = aUid; // set the plugin's implementation uid + + return result; + } + + +/** +* Destructor +*/ +inline CCseSchedulerPluginIF::~CCseSchedulerPluginIF() + { + // Inform the ECOM framework that this specific instance of the + // interface has been destroyed. + REComSession::DestroyedImplementation( iDtorIDKey ); + } +/** +* ImplementationUid +*/ +inline TUid CCseSchedulerPluginIF::ImplementationUid() const + { + return iImplementationUid; + } + +#endif