policymanagement/dmutilserver/inc/DMUtilSession.h
changeset 0 b497e44ab2fc
equal deleted inserted replaced
-1:000000000000 0:b497e44ab2fc
       
     1 /*
       
     2 * Copyright (c) 2000 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: Implementation of policymanagement components
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __DMUTIL_SESSION_H__
       
    20 #define __DMUTIL_SESSION_H__
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32base.h>
       
    24 #include "DMUtilServer.h"
       
    25 
       
    26 //FORWARD DECLARATIONS
       
    27 
       
    28 class CACLStorage;
       
    29 
       
    30 /**
       
    31 *  CDMUtilSession 
       
    32 *  Description.
       
    33 */
       
    34 
       
    35 class CDMUtilSession : public CSession2
       
    36 	{
       
    37 	friend class CDMUtilServer;
       
    38 
       
    39 public:
       
    40 	~CDMUtilSession();
       
    41 	void CreateL();
       
    42 
       
    43 private:
       
    44 	CDMUtilSession();
       
    45 	CDMUtilServer& Server();
       
    46 
       
    47 	void ServiceL( const RMessage2& aMessage );
       
    48 	void DispatchMessageL( const RMessage2& aMessage );
       
    49 	void ServiceError( const RMessage2& aMessage, TInt aError );
       
    50 	
       
    51 	void UpdateStatusFlagsL( KPolicyMngStatusFlags aUpdateCommand);
       
    52 	static void SetIndicatorStateL( CRepository * aCenRep);
       
    53 	static void DefinePropertiesL();
       
    54 	TInt PerformRFSL();
       
    55 	void MarkMMCWipeL();
       
    56 private:	
       
    57 	CACLStorage* iACLStorage;
       
    58 	
       
    59 
       
    60 
       
    61 };
       
    62 
       
    63 #endif //__DMUTIL_SESSION_H__