phoneapp/phoneuiutils/src/tphonecmdparamtranseffect.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 13 Oct 2010 14:31:22 +0300
branchRCL_3
changeset 81 c26cc2a7c548
parent 69 8baf28733c3d
permissions -rw-r--r--
Revision: 201039 Kit: 201041

/*
* Copyright (c) 2008 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: Implementation of TPhoneCmdParamTransEffect class.
*
*/


// INCLUDE FILES
#include "tphonecmdparamtranseffect.h" 
#include "phoneui.pan"

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

// -----------------------------------------------------------------------------
// TPhoneCmdParamTransEffect::TPhoneCmdParamTransEffect
// C++ default constructor can NOT contain any code, that
// might leave.
// -----------------------------------------------------------------------------
//
EXPORT_C TPhoneCmdParamTransEffect::TPhoneCmdParamTransEffect():
    iType( EPhoneTransEffectNone ),
    iAppUid( KNullUid )
    {
    }

// ---------------------------------------------------------
// TPhoneCmdParamTransEffect::SetType
// Sets the note type
// (other items were commented in a header).
// ---------------------------------------------------------
//
EXPORT_C void TPhoneCmdParamTransEffect::SetType( TPhoneTransEffectType aType )
   {
   iType = aType;   
   }

// ---------------------------------------------------------
// TPhoneCmdParamTransEffect::SetAppUid
// Sets applicaiton uid.
// ---------------------------------------------------------
//
EXPORT_C void TPhoneCmdParamTransEffect::SetAppUid( const TUid& aAppUid )
   {
   iAppUid = aAppUid;
   }

// ---------------------------------------------------------
// TPhoneCmdParamTransEffect::Type
// Returns the note type
// (other items were commented in a header).
// ---------------------------------------------------------
//
EXPORT_C TPhoneTransEffectType TPhoneCmdParamTransEffect::Type() const
   {
   return iType;
   }
  
// ---------------------------------------------------------
// TPhoneCmdParamTransEffect::AppUid
// Returns application uid
// ---------------------------------------------------------
//
EXPORT_C TUid TPhoneCmdParamTransEffect::AppUid() const
   {
   return iAppUid;
   }

//  End of File