lbs/common/inc/ctlbsserver.h
branchSymbian2
changeset 1 8758140453c0
child 6 c108117318cb
equal deleted inserted replaced
0:e8c1ea2c6496 1:8758140453c0
       
     1 // Copyright (c) 2006-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 the License "Symbian Foundation License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // @file CT_LbsServer.h
       
    15 // This contains the header file for LBS Test server
       
    16 // 
       
    17 //
       
    18 
       
    19 #ifndef __CT_LBS_SERVER_H__
       
    20 #define __CT_LBS_SERVER_H__
       
    21 
       
    22 // System includes
       
    23 #include <testexecuteserverbase.h>
       
    24 
       
    25 // User includes
       
    26 #include "ctlbsshareddata.h"
       
    27 
       
    28 //Literals Used
       
    29 _LIT(KTestCaseId, "tc_id");
       
    30 
       
    31 /** Configuration variable to state which module is in use for the test.
       
    32 
       
    33 This does not select the module to use, it's used to switch on test notifcation
       
    34 messages from the test step to the test module.
       
    35 
       
    36 Values:	"real" for use with the real A-GPS module.
       
    37 		"test" for use with the test module.
       
    38 */
       
    39 _LIT(KLbsModuleType, "module_type");
       
    40 _LIT(KLbsModuleType_Real, "real");
       
    41 _LIT(KLbsModuleType_Test, "test");
       
    42 
       
    43 
       
    44 // Implements the LBS Test server
       
    45 class CT_LbsServer : public CTestServer
       
    46 	{
       
    47 public :
       
    48 	static CT_LbsServer* NewL();
       
    49 	// Creates the test steps based on the test step name 
       
    50 	virtual CTestStep* CreateTestStep(const TDesC& aStepName);
       
    51 	virtual ~CT_LbsServer();
       
    52 	CT_LbsServer();
       
    53 public:
       
    54 	CT_LbsSharedData* iSharedData;	
       
    55 
       
    56 	/**
       
    57 	iScheduler is a pointer to the active scheduler for use in the tests
       
    58 	@see CActiveScheduler
       
    59 	*/ 
       
    60 	CActiveScheduler* iScheduler;
       
    61 
       
    62 protected:
       
    63 	virtual void ConstructL(const TDesC& aName);
       
    64 	};
       
    65 
       
    66 #endif //__CT_LBS_SERVER_H__