messagingfw/msgtestfw/TestActionUtils/inc/CMtfTestActionUtilsPopScripts.h
changeset 0 8e480a14352b
equal deleted inserted replaced
-1:000000000000 0:8e480a14352b
       
     1 /**
       
     2 * Copyright (c) 2004-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 /**
       
    21  @file
       
    22 */
       
    23 
       
    24 
       
    25 #ifndef __CMTF_TEST_ACTION_UTILS_POP_SCRIPTS_H__
       
    26 #define __CMTF_TEST_ACTION_UTILS_POP_SCRIPTS_H__
       
    27 
       
    28 #include <e32std.h>
       
    29 
       
    30 
       
    31 // Forward declarations
       
    32 class CMtfTestCase;
       
    33 class CMtfTestActionUtilsConfigFileParser;
       
    34 class CImIAPPreferences;
       
    35 class CImPop3Settings;
       
    36 class CImSmtpSettings;
       
    37 
       
    38 class CMtfTestActionUtilsPopScripts
       
    39 {
       
    40 
       
    41 public:		
       
    42 	static void ReadPopSettingsFromConfigurationFileL(CMtfTestCase& aTestCase, const TDesC& aSettingsFile, 
       
    43 											CImPop3Settings& aPopSet, CImIAPPreferences& aPopIapPref, 
       
    44 											CImSmtpSettings& aSmtpSet, CImIAPPreferences& aSmtpIapPref);
       
    45 
       
    46 private:
       
    47 	static void ReadIAPAndAddL( CMtfTestCase& aTestCase, 
       
    48 			CMtfTestActionUtilsConfigFileParser* aScriptFileParser , 
       
    49 			const TDesC& aParamListName , CImIAPPreferences& aIapPref );
       
    50 	static void _ReadIAPAndAddL( CMtfTestCase& aTestCase, 
       
    51 			CMtfTestActionUtilsConfigFileParser* aScriptFileParser , 
       
    52 			const TDesC& aFieldName , CImIAPPreferences& aIapPref );
       
    53 	static TBool GetString( const TDesC& aStringPtr, TInt& aStart, 
       
    54 			TInt aEnd, TPtrC& aBaseString );
       
    55 
       
    56 
       
    57 private:
       
    58 	CMtfTestActionUtilsPopScripts() {};
       
    59 	~CMtfTestActionUtilsPopScripts() {};
       
    60 };
       
    61 
       
    62 #endif