common/tools/ats/smoketest/email/email/smtp/inc/T_SmtpServer.h
changeset 719 d5603c08781b
child 872 17498133d9ad
equal deleted inserted replaced
718:b18be44be852 719:d5603c08781b
       
     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 * This contains the header file for SMTP server
       
    16 * 
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 /**
       
    25  @file
       
    26 */
       
    27 
       
    28 
       
    29 #ifndef __T_SMTP_SERVER_H__
       
    30 #define __T_SMTP_SERVER_H__
       
    31 
       
    32 
       
    33 // User defined classes
       
    34 #include "T_MsgServer.h"
       
    35 #include "T_MsgSharedDataSmtp.h"
       
    36 
       
    37 
       
    38 //Literals Used
       
    39 _LIT(KSmtpServer,"T_MsgSmtpServer");
       
    40 
       
    41 
       
    42 /**
       
    43 Implements the SMTP test server
       
    44 */
       
    45 class CT_MsgSmtpServer : public CT_MsgServer
       
    46 	{
       
    47 public:
       
    48 	static CT_MsgSmtpServer* NewL();
       
    49 
       
    50 private:
       
    51 	CT_MsgSmtpServer();
       
    52 	// Creates the test steps based on the test step name 
       
    53 	virtual CTestStep*	CreateTestStepL(const TDesC& aStepName);
       
    54 
       
    55 	// Creates an object of Shared Data
       
    56 	virtual CT_MsgSharedDataBase* NewSharedDataL();
       
    57 
       
    58 public:
       
    59 	// Creates session object and SMTP MTM					
       
    60 	CT_MsgSharedDataSmtp* iSharedDataSMTP;
       
    61 	};
       
    62 #endif //__T_SMTP_SERVER_H__