diff -r 76f9aaeefbab -r e13acd883fbe common/tools/ats/smoketest/lbs/internal/lbstestserver/inc/tprocessstartparams.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/tools/ats/smoketest/lbs/internal/lbstestserver/inc/tprocessstartparams.h Tue Nov 10 13:50:58 2009 +0000 @@ -0,0 +1,63 @@ +// 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: +// Definition of class used to define process start parameters +// +// + + + +/** + @file + @internalTechnology +*/ + + +#ifndef __LBSPROCESSSTARTPARAMS_H__ +#define __LBSPROCESSSTARTPARAMS_H__ + +#include +#include +#include "tstartparamsbase.h" + +/** +@internalTechnology +@released + +Parameters for starting the server process + */ +NONSHARABLE_CLASS(TProcessStartParams) : public TStartParamsBase + { +public: + TProcessStartParams(); + void SetProcessFileName(const TDesC& aExeName); + void SetProcessName(const TDesC& aProcessName); + void SetRendezvousRequired(TBool aRendezvousRequired); + TBool GetRendezvousRequired() const; + const TDesC& GetProcessFileName() const; + const TDesC& GetProcessName() const; + TPtrC GetAsCommandLine() const; +private: + // from TStartParamsBase + void SetType(); +private: + // property and really do mean private here + /** whether or not the process Rendezvous is required */ + TBool iRendezvousRequired; + /** server process file name */ + TFileName iProcessFileName; + /** server process name */ + TFileName iProcessName; + }; + +#endif // __LBSPROCESSSTARTPARAMS_H__