mmserv/tms/tmsserver/inc/tmsrtparam.h
changeset 12 5a06f39ad45b
equal deleted inserted replaced
0:71ca22bcf22a 12:5a06f39ad45b
       
     1 /*
       
     2  * Copyright (c) 2010 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:
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef TMSRTPARAM_H
       
    19 #define TMSRTPARAM_H
       
    20 
       
    21 //  INCLUDES
       
    22 #include <e32base.h>
       
    23 #include <Profile.hrh>
       
    24 
       
    25 namespace TMS {
       
    26 
       
    27 // Defines different types of RingTone player
       
    28 enum TRtPlayerType
       
    29     {
       
    30     EPlayerFirst,
       
    31     EPlayerAudio = EPlayerFirst,
       
    32     EPlayerBeepOnce,
       
    33     EPlayerSilent,
       
    34     EPlayerUnsecureVoIP,
       
    35     EPlayerDefault,
       
    36     EPlayerSequence,
       
    37     EPlayerBackup,
       
    38     EPlayerTts,
       
    39     EPlayerLast = EPlayerTts,
       
    40     EPlayerCount
       
    41     };
       
    42 
       
    43 /**
       
    44  *  Structure holding ring tone configuration parameters.
       
    45  */
       
    46 struct TMSRtParam
       
    47     {
       
    48 public:
       
    49     TPtrC iTextToSay;
       
    50     TRtPlayerType iType;
       
    51     TUint iPriority;
       
    52     TUint iPreference;
       
    53     TInt iVolume;
       
    54     TProfileRingingType iRingingType;
       
    55     TBool iCallerText;
       
    56     TBool iCallerImage;
       
    57     };
       
    58 
       
    59 } //namespace TMS
       
    60 
       
    61 #endif // TMSRTPARAM_H
       
    62 
       
    63 // End of File