common/tools/ats/smoketest/lbs/internal/lbstestserver/inc/tprocessstartparams.h
author Maciej Seroka <maciejs@symbian.org>
Tue, 10 Nov 2009 13:50:58 +0000
changeset 748 e13acd883fbe
child 872 17498133d9ad
permissions -rw-r--r--
Added new smoketest

// 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 <e32std.h>
#include <e32base.h>
#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__