startupservices/startupanimation/sanimengine/src/sanimtoneplugin.cpp
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 /*
       
     2 * Copyright (c) 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:  Implementation of CSAnimTonePlugin class
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include "sanimtoneplugin.h"
       
    20 
       
    21 #include "trace.h"
       
    22 
       
    23 // ======== MEMBER FUNCTIONS ========
       
    24 
       
    25 // -----------------------------------------------------------------------------
       
    26 // Constructor
       
    27 //
       
    28 // -----------------------------------------------------------------------------
       
    29 //
       
    30 EXPORT_C CSAnimTonePlugin::CSAnimTonePlugin()
       
    31   : iVolume( 0 ),
       
    32     iVolumeRamp( 0 )
       
    33     {
       
    34     FUNC_LOG;
       
    35     }
       
    36 
       
    37 
       
    38 // -----------------------------------------------------------------------------
       
    39 // CSAnimTonePlugin::SetVolume
       
    40 //
       
    41 // -----------------------------------------------------------------------------
       
    42 //
       
    43 EXPORT_C void CSAnimTonePlugin::SetVolume( const TInt aVolume )
       
    44     {
       
    45     FUNC_LOG;
       
    46 
       
    47     iVolume = aVolume;
       
    48     }
       
    49 
       
    50 
       
    51 // -----------------------------------------------------------------------------
       
    52 // CSAnimTonePlugin::SetVolumeRamp
       
    53 //
       
    54 // -----------------------------------------------------------------------------
       
    55 //
       
    56 EXPORT_C void CSAnimTonePlugin::SetVolumeRamp(
       
    57     const TTimeIntervalMicroSeconds& aVolumeRamp )
       
    58     {
       
    59     FUNC_LOG;
       
    60 
       
    61     iVolumeRamp = aVolumeRamp;
       
    62     }