buildverification/autosmoketest/messaging/Inc/TestMessEditEntryUtil.h
branchGCC_SURGE
changeset 17 03d9ade4748d
parent 14 5d7fec11a5ce
parent 15 5b5908ec640f
equal deleted inserted replaced
14:5d7fec11a5ce 17:03d9ade4748d
     1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // This contains CTestMessEditEntryUtil. A utility to edit an entry
       
    15 // 
       
    16 //
       
    17 
       
    18 #if (!defined __TEST_MESS_EDIT_ENTRY_UTIL_H__)
       
    19 #define __TEST_MESS_EDIT_ENTRY_UTIL_H__
       
    20 
       
    21 #include "TestMessStoreProcessUtil.h"
       
    22 
       
    23 /**
       
    24  This class is a utility to edit an entry
       
    25 */
       
    26 class CTestMessEditEntryUtil : public CTestMessStoreProcessUtil
       
    27 {
       
    28 public:
       
    29 	CTestMessEditEntryUtil(CTestMessBase& aTestStep, TBool aSimChecked, TBool aSimInDatabase, RMobilePhone::TMobileAddress aSimPhoneNumber);
       
    30 
       
    31 protected:
       
    32 	// Process the CImHeader information
       
    33 	virtual void	ProcessImHeaderL(CImHeader& aHeader);
       
    34 
       
    35 	// Process the CImMimeHeader information
       
    36 	virtual void	ProcessImMimeHeaderL(CImMimeHeader& aHeader);
       
    37 
       
    38 	// Process the CImIAPPreferences information
       
    39 	virtual void	ProcessInternetAccessPreferencesL(CImIAPPreferences& aPreferences);
       
    40 
       
    41 	// Process the CSmsHeader information
       
    42 	virtual void	ProcessSmsHeaderStreamL(CSmsHeader& aHeader);
       
    43 
       
    44 
       
    45 	// Process the CRichText information
       
    46 	virtual void	ProcessRichTextBodyL(CRichText& aBodyText);
       
    47 
       
    48 private:
       
    49 	TBool							iSimChecked;
       
    50 	TBool							iSimInDatabase;
       
    51 	RMobilePhone::TMobileAddress	iSimPhoneNumber;
       
    52 };
       
    53 
       
    54 #endif /* __TEST_MESS_EDIT_ENTRY_UTIL_H__ */