idlefw/tsrc/wsplugin/stub/featmgr_stub.cpp
branchRCL_3
changeset 28 053c6c7c14f3
equal deleted inserted replaced
27:2c7f27287390 28:053c6c7c14f3
       
     1 /*
       
     2 * Copyright (c) 2002 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:  Feature manager API
       
    15 *
       
    16 */
       
    17 
       
    18 // System includes
       
    19 
       
    20 // User includes
       
    21 #include "featmgr_stub.h"
       
    22 
       
    23 #include "ut_aiwspluginanimtls.h"
       
    24 
       
    25 // Constants
       
    26 
       
    27 // ======== LOCAL FUNCTIONS ========
       
    28     
       
    29 // ======== MEMBER FUNCTIONS =======
       
    30 // ----------------------------------------------------------------------------
       
    31 // FeatureManager::InitializeLibL()
       
    32 //
       
    33 // ----------------------------------------------------------------------------
       
    34 //
       
    35 void FeatureManager::InitializeLibL()
       
    36     {
       
    37     UT_AiWsPluginAnimTls::Instance()->IncFeatMgrCount();
       
    38     }
       
    39 
       
    40 // ----------------------------------------------------------------------------
       
    41 // FeatureManager::UnInitializeLib()
       
    42 //
       
    43 // ----------------------------------------------------------------------------
       
    44 //
       
    45 void FeatureManager::UnInitializeLib()
       
    46     {
       
    47     UT_AiWsPluginAnimTls::Instance()->DecFeatMgrCount();
       
    48     }
       
    49 
       
    50 // ----------------------------------------------------------------------------
       
    51 // FeatureManager::FeatureSupported()
       
    52 //
       
    53 // ----------------------------------------------------------------------------
       
    54 //
       
    55 TBool FeatureManager::FeatureSupported( TInt aFeature )
       
    56     {
       
    57     return UT_AiWsPluginAnimTls::Instance()->FeatureSupported(aFeature);
       
    58     }
       
    59     
       
    60 // End of file