eventsui/eventsutils/inc/evttoneutils.h
branchRCL_3
changeset 17 1fc85118c3ae
parent 16 8173571d354e
child 18 870918037e16
equal deleted inserted replaced
16:8173571d354e 17:1fc85118c3ae
     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:  Tone/File Utility.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef EVTTONEUTILS_H
       
    20 #define EVTTONEUTILS_H
       
    21 
       
    22 // System Includes
       
    23 #include <e32base.h>
       
    24 // Class Definition
       
    25     
       
    26 /**
       
    27  *  Static Utility class for Tone/File.
       
    28  *
       
    29  *  @lib 
       
    30  *  @since S60 v9.1
       
    31  */
       
    32 class EvtToneUtils
       
    33     {
       
    34 
       
    35     public: // new functions
       
    36         
       
    37         /**
       
    38          * Check if File Exist
       
    39          * return ETrue if the file exist
       
    40          */
       
    41 		static TBool IsExistL( const TDesC& aFileName );
       
    42 		
       
    43         /**
       
    44          * Check for Tone Type
       
    45          * return ETrue if the file is RNG Type
       
    46          */
       
    47         static TBool IsRNGTypeL( const TDesC& aFileName );
       
    48         
       
    49         /**
       
    50          * Check if File is Playable(Non DRM protected)
       
    51          * return ETrue if the file is playable
       
    52          */
       
    53 		static TBool IsFilePlayableL( const TDesC& aFileName );
       
    54         
       
    55         /**
       
    56          * Get the Data Type
       
    57          * return the Data Type
       
    58          */
       
    59 		static TDataType DataTypeL( const TDesC& aFileName );
       
    60 
       
    61     };
       
    62 
       
    63 #endif EVTTONEUTILS_H