testexecfw/useremul/inc/Utils.h
changeset 0 3e07fef1e154
equal deleted inserted replaced
-1:000000000000 0:3e07fef1e154
       
     1 /*------------------------------------------------------------------
       
     2  -
       
     3  * Software Name : UserEmulator
       
     4  * Version       : v4.2.1309
       
     5  * 
       
     6  * Copyright (c) 2009 France Telecom. All rights reserved.
       
     7  * This software is distributed under the License 
       
     8  * "Eclipse Public License - v 1.0" the text of which is available
       
     9  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
    10  *
       
    11  * Initial Contributors:
       
    12  * France Telecom 
       
    13  *
       
    14  * Contributors:
       
    15  *------------------------------------------------------------------
       
    16  -
       
    17  * File Name: Utils.h
       
    18  * 
       
    19  * Created: 13/08/2009
       
    20  * Author(s): Marcell Kiss, Reshma Sandeep Das
       
    21  *   
       
    22  * Description:
       
    23  * Utility class having helper functions 
       
    24  *------------------------------------------------------------------
       
    25  -
       
    26  *
       
    27  */
       
    28 //System Includes
       
    29 #include <e32base.h>
       
    30 #include <w32std.h>
       
    31 
       
    32 // Class Declaration
       
    33 /**
       
    34  *  Implements helper functions.
       
    35  */
       
    36 
       
    37 class CUtils : public CBase
       
    38 {
       
    39 public:
       
    40    
       
    41    /**
       
    42 	* Function displaying Information notes
       
    43 	* @param aMessage Message to be displayed.
       
    44 	*/
       
    45 	static void MessageBoxL(const TDesC& aMessage);
       
    46 	 
       
    47    /**
       
    48 	* Function used to strip or remove extra spaces 
       
    49 	* @param aText 8 bit Input descriptor
       
    50 	*/
       
    51 	static void StripSpaces(TDes8& aText);
       
    52 	
       
    53    /**
       
    54 	* Function used to strip or remove extra spaces 
       
    55 	* @param aText 16 bit Input descriptor 
       
    56 	*/
       
    57 	static void StripSpaces(TDes& aText);
       
    58 };