videoutils_plat/videoscheduler_api/inc/ipvideo/CCseSchedulerPluginIF.inl
branchRCL_3
changeset 47 826cea16efd9
parent 45 798ee5f1972c
child 48 13a33d82ad98
equal deleted inserted replaced
45:798ee5f1972c 47:826cea16efd9
     1 /*
       
     2 * Copyright (c) 2006 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 the License "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:    CSE inlines.*
       
    15 */
       
    16 
       
    17 
       
    18 
       
    19 #ifndef CIPTVSCHEDULERPLUGIN_INL
       
    20 #define CIPTVSCHEDULERPLUGIN_INL
       
    21 
       
    22 // INLINES
       
    23 
       
    24 /**
       
    25 * Contructor
       
    26 */
       
    27 inline CCseSchedulerPluginIF* CCseSchedulerPluginIF::NewL( const TUid& aUid  )
       
    28     {
       
    29     TAny* ext = REComSession::CreateImplementationL( aUid, _FOFF( CCseSchedulerPluginIF, iDtorIDKey ));
       
    30 
       
    31     CCseSchedulerPluginIF* result = reinterpret_cast< CCseSchedulerPluginIF* >( ext );
       
    32     result->iImplementationUid = aUid;  // set the plugin's implementation uid
       
    33     
       
    34     return result;
       
    35     }
       
    36 
       
    37 
       
    38 /**
       
    39 * Destructor
       
    40 */
       
    41 inline CCseSchedulerPluginIF::~CCseSchedulerPluginIF()
       
    42     {
       
    43     // Inform the ECOM framework that this specific instance of the
       
    44     // interface has been destroyed.
       
    45     REComSession::DestroyedImplementation( iDtorIDKey );
       
    46     }
       
    47 /**
       
    48 * ImplementationUid
       
    49 */
       
    50 inline TUid CCseSchedulerPluginIF::ImplementationUid() const 
       
    51     { 
       
    52     return iImplementationUid; 
       
    53     }
       
    54 
       
    55 #endif