diff -r 76f9aaeefbab -r e13acd883fbe common/tools/ats/smoketest/lbs/internal/lbstestserver/inc/lbstestclientimpl.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/tools/ats/smoketest/lbs/internal/lbstestserver/inc/lbstestclientimpl.h Tue Nov 10 13:50:58 2009 +0000 @@ -0,0 +1,56 @@ +// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of the License "Symbian Foundation License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// Header for the implementation of the client-side code +// for the Lbs test server. +// +// + +#include "rsecuresessionbase.h" +#include "tserverstartparams.h" + + +/* Session class that derives from the server framework session. +*/ +NONSHARABLE_CLASS(RLbsTestSession) : public RSecureSessionBase + { +public: + TVersion Version(); + + TInt StopLbsSystem(); + TInt StartLbsSystem(); + TInt ResetLbsSystem(); + }; + +/* Implementation of the client code. +*/ +NONSHARABLE_CLASS(CLbsTestServerImpl) : public CBase + { +public: + static CLbsTestServerImpl* NewL(); + ~CLbsTestServerImpl(); + + TInt StopLbsSystem(); + TInt StartLbsSystem(); + TInt ResetLbsSystem(); + +protected: + CLbsTestServerImpl(); + +private: + void ConstructL(); + +private: + RLbsTestSession iSession; + TServerStartParams iParams; // MUST live for as long as the client + };