lbs/internal/lbstestserver/inc/tstartparamsbase.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 server start parameters 
       
    15 // 
       
    16 //
       
    17 
       
    18 
       
    19 
       
    20 /**
       
    21  @file
       
    22  @internalTechnology
       
    23 */
       
    24 
       
    25 #ifndef __STARTPARAMSBASE_H__
       
    26 #define __STARTPARAMSBASE_H__
       
    27 
       
    28 #include <e32std.h>
       
    29 #include <e32base.h>
       
    30 
       
    31 
       
    32 const TUint KServerStartParamsTypeValue	= 0x10282243;
       
    33 const TUid  KServerStartParamsTypeUid	= {KServerStartParamsTypeValue};
       
    34 
       
    35 const TUint KProcessStartParamsTypeValue = 10282242;
       
    36 const TUid  KProcessStartParamsTypeUid	= {KProcessStartParamsTypeValue};
       
    37 
       
    38 
       
    39 NONSHARABLE_CLASS(TStartParamsBase)
       
    40 	{
       
    41 public:
       
    42 	virtual ~TStartParamsBase();
       
    43 	const TUid	GetType() const; 
       
    44 protected:	
       
    45 	void SetType(const TUid& aType);
       
    46 	virtual void SetType() = 0;
       
    47 private:
       
    48 	TUid	iType;
       
    49 	};
       
    50 
       
    51 #endif // __STARTPARAMSBASE_H__