sysstatemgmt/systemstatemgr/ssm/inc/ssmswppolicysess.h
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 // Copyright (c) 2008-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 SSMSWPPOLICYSESS_H
       
    17 #define SSMSWPPOLICYSESS_H
       
    18 
       
    19 #include <e32base.h>
       
    20 
       
    21 class CSsmSwpPolicyServer;
       
    22 
       
    23 /**
       
    24  The SsmSwpPolicy server session.
       
    25  
       
    26  @internalComponent
       
    27  @released
       
    28  */ 
       
    29 NONSHARABLE_CLASS(CSsmSwpPolicySession) : public CSession2
       
    30 	{
       
    31 public:
       
    32 	static CSsmSwpPolicySession* NewL(CSsmSwpPolicyServer& aSsmPolicyServer);
       
    33 	~CSsmSwpPolicySession();
       
    34 	// From CSession2
       
    35 	void ServiceL(const RMessage2& aMessage);
       
    36 	
       
    37 private:
       
    38 	CSsmSwpPolicySession(CSsmSwpPolicyServer& aSsmPolicyServer);
       
    39 	void ConstructL();
       
    40 	
       
    41 private:
       
    42 	CSsmSwpPolicyServer& iSsmSwpPolicySvr;
       
    43 	TInt iSessionIndex;
       
    44 	};
       
    45 
       
    46 #endif //SSMSWPPOLICYSESS_H