skins/AknSkins/src/AknsDataContext.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 MAknsDataContext.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include <AknsDataContext.h>
       
    21 
       
    22 // ============================ MEMBER FUNCTIONS ===============================
       
    23 
       
    24 // -----------------------------------------------------------------------------
       
    25 // MAknsDataContext::SupplyMopObject
       
    26 // -----------------------------------------------------------------------------
       
    27 //
       
    28 EXPORT_C TTypeUid::Ptr MAknsDataContext::SupplyMopObject( TTypeUid aId,
       
    29     MAknsDataContext* aContext )
       
    30     {
       
    31     if( aContext && aId.iUid == MAknsDataContext::ETypeId )
       
    32         {
       
    33         return aId.MakePtr( aContext );
       
    34         }
       
    35 
       
    36     return TTypeUid::Null();
       
    37     } //lint !e1746 SupplyMopObject usual syntax
       
    38 
       
    39 // -----------------------------------------------------------------------------
       
    40 // MAknsDataContext::Reserved1
       
    41 // -----------------------------------------------------------------------------
       
    42 //
       
    43 TInt MAknsDataContext::Reserved1()
       
    44     {
       
    45     return 0;
       
    46     }
       
    47 
       
    48 // -----------------------------------------------------------------------------
       
    49 // MAknsDataContext::Reserved2
       
    50 // -----------------------------------------------------------------------------
       
    51 //
       
    52 TInt MAknsDataContext::Reserved2()
       
    53     {
       
    54     return 0;
       
    55     }
       
    56 
       
    57 //  End of File