diff -r a36789189b53 -r 095bea5f582e mmserv/tms/tmsserver/inc/tmsrtparam.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mmserv/tms/tmsserver/inc/tmsrtparam.h Tue Aug 31 15:43:02 2010 +0300 @@ -0,0 +1,63 @@ +/* + * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). + * All rights reserved. + * This component and the accompanying materials are made available + * under the terms of "Eclipse Public License v1.0" + * which accompanies this distribution, and is available + * at the URL "http://www.eclipse.org/legal/epl-v10.html". + * + * Initial Contributors: + * Nokia Corporation - initial contribution. + * + * Contributors: + * + * Description: + * + */ + +#ifndef TMSRTPARAM_H +#define TMSRTPARAM_H + +// INCLUDES +#include +#include + +namespace TMS { + +// Defines different types of RingTone player +enum TRtPlayerType + { + EPlayerFirst, + EPlayerAudio = EPlayerFirst, + EPlayerBeepOnce, + EPlayerSilent, + EPlayerUnsecureVoIP, + EPlayerDefault, + EPlayerSequence, + EPlayerBackup, + EPlayerTts, + EPlayerLast = EPlayerTts, + EPlayerCount + }; + +/** + * Structure holding ring tone configuration parameters. + */ +struct TMSRtParam + { +public: + TPtrC iTextToSay; + TRtPlayerType iType; + TUint iPriority; + TUint iPreference; + TInt iVolume; + TProfileRingingType iRingingType; + TBool iCallerText; + TBool iCallerImage; + }; + +} //namespace TMS + +#endif // TMSRTPARAM_H + +// End of File