srsf/nssvasapi/nssvasdb/inc/nssvascvasdbdataexchanger.h
branchRCL_3
changeset 19 e36f3802f733
parent 0 bf1d17376201
equal deleted inserted replaced
18:cad71a31b7fc 19:e36f3802f733
       
     1 /*
       
     2 * Copyright (c) 2004 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:  Defines serialized data types, which were used to transfer
       
    15 *                data between the clinet/server interface of VAS.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef __CNSSVASDBDATAEXCHANGER_H
       
    21 #define __CNSSVASDBDATAEXCHANGER_H
       
    22 
       
    23 // Data Exchange Interface Definition
       
    24 #include "nssvasdbkonsts.h"
       
    25 #include "nssvasccontext.h"
       
    26 
       
    27 //typedef TBuf<KNssVasDbRRDText> NssVasDbRRDText;
       
    28 
       
    29 class TNssSpeechItem
       
    30     {
       
    31 public:
       
    32     TUint32 iRuleId;
       
    33     TUint32 iTagId;
       
    34     TBufC<KNssVasDbTagName> iName;
       
    35     };
       
    36 
       
    37 class TNssGrammarIdRuleId
       
    38     {
       
    39 public:
       
    40     TUint32 iGrammarId;
       
    41     TUint32 iRuleId;
       
    42     };
       
    43     
       
    44 typedef CArrayFixFlat<TNssGrammarIdRuleId> TNssGrammarIdRuleIdListArray;    
       
    45 
       
    46 class TNssTagReference
       
    47     {
       
    48 public:
       
    49     TInt      iTagId;
       
    50     TBufC<40> iTagName;
       
    51     };
       
    52 
       
    53 typedef CArrayFixFlat<TNssTagReference> TNssTagReferenceListArray;
       
    54 
       
    55 typedef TPckgC<TNssGrammarIdRuleId>     TPckgCTNssGrammarIdRuleId;
       
    56 
       
    57 #endif // __CNSSVASDBDATAEXCHANGER_H