lbs/internal/lbstestserver/inc/tprocessstartparams.h
branchSymbian2
changeset 1 8758140453c0
child 6 c108117318cb
equal deleted inserted replaced
0:e8c1ea2c6496 1:8758140453c0
       
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of the License "Symbian Foundation License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Definition of class used to define process start parameters 
       
    15 // 
       
    16 //
       
    17 
       
    18 
       
    19 
       
    20 /**
       
    21  @file
       
    22  @internalTechnology
       
    23 */
       
    24 
       
    25 
       
    26 #ifndef __LBSPROCESSSTARTPARAMS_H__
       
    27 #define __LBSPROCESSSTARTPARAMS_H__
       
    28 
       
    29 #include <e32std.h>
       
    30 #include <e32base.h>
       
    31 #include "tstartparamsbase.h"
       
    32 
       
    33 /**
       
    34 @internalTechnology
       
    35 @released
       
    36 
       
    37 Parameters for starting the server process
       
    38  */
       
    39 NONSHARABLE_CLASS(TProcessStartParams) : public TStartParamsBase
       
    40 	{
       
    41 public:
       
    42 	TProcessStartParams();
       
    43 	void SetProcessFileName(const TDesC& aExeName);
       
    44 	void SetProcessName(const TDesC& aProcessName);
       
    45 	void SetRendezvousRequired(TBool aRendezvousRequired);
       
    46 	TBool GetRendezvousRequired() const;
       
    47 	const TDesC& GetProcessFileName() const;
       
    48 	const TDesC& GetProcessName() const;
       
    49 	TPtrC GetAsCommandLine() const;
       
    50 private:
       
    51 	// from TStartParamsBase
       
    52 	void SetType();
       
    53 private:
       
    54 	// property and really do mean private here
       
    55 	/** whether or not the process Rendezvous is required */
       
    56 	TBool						iRendezvousRequired;
       
    57 	/** server process file name */
       
    58 	TFileName					iProcessFileName;
       
    59 	/** server process name */
       
    60 	TFileName					iProcessName;
       
    61 	};
       
    62 	
       
    63 #endif // __LBSPROCESSSTARTPARAMS_H__