webservices/wsstar/wsstarpolicy/inc/msenwspolicymanager.h
changeset 0 62f9d29f7211
equal deleted inserted replaced
-1:000000000000 0:62f9d29f7211
       
     1 /*
       
     2 * Copyright (c) 2002-2005 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: Header declaration
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 #ifndef M_SEN_WS_POLICY_MANAGER_H
       
    26 #define M_SEN_WS_POLICY_MANAGER_H
       
    27 
       
    28 // INCLUDES
       
    29 #include <e32base.h>
       
    30 
       
    31 // FORWARD DECLARATIONS
       
    32 class CSenWSDescription;
       
    33 class CSenInternalWsPolicy;
       
    34 class RSenWSPolicyPtr;
       
    35 class CSenElement;
       
    36 
       
    37 typedef RPointerArray<CSenInternalWsPolicy> RSenWSPolicyArray;
       
    38 typedef RArray<RSenWSPolicyPtr> RSenPolicyPtrArray;
       
    39 
       
    40 class MSenWsPolicyManager
       
    41     {
       
    42     public:
       
    43 
       
    44 
       
    45         virtual TInt AddWsPolicy1L(CSenWSDescription* aPattern, const TDesC8& aUri,
       
    46                                                const TDesC8& aPolicy, TInt& aErrorTo) = 0;
       
    47 
       
    48         virtual TInt RemoveWsPolicy1L( CSenWSDescription* aPattern, 
       
    49                                                 const TDesC8& aUri, TInt& aErrorTo) = 0;
       
    50                                                                                                                                                                                                
       
    51         virtual TInt RegisterWsPolicy1L(CSenWSDescription* aPattern,
       
    52                                                     TInt& aErrorTo) = 0;
       
    53 
       
    54         virtual TInt UnRegisterWsPolicy1L(CSenWSDescription* aPattern,
       
    55                                                     TInt& aErrorTo) = 0;
       
    56                                                     
       
    57         virtual CSenElement*  WsPolicy1L( CSenWSDescription* aPattern, 
       
    58                                                 const TDesC8& aUri, TInt& aErrorTo) = 0;
       
    59 
       
    60         virtual CSenElement*  WsPolicy1L( CSenWSDescription* aPattern, 
       
    61                                                 TInt& aErrorTo) = 0;
       
    62 
       
    63         virtual CSenElement*  WsPolicy1L( const TDesC8& aProviderId, TInt& aErrorTo) = 0;
       
    64 
       
    65         virtual TInt AddPolicyConsumer1L(const TDesC8& aUri, const TDesC8& aConsumerId) = 0;
       
    66 
       
    67         virtual TInt RemovePolicyConsumer1L(const TDesC8& aUri, const TDesC8& aConsumerId) = 0;
       
    68         
       
    69                                                 
       
    70     };
       
    71 
       
    72 #endif // M_SEN_WS_POLICY_MANAGER_H
       
    73 
       
    74 // End of File