videoutils_plat/videoscheduler_api/inc/ipvideo/CCseSchedulerPluginIF.inl
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 11 May 2010 17:09:35 +0300
branchRCL_3
changeset 21 09899d2ccb77
parent 0 822a42b6c3f1
permissions -rw-r--r--
Revision: 201017 Kit: 201019

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