skins/AknSkins/src/AknsControlContext.cpp
changeset 0 05e9090e2422
equal deleted inserted replaced
-1:000000000000 0:05e9090e2422
       
     1 /*
       
     2 * Copyright (c) 2002-2008 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:  Defines a public interface class MAknsControlContext and
       
    15 *                related enumerations.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 // INCLUDE FILES
       
    21 #include <AknsControlContext.h>
       
    22 
       
    23 // ============================ MEMBER FUNCTIONS ===============================
       
    24 
       
    25 // -----------------------------------------------------------------------------
       
    26 // MAknsControlContext::SupplyMopObject
       
    27 // -----------------------------------------------------------------------------
       
    28 //
       
    29 EXPORT_C TTypeUid::Ptr MAknsControlContext::SupplyMopObject( TTypeUid aId,
       
    30     MAknsControlContext* aContext )
       
    31     {
       
    32     if( aContext && aId.iUid == MAknsControlContext::ETypeId )
       
    33         {
       
    34         return aId.MakePtr( aContext );
       
    35         }
       
    36 
       
    37     return TTypeUid::Null();
       
    38     } //lint !e1746 SupplyMopObject usual syntax
       
    39 
       
    40 // -----------------------------------------------------------------------------
       
    41 // MAknsControlContext::UpdateContext
       
    42 // -----------------------------------------------------------------------------
       
    43 //
       
    44 TInt MAknsControlContext::UpdateContext()
       
    45     {
       
    46     return 0;
       
    47     }
       
    48 
       
    49 // -----------------------------------------------------------------------------
       
    50 // MAknsControlContext::Reserved2
       
    51 // -----------------------------------------------------------------------------
       
    52 //
       
    53 TInt MAknsControlContext::Reserved2()
       
    54     {
       
    55     return 0;
       
    56     }
       
    57 
       
    58 //  End of File