videoutils_plat/videoscheduler_api/inc/ipvideo/CCseSchedulerPluginIF.inl
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 17 Dec 2009 09:14:38 +0200
changeset 0 822a42b6c3f1
permissions -rw-r--r--
Revision: 200949 Kit: 200951

/*
* 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