buildverification/autosmoketest/messaging/Inc/TestMessServer.h
changeset 15 5b5908ec640f
parent 13 3a35f7917fa6
child 17 03d9ade4748d
equal deleted inserted replaced
13:3a35f7917fa6 15:5b5908ec640f
     1 // Copyright (c) 2002-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 CTestMessServer
       
    15 // 
       
    16 //
       
    17 
       
    18 #if (!defined __TEST_MESS_SERVER_H_)
       
    19 #define __TEST_MESS_SERVER_H_
       
    20 
       
    21 #include "TestMessWatcher.h"
       
    22 #include "TestMessSharedData.h"
       
    23 
       
    24 #include <test/testexecuteserverbase.h>
       
    25 
       
    26 class CMsvSession;
       
    27 
       
    28 class  CTestMessServer : public CTestServer
       
    29 {
       
    30 public:
       
    31 	static CTestMessServer*	NewL();
       
    32 	virtual CTestStep*		CreateTestStep(const TDesC& aStepName);
       
    33 	~CTestMessServer();
       
    34 	CSession2* NewSessionL(const TVersion& aVersion,const RMessage2& aMessage) const;
       
    35 protected:
       
    36 	CTestMessServer();
       
    37 	void	ConstructL(const TDesC& aName);
       
    38 
       
    39 private:
       
    40 
       
    41 private:
       
    42 	CTestMessSharedData*	iSharedData;
       
    43 };
       
    44 
       
    45 #endif /* __TEST_MESS_SERVER_H_ */