phoneapp/phoneuiutils/src/tphonecmdparamtranseffect.cpp
changeset 0 5f000ab63145
child 25 91c2fb4b78df
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     1 /*
       
     2 * Copyright (c) 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: Implementation of TPhoneCmdParamTransEffect class.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include "tphonecmdparamtranseffect.h" 
       
    21 #include "phoneui.pan"
       
    22 
       
    23 // ================= MEMBER FUNCTIONS =======================
       
    24 
       
    25 // -----------------------------------------------------------------------------
       
    26 // TPhoneCmdParamTransEffect::TPhoneCmdParamTransEffect
       
    27 // C++ default constructor can NOT contain any code, that
       
    28 // might leave.
       
    29 // -----------------------------------------------------------------------------
       
    30 //
       
    31 EXPORT_C TPhoneCmdParamTransEffect::TPhoneCmdParamTransEffect():
       
    32     iType( EPhoneTransEffectNone )
       
    33     {
       
    34     }
       
    35 
       
    36 // ---------------------------------------------------------
       
    37 // TPhoneCmdParamTransEffect::SetType
       
    38 // Sets the note type
       
    39 // (other items were commented in a header).
       
    40 // ---------------------------------------------------------
       
    41 //
       
    42 EXPORT_C void TPhoneCmdParamTransEffect::SetType( TPhoneTransEffectType aType )
       
    43    {
       
    44    iType = aType;   
       
    45    }
       
    46 
       
    47  
       
    48 // ---------------------------------------------------------
       
    49 // TPhoneCmdParamTransEffect::Type
       
    50 // Returns the note type
       
    51 // (other items were commented in a header).
       
    52 // ---------------------------------------------------------
       
    53 //
       
    54 EXPORT_C TPhoneTransEffectType TPhoneCmdParamTransEffect::Type() const
       
    55    {
       
    56    return iType;
       
    57    }
       
    58   
       
    59 //  End of File