hti/HtiFramework/inc/HtiNotifier.h
branchRCL_3
changeset 59 8ad140f3dd41
parent 0 a03f92240627
equal deleted inserted replaced
49:7fdc9a71d314 59:8ad140f3dd41
       
     1 /*
       
     2 * Copyright (c) 2009 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:  Provides a notifier service for all HTI binaries
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __HTINOTIFIER_H__
       
    19 #define __HTINOTIFIER_H__
       
    20 
       
    21 // INCLUDES
       
    22 #include <e32base.h>
       
    23 #include <e32std.h>
       
    24 
       
    25 const static TInt KMaxHtiNotifierLength = 128;
       
    26 
       
    27 // CLASS DECLARATION
       
    28 class CHtiNotifier : public CBase
       
    29     {
       
    30 public:
       
    31 
       
    32     /**
       
    33     * Shows a notifier with text
       
    34     * @param aText Text to display
       
    35     * @return none
       
    36     */
       
    37     static void ShowErrorL( const TDesC& aText );
       
    38 
       
    39     /**
       
    40     * Shows a notifier with text and symbian error code as a string
       
    41     * @param aText Formatted text to display
       
    42     * @param aErr  Errorcode to display
       
    43     * @return none
       
    44     */
       
    45     static void ShowErrorL( const TDesC& aText, TInt aErr );
       
    46 
       
    47     };
       
    48 
       
    49 #endif // __HTINOTIFIER_H__