mmappfw_plat/playback_helper_api/inc/devsoundif.h
changeset 0 a2952bb97e68
equal deleted inserted replaced
-1:000000000000 0:a2952bb97e68
       
     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 CDevSoundIf
       
    15 *
       
    16 */
       
    17 
       
    18 // Version : %version: 4 %
       
    19 
       
    20 
       
    21 
       
    22 #ifndef __DEVSOUNDIF_H
       
    23 #define __DEVSOUNDIF_H
       
    24 
       
    25 class CMMFDevSound;
       
    26 
       
    27 NONSHARABLE_CLASS(CDevSoundIf) 
       
    28 {
       
    29 
       
    30 
       
    31     public:  // Constructors and destructor
       
    32         
       
    33         /**
       
    34         * Two-phased constructor.
       
    35         */
       
    36         IMPORT_C static CDevSoundIf* NewL();
       
    37         
       
    38         /**
       
    39         * Destructor.
       
    40         */
       
    41         IMPORT_C virtual ~CDevSoundIf();
       
    42 
       
    43     public: // New functions
       
    44         
       
    45         /**
       
    46         * Get number of volume steps
       
    47         * @since 9.2
       
    48         * @return number of volume steps
       
    49         */
       
    50         IMPORT_C TInt GetNumberOfVolumeSteps();
       
    51 
       
    52     private:
       
    53 
       
    54         /**
       
    55         * C++ default constructor.
       
    56         */
       
    57         CDevSoundIf();
       
    58 
       
    59         /**
       
    60         * By default Symbian 2nd phase constructor is private.
       
    61         */
       
    62         void ConstructL();
       
    63 
       
    64     private:    // Data
       
    65 
       
    66         CMMFDevSound* iDevSound;        
       
    67 };
       
    68 
       
    69 #endif      // __DEVSOUNDIF_H
       
    70             
       
    71 // End of File