lbs/internal/lbstestserver/inc/tprocessstartparams.h
author Maciej Seroka <maciejs@symbian.org>
Thu, 21 Jan 2010 12:55:15 +0000
branchSymbian3
changeset 2 e904b452aa85
parent 1 8758140453c0
child 6 c108117318cb
permissions -rw-r--r--
Created Symbian3 branch

// 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__