profilesservices/ProfileEngine/EngInc/MProfileSetTones.h
changeset 0 8c5d936e5675
equal deleted inserted replaced
-1:000000000000 0:8c5d936e5675
       
     1 /*
       
     2 * Copyright (c) 2002 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:  Set tone settings interface.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __MPROFILESETTONES_H
       
    21 #define __MPROFILESETTONES_H
       
    22 
       
    23 // INCLUDES
       
    24 #include <e32std.h>
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 struct TProfileToneSettings;
       
    28 
       
    29 // CLASS DECLARATION
       
    30 
       
    31 /**
       
    32 *  Set tone settings interface.
       
    33 *  This interface offers methods to set line 1 and 2 ringing tone,
       
    34 *  message alert tone and tone settings.
       
    35 *
       
    36 *  @lib N/A
       
    37 *  @since 2.0
       
    38 */
       
    39 class MProfileSetTones
       
    40     {
       
    41     protected:  // Destructor
       
    42 
       
    43         virtual ~MProfileSetTones() {};
       
    44 
       
    45     public: // New functions
       
    46 
       
    47         /**
       
    48         * Set line 1 ringing tone.
       
    49         * @since 2.0
       
    50         * @param aRingingTone File name of the ringing tone.
       
    51         */
       
    52         virtual void SetRingingTone1L( const TDesC& aRingingTone ) = 0;
       
    53 
       
    54         /**
       
    55         * Set line 2 ringing tone.
       
    56         * @since 2.0
       
    57         * @param aRingingTone File name of the ringing tone.
       
    58         */
       
    59         virtual void SetRingingTone2L( const TDesC& aRingingTone ) = 0;
       
    60 
       
    61         /**
       
    62         * Set message alert tone.
       
    63         * @since 2.0
       
    64         * @param aMessageAlertTone File name of the message alert tone.
       
    65         */
       
    66         virtual void SetMessageAlertToneL(
       
    67             const TDesC& aMessageAlertTone ) = 0;
       
    68 
       
    69         /**
       
    70         * Set tone settings of the profile.
       
    71         * @since 2.0
       
    72         * @return Tone settings structure.
       
    73         */
       
    74         virtual TProfileToneSettings& SetToneSettings() = 0;
       
    75 
       
    76     };
       
    77 
       
    78 #endif      // __MPROFILESETTONES_H
       
    79 
       
    80 // End of File