featuremgmt/featuremgr/src/shared/featurecmn.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 12 Mar 2010 15:51:02 +0200
branchRCL_3
changeset 8 fa9941cf3867
parent 0 08ec8eefde2f
permissions -rw-r--r--
Revision: 201008 Kit: 201008

// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//



// INCLUDE FILES
#include <featmgr/featurecmn.h>

// ============================= LOCAL FUNCTIONS ===============================

// ============================ MEMBER FUNCTIONS ===============================

// -----------------------------------------------------------------------------
// TFeatureEntry::TFeatureEntry()
// -----------------------------------------------------------------------------
//
EXPORT_C TFeatureEntry::TFeatureEntry() : 
    iFeatureID( TUid::Uid(0) ), iFlags( 0 ), iData( 0 ), iReserved ( 0 )
    {
	}

// -----------------------------------------------------------------------------
// TFeatureEntry::TFeatureEntry()
// -----------------------------------------------------------------------------
//
EXPORT_C TFeatureEntry::TFeatureEntry( TUid aFeature ) : 
    iFeatureID( aFeature ), iFlags( 0 ), iData( 0 ), iReserved ( 0 )
    {
    }
    
// -----------------------------------------------------------------------------
// TFeatureEntry::TFeatureEntry()
// -----------------------------------------------------------------------------
//
EXPORT_C TFeatureEntry::TFeatureEntry( TUid aFeature, TBitFlags32 aFlags, TUint32 aData ) : 
    iFeatureID( aFeature ), iFlags( aFlags ), iData( aData ), iReserved ( 0 )
    {
    }
    
// -----------------------------------------------------------------------------
// TFeatureEntry::FeatureUid()
// -----------------------------------------------------------------------------
//
EXPORT_C TUid TFeatureEntry::FeatureUid() const
    { 
    return iFeatureID;
    }

// -----------------------------------------------------------------------------
// TFeatureEntry::FeatureFlags()
// -----------------------------------------------------------------------------
//
EXPORT_C TBitFlags32 TFeatureEntry::FeatureFlags() const
    {
    return iFlags;
    }
    
// -----------------------------------------------------------------------------
// TFeatureEntry::FeatureData()
// -----------------------------------------------------------------------------
//
EXPORT_C TUint32 TFeatureEntry::FeatureData() const
    {
    return iData;
    }
    
    
//  End of File