fep/aknfep/UiPlugins/AknFepUiInterface/AvkonImpl/src/aknfepchineseuidataconv.cpp
changeset 36 a7632c26d895
parent 35 0f326f2e628e
child 42 b3eaa440ab06
equal deleted inserted replaced
35:0f326f2e628e 36:a7632c26d895
     1 /*
       
     2 * Copyright (c) 2002-2004 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 *       Provides the CAknFepChineseUIDataConv methods.
       
    16 *
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #include "aknfepchineseuidataconv.h"
       
    22 
       
    23 TInt CAknFepChineseUIDataConv::AnyToInt(TAny* aOriginal)
       
    24     {
       
    25     return *(reinterpret_cast<TInt*>(aOriginal));
       
    26     }
       
    27     
       
    28 TRect CAknFepChineseUIDataConv::AnyToRect(TAny* aOriginal)
       
    29     {
       
    30     return *(reinterpret_cast<TRect*>(aOriginal));
       
    31     }
       
    32     
       
    33 CFont* CAknFepChineseUIDataConv::AnyToFont(TAny* aOriginal)
       
    34     {
       
    35     return reinterpret_cast<CFont*>(aOriginal);
       
    36     }
       
    37     
       
    38 TPoint CAknFepChineseUIDataConv::AnyToPoint(TAny* aOriginal)
       
    39     {
       
    40     return *(reinterpret_cast<TPoint*>(aOriginal));
       
    41     }
       
    42     
       
    43 TRgb CAknFepChineseUIDataConv::AnyToRgb(TAny* aOriginal)
       
    44     {
       
    45     return *(reinterpret_cast<TRgb*>(aOriginal));
       
    46     }
       
    47     
       
    48 TSize CAknFepChineseUIDataConv::AnyToSize(TAny* aOriginal)
       
    49     {
       
    50     return *(reinterpret_cast<TSize*>(aOriginal));
       
    51     }
       
    52     
       
    53 TAknTextLineLayout CAknFepChineseUIDataConv::AnyToTextLine(TAny* aOriginal)
       
    54     {
       
    55     return *(reinterpret_cast<TAknTextLineLayout*>(aOriginal));
       
    56     }
       
    57 
       
    58 TAknLayoutText CAknFepChineseUIDataConv::AnyToLayoutText(TAny* aOriginal)
       
    59     {
       
    60     return *(reinterpret_cast<TAknLayoutText*>(aOriginal));
       
    61     }
       
    62 
       
    63 TAknWindowLineLayout CAknFepChineseUIDataConv::AnyToWindowLine(TAny* aOriginal)
       
    64     {
       
    65     return *(reinterpret_cast<TAknWindowLineLayout*>(aOriginal));
       
    66     }
       
    67 
       
    68 TAknLayoutRect CAknFepChineseUIDataConv::AnyToLayoutRect(TAny* aOriginal)
       
    69     {
       
    70     return *(reinterpret_cast<TAknLayoutRect*>(aOriginal));
       
    71     }
       
    72 
       
    73 //End of File