email/email/pop/inc/T_ComparePopSettings.h
branchSymbian2
changeset 1 8758140453c0
child 6 c108117318cb
equal deleted inserted replaced
0:e8c1ea2c6496 1:8758140453c0
       
     1 /**
       
     2 * Copyright (c) 2006-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 the License "Symbian Foundation License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 /**
       
    23  @file
       
    24 */
       
    25 
       
    26 
       
    27 #ifndef __T_COMPARE_POP_SETTINGS_H__
       
    28 #define __T_COMPARE_POP_SETTINGS_H__
       
    29 
       
    30 
       
    31 
       
    32 // User include
       
    33 #include "T_MsgSyncStepPop.h"
       
    34 
       
    35 //Epoc includes
       
    36 #include <cemailaccounts.h>
       
    37 
       
    38 // Forward Declaration
       
    39 class CImPop3Settings;
       
    40 class CImSmtpSettings;
       
    41 class CImIAPPreferences;
       
    42 
       
    43 // Literals Used
       
    44 _LIT(KComparePopSettings,"ComparePopSettings");
       
    45 
       
    46 
       
    47 /**
       
    48 Implements a test step to compare the POP and SMTP settings objects
       
    49 fora POP account
       
    50 */
       
    51 class CT_MsgComparePopSettings : public CT_MsgSyncStepPOP
       
    52 	{	
       
    53 public:
       
    54 	CT_MsgComparePopSettings(CT_MsgSharedDataPop& aSharedDataPOP);
       
    55 	~CT_MsgComparePopSettings();
       
    56 	
       
    57 	// CTestStep implementation
       
    58 	TVerdict doTestStepL();
       
    59 	
       
    60 public:	
       
    61 	TVerdict CompareSettings(CImPop3Settings& aPopSettings1, CImPop3Settings& aPopSettings2,
       
    62 				CImSmtpSettings& aSmtpSettings1, CImSmtpSettings& aSmtpSettings2,
       
    63 				CImIAPPreferences& aPopIapPrefs1, CImIAPPreferences& aPopIapPrefs2,
       
    64 				CImIAPPreferences& aSmtpIapPrefs1, CImIAPPreferences& aSmtpIapPrefs2);
       
    65 	// This function loads the SMTP and POP settings objects of the specified POP account
       
    66 	void LoadAccountSettingsL(CEmailAccounts& aEmailAccount, const TPopAccount& aAccount, CImPop3Settings& aPopSettings, 
       
    67 	CImIAPPreferences& aPopIapSettings,CImSmtpSettings& aSmtpSettings, CImIAPPreferences& aSmtpIapSettings);
       
    68 	};
       
    69 #endif // __T_COMPARE_POP_SETTINGS_H__