sysstatemgmt/systemstarter/amastartsrc/amastartsess.h
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 // Copyright (c) 2007-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 "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18 */
       
    19 
       
    20 #ifndef __AMASTARTSESS_H__
       
    21 #define __AMASTARTSESS_H__
       
    22 
       
    23 #include <e32std.h>
       
    24 #include <e32base.h>
       
    25 #include <e32capability.h>
       
    26 
       
    27 #include "amastartsrv.h"
       
    28 #include "amastartconst.h"
       
    29 
       
    30 
       
    31 
       
    32 class CAmaStartServer;
       
    33 
       
    34 /**
       
    35  * @internalTechnology
       
    36  * @released
       
    37  */
       
    38 NONSHARABLE_CLASS( CAmaStartSession ) : public CSession2
       
    39 	{
       
    40 	
       
    41 public:
       
    42 	static CAmaStartSession* NewL( CAmaStartServer& aAmaStartServer );
       
    43 	~CAmaStartSession();	
       
    44 	// From CSession2
       
    45 	void ServiceL( const RMessage2& aMessage );
       
    46 	
       
    47 private:
       
    48 	CAmaStartSession( CAmaStartServer& aAmaStartServer );
       
    49 	void ConstructL();
       
    50 	
       
    51 	void StartDscL( const RMessage2& aMessage );
       
    52 	void StartDscCancel();
       
    53 	
       
    54 private:
       
    55 	CAmaStartServer& iAmaStartSvr;
       
    56 	TInt iSessionIndex;
       
    57 	};
       
    58 
       
    59 
       
    60 
       
    61 #endif // __AMASTARTSESS_H__