wvuing/ImUtils/Inc/IMNoteMapper.h
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 /*
       
     2 * Copyright (c) 2006 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:  Class is used for mapping engine errors to correct error notes
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef IMNOTEMAPPER_H
       
    21 #define IMNOTEMAPPER_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32base.h>
       
    25 
       
    26 // CLASS DECLARATION
       
    27 
       
    28 /**
       
    29 *  Class is used for mapping engine errors to correct error notes
       
    30 *
       
    31 *  @lib chat.app
       
    32 *  @since
       
    33 */
       
    34 class IMNoteMapper
       
    35     {
       
    36     public: // New functions
       
    37         /**
       
    38         * Shows specified error note for aErrorCode (UI specification)
       
    39         * @param aErrorCode Error code
       
    40         * @param aAdditionalData Additional data to show.
       
    41         * @return Did class have information about given error or not
       
    42         */
       
    43         IMPORT_C static void ShowNoteL( const TInt aErrorCode,
       
    44                                         const TDesC& aAdditionalData = KNullDesC );
       
    45     };
       
    46 
       
    47 #endif      // IMNOTEMAPPER_H
       
    48 
       
    49 // End of File