speechsrv_plat/vas_api/inc/nssvasmsavetagclient.h
branchRCL_3
changeset 19 e36f3802f733
parent 0 bf1d17376201
equal deleted inserted replaced
18:cad71a31b7fc 19:e36f3802f733
       
     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:  MNssSaveTagClient provides the public callback interfaces for clients 
       
    15 *				 that want to store tags to the VAS Db. The client must inherit and 
       
    16 *				 override the SaveTagCompleted() and SaveTagFailed() methods to handle 
       
    17 *				 VAS Db responses for saving tag(s).
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 #ifndef MNSSSAVETAGCLIENT_H
       
    23 #define MNSSSAVETAGCLIENT_H
       
    24 #include <e32std.h>
       
    25 
       
    26 
       
    27 // CLASS DECLARATIONS
       
    28 /**
       
    29 *  MNssSaveTagClient defines the call back methods used by VAS DB
       
    30 *  when replying to an asynchronous SaveTag() request.
       
    31 *  @lib NssVASApi.lib
       
    32 *  @since 2.0
       
    33 */
       
    34 class MNssSaveTagClient
       
    35 {
       
    36 public:
       
    37 
       
    38    /*enum TNssSaveTagClientFailCode
       
    39    {
       
    40  	  EVASDBNoMemory = 2,
       
    41 	  EVASDBDiskFull,
       
    42 	  EVASDBFailure,
       
    43 	  EVASSRSFailure
       
    44    };*/
       
    45    
       
    46    /**
       
    47    * Callback to indicate SaveTag successed.
       
    48    * @since 2.0
       
    49    * @param None
       
    50    * @return None
       
    51    */
       
    52    virtual void SaveTagCompleted( TInt aErrorCode ) = 0;
       
    53   
       
    54    /**
       
    55    * Callback to indicate SaveTag failed.
       
    56    * @since 2.0
       
    57    * @param aFailCode - The reason SaveContext failed.
       
    58    * @return None
       
    59    */  
       
    60    //virtual void SaveTagFailed(TNssSaveTagClientFailCode aFailCode)=0;
       
    61 };
       
    62 
       
    63 #endif