natfw/natfwunsaf_protocols/unsaf_codec/src/natfwunsafattributelookuptableitem.cpp
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     1 /*
       
     2 * Copyright (c) 2006-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:   
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #include "natfwunsafattributelookuptableitem.h"
       
    22 
       
    23 // -----------------------------------------------------------------------------
       
    24 // TAttributeLookupTableItem::TAttributeLookupTableItem
       
    25 // -----------------------------------------------------------------------------
       
    26 //
       
    27 TAttributeLookupTableItem::TAttributeLookupTableItem(
       
    28     CNATFWUNSAFAttribute::TType aAttributeType,
       
    29     TDecodeFnPtr aDecodeFn) :
       
    30     iAttributeType(aAttributeType),
       
    31     iDecodeFn(aDecodeFn)
       
    32     {
       
    33     }
       
    34 
       
    35 // -----------------------------------------------------------------------------
       
    36 // TAttributeLookupTableItem::AttributeType
       
    37 // -----------------------------------------------------------------------------
       
    38 //
       
    39 CNATFWUNSAFAttribute::TType TAttributeLookupTableItem::AttributeType() const
       
    40     {
       
    41     return iAttributeType;
       
    42     }
       
    43 
       
    44 // -----------------------------------------------------------------------------
       
    45 // TAttributeLookupTableItem::DecodeFunction
       
    46 // -----------------------------------------------------------------------------
       
    47 //
       
    48 TDecodeFnPtr TAttributeLookupTableItem::DecodeFunction() const
       
    49     {
       
    50     return iDecodeFn;
       
    51     }