sysstatemgmt/systemstatemgr/cle/inc/clesess.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 #ifndef __CLESESS_H__
       
    17 #define __CLESESS_H__
       
    18 
       
    19 
       
    20 #include <e32base.h>
       
    21 
       
    22 
       
    23 
       
    24 class CCleServer;
       
    25 class CSsmCommandUtilProvider;
       
    26 /**
       
    27  The CLE's server session.
       
    28  
       
    29  @internalComponent
       
    30  @released
       
    31  */ 
       
    32 NONSHARABLE_CLASS( CCleSession ) : public CSession2
       
    33 	{
       
    34 	
       
    35 public:
       
    36 	static CCleSession* NewL( CCleServer& aCleServer );
       
    37 	~CCleSession();	
       
    38 	// From CSession2
       
    39 	void ServiceL( const RMessage2& aMessage );
       
    40 	
       
    41 private:
       
    42 	CCleSession( CCleServer& aCleServer );
       
    43 	void ConstructL();
       
    44 	
       
    45 	void ExecuteCommandListL( const RMessage2& aMessage );
       
    46 	void ExecuteCommandListCancel();
       
    47 
       
    48 private:
       
    49 	CCleServer& iCleSvr;
       
    50 	TInt iSessionIndex;
       
    51 	CSsmCommandUtilProvider* iCommandUtilProvider;
       
    52 	};
       
    53 
       
    54 
       
    55 
       
    56 #endif // __CLESESS_H__
       
    57 	
       
    58