networksecurity/ipsec/ipsecpol/inc/ipsecpolmansession.h
changeset 0 af10295192d8
equal deleted inserted replaced
-1:000000000000 0:af10295192d8
       
     1 // Copyright (c) 2005-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 // IPSecPolicyManSession.h - IPSec Policy Manager Session
       
    15 //
       
    16 
       
    17 
       
    18 
       
    19 /**
       
    20  @internalComponent
       
    21 */
       
    22 #ifndef __IPSECPOLICYMANSESSION__
       
    23 #define __IPSECPOLICYMANSESSION__
       
    24 
       
    25 #include <e32base.h>
       
    26 #include <e32std.h>
       
    27 
       
    28 const TInt KIPSecPolicyManActive = 1;
       
    29 //
       
    30 //
       
    31 //
       
    32 class CIPSecPolicyManagerServer;
       
    33 class CIPSecPolicyManagerSession:public CSession2
       
    34     {
       
    35     public:
       
    36         enum 
       
    37             { 
       
    38             EIPSecPolicyLoadPolicy,
       
    39                 EIPSecPolicyUnloadPolicy,
       
    40                 EIPSecPolicyCancel,
       
    41                 EIPSecPolicyGetIPSecSAInfo
       
    42             };
       
    43         static CIPSecPolicyManagerSession* NewL(CIPSecPolicyManagerServer* aServer);
       
    44         ~CIPSecPolicyManagerSession(void);
       
    45         void ServiceL(const RMessage2& aMessage);
       
    46         
       
    47     private:
       
    48         CIPSecPolicyManagerSession(CIPSecPolicyManagerServer* aServer );
       
    49         CIPSecPolicyManagerServer* iServer;    
       
    50     };
       
    51 #endif