mmuifw_plat/alf_widgetmodel_api/inc/alf/alfwidgeteventhandler.inl
changeset 17 3eca7e70b1b8
parent 3 4526337fb576
equal deleted inserted replaced
3:4526337fb576 17:3eca7e70b1b8
     1 /*
       
     2 * Copyright (c) 2007 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 "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:   Alfwidgethandler inline file.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 template <class T>
       
    20     T* AlfWidgetEventHandler::makeInterface( IAlfInterfaceBase* aThis )
       
    21     {        
       
    22     if ( aThis && aThis->type() == T::type() )
       
    23         {
       
    24         return static_cast<T*>( this );
       
    25         }
       
    26     return NULL;
       
    27     }
       
    28 
       
    29 // End of File