buildverification/smoketest/messaging/Inc/TestMessProcessExistingMsg.h
branchRCL_3
changeset 10 4ca382093dae
parent 5 6beaa9cf4752
child 11 493058e57c8c
equal deleted inserted replaced
5:6beaa9cf4752 10:4ca382093dae
     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 // TestMessProcessExistingMsg.cpp
       
    15 // This contains CTestMessProcessExistingMsg
       
    16 // Base class for processing an existing message
       
    17 // 
       
    18 //
       
    19 
       
    20 #if (!defined __TEST_MESS_PROCESS_EXISTING_MSG__)
       
    21 #define __TEST_MESS_PROCESS_EXISTING_MSG__
       
    22 
       
    23 #include "TestMessBase.h"
       
    24 
       
    25 #include <mtclbase.h>
       
    26 
       
    27 class CTestMessProcessExistingMsg : public CTestMessBase
       
    28 {
       
    29 public:
       
    30 	CTestMessProcessExistingMsg();
       
    31 
       
    32 	virtual	TVerdict		doTestStepL();
       
    33 
       
    34 protected:
       
    35 	virtual	void			ProcessMessageL(CBaseMtm& aBaseMtm, TMsvId aMsgId) = 0;
       
    36 	virtual	void			PostProcessMessageL();
       
    37 	TUid					MtmID() const { return iMtmID; }
       
    38 
       
    39 private:
       
    40 	TUid			iMtmID;
       
    41 };
       
    42 
       
    43 #endif /* __TEST_MESS_PROCESS_EXISTING_MSG__ */