srsf/speechsynthesis/server/inc/speechsynthesisclientserver.h
branchRCL_3
changeset 19 e36f3802f733
parent 0 bf1d17376201
equal deleted inserted replaced
18:cad71a31b7fc 19:e36f3802f733
       
     1 /*
       
     2 * Copyright (c) 2006-2007 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:  Commom definitions for client and server side
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef SPEECHSYNTHESISCLIENTSERVER_H
       
    20 #define SPEECHSYNTHESISCLIENTSERVER_H
       
    21 
       
    22 #include <e32std.h>
       
    23 
       
    24 
       
    25 _LIT( KSpeechSynthesisServerName, "!speechsynthesisserver" );
       
    26 _LIT( KSpeechSynthesisServerImg, "speechsynthesisserver" );  // DLL/EXE name
       
    27 
       
    28 
       
    29 // Definition of messages send from client to server via session
       
    30 // Do NOT change order, add new messagwe ids to the end!
       
    31 enum TSynthesisMessages
       
    32     {
       
    33     EPrime = 0,
       
    34     EPrimeFileOutput,
       
    35     EPrimeStreamOutput,
       
    36     ETransferFileHandle,
       
    37     ESynthesise,
       
    38     EStopSynthesis,     // 5
       
    39     EPauseSynthesis,
       
    40     EGetDuration, 
       
    41     EGetLanguages,
       
    42     EGetLanguageCount,
       
    43     EGetVoices,         // 10
       
    44     EGetVoiceCount,
       
    45     EVoice,
       
    46     ESetVoice,
       
    47     EMaxSpeakingRate,
       
    48     ESpeakingRate,      // 15
       
    49     ESetSpeakingRate,
       
    50     EMaxVolume,
       
    51     EVolume,
       
    52     ESetVolume,
       
    53     ESetAudioPriority,  // 20
       
    54     ESetAudioOutput,
       
    55     ECustomCommand
       
    56     };
       
    57     
       
    58 const TInt KFsHandleIndex = 0;
       
    59 const TInt KFileHandleIndex = 1;
       
    60 
       
    61 #endif // SPEECHSYNTHESISCLIENT_H