testexecfw/stf/stfext/testmodules/teftestmod/tefwrapper/inc/utils.h
changeset 2 8bb370ba6d1d
equal deleted inserted replaced
1:bbd31066657e 2:8bb370ba6d1d
       
     1 /*
       
     2 * Copyright (c) 2005-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: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef UTILS_H_
       
    21 #define UTILS_H_
       
    22 
       
    23 #include <e32std.h>
       
    24 
       
    25 class RFs;
       
    26 
       
    27 class Utils 
       
    28 	{
       
    29 	public:
       
    30 		enum TErrCode 
       
    31 			{
       
    32 			EErrNone = 100,
       
    33 			EErrVersion,
       
    34 			EErrHelp,
       
    35 			EErrFileNotFound, 
       
    36 			EErrBadParam
       
    37 			};
       
    38 	
       
    39 	public:
       
    40 		static TBool FileExists( RFs&, const TDesC& );
       
    41 		static void DeleteFile( RFs&, const TDesC& );
       
    42 		static void MkDir( RFs&, const TDesC& );
       
    43 	};
       
    44 
       
    45 #endif	// UTILS_H_