--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lbs/internal/lbstestserver/src/tprocessstartparams.cpp Thu Jan 21 12:53:44 2010 +0000
@@ -0,0 +1,116 @@
+// 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:
+// tprocessstartparams.h
+//
+//
+
+#include "tprocessstartparams.h"
+#include <e32math.h>
+
+/** Initialise start process parameters
+@internalTechnology
+@released
+ */
+TProcessStartParams::TProcessStartParams() : iRendezvousRequired(EFalse)
+ {
+ SetType();
+ }
+
+/** set the rendezous requirement
+
+@internalTechnology
+@released
+ */
+ void TProcessStartParams::SetRendezvousRequired(TBool aRendezvousRequired)
+ {
+ iRendezvousRequired = aRendezvousRequired;
+ }
+
+/** Get the rendezous requirement
+
+@return TBool, Rendezvous property
+@internalTechnology
+@released
+ */
+ TBool TProcessStartParams::GetRendezvousRequired() const
+ {
+ return iRendezvousRequired;
+ }
+
+/** set the process file name
+
+@param aExeName The process file name
+@internalTechnology
+@released
+ */
+ void TProcessStartParams::SetProcessFileName(const TDesC& aExeName)
+ {
+ iProcessFileName = aExeName;
+ }
+
+/** Set the process name
+
+@param aProcessName The process name
+@internalTechnology
+@released
+ */
+ void TProcessStartParams::SetProcessName(const TDesC& aProcessName)
+ {
+ iProcessName = aProcessName;
+ }
+
+/** Get the process file name
+
+@return The process file name
+@internalTechnology
+@released
+ */
+ const TDesC& TProcessStartParams::GetProcessFileName() const
+ {
+ return iProcessFileName;
+ }
+
+/** Get the process name
+
+@return The process name
+@internalTechnology
+@released
+ */
+ const TDesC& TProcessStartParams::GetProcessName() const
+ {
+ return iProcessName;
+ }
+
+/** Get the command line buffer
+
+@return The descriptor to the commandline buffer
+@internalTechnology
+@released
+ */
+ TPtrC TProcessStartParams::GetAsCommandLine() const
+ {
+ TPtrC p(reinterpret_cast<const TText*>(this), sizeof(TProcessStartParams)/sizeof(TText));
+ return p;
+ }
+
+/**
+Fix the type of these params to KProcessStartParamsTypeUid
+
+@internalTechnology
+@released
+ */
+void TProcessStartParams::SetType()
+ {
+ TStartParamsBase::SetType(KProcessStartParamsTypeUid);
+ }