coreapplicationuis/SysAp/Src/SysApKeySndAnim.cpp
author hgs
Wed, 29 Sep 2010 15:24:56 +0300
changeset 74 1505405bc645
parent 0 2e3d3ce01487
permissions -rw-r--r--
201037_04

/*
* Copyright (c) 2005 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:  RSysApKeySndAnim implementation.
*
*/


// INCLUDE FILES
#include "SysApKeySndAnim.h"   // This
#include "SysApAnimKeySndControl.h"                   
#include <keypublisherdll.h>


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

// ----------------------------------------------------------------------------
// RSysApKeySndAnim::RSysApKeySndAnim( RAnimDll& aAnimDll )
// ----------------------------------------------------------------------------

RSysApKeySndAnim::RSysApKeySndAnim( RAnimDll& aAnimDll )
    :RAnim( aAnimDll )
	{
	}

// ----------------------------------------------------------------------------
// RSysApKeySndAnim::ConstructL( const RWindowBase& aDevice )
// ----------------------------------------------------------------------------

void RSysApKeySndAnim::ConstructL( RWindowGroup* aParent )
	{
	iKeySoundControl = CSysApAnimKeySndControl::NewL(aParent);
	RAnim::Construct(*(iKeySoundControl->DrawableWindow()), 
	                   ESVKAnimKeySound, TPtrC8());
	}

// ----------------------------------------------------------------------------
// RSysApKeySndAnim::Close()
// ----------------------------------------------------------------------------
void RSysApKeySndAnim::Close()
	{
	RAnim::Close();
	delete iKeySoundControl;
	iKeySoundControl = NULL;
	}

//  End of File