webservices/wsframework/inc/msensaslmessage.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 SEN_SASL_MESSAGE_H
       
    26 #define SEN_SASL_MESSAGE_H
       
    27 
       
    28 // INCLUDES
       
    29 #include <MSenFragment.h>
       
    30 
       
    31 #include "msencoreservicemanager.h"
       
    32 #include "senpasswordtransform.h"
       
    33 
       
    34 // CLASS DECLARATION
       
    35 class MSenSaslMessage 
       
    36     {
       
    37     public:
       
    38         
       
    39         // New functions
       
    40         
       
    41         /**
       
    42          *  Accepts KNullDesC.
       
    43          */
       
    44         virtual TInt ConstructInitRequestFromL(const TDesC8& aAllMechanismNames,
       
    45                                                CSenIdentityProvider& aAccount) = 0;
       
    46 
       
    47         virtual TInt ConstructRequestFromL(const TDesC8& aMech) = 0;
       
    48         virtual TInt ConstructRequestFromL(const TDesC8& aMech,
       
    49                                            const TDesC8& aData) = 0;
       
    50 
       
    51         virtual TBool IsContinue() = 0;
       
    52         virtual TBool IsAbort() = 0;
       
    53 
       
    54         /**
       
    55          *  @return KNullDesC if not set.
       
    56          */
       
    57          virtual TPtrC8 Mechanism() = 0;
       
    58 
       
    59         /**
       
    60          *  @return KNullDesC if not set.
       
    61          */
       
    62         virtual TPtrC8 ParameterName() = 0;
       
    63 
       
    64         /**
       
    65          *  @return KNullDesC if not set.
       
    66          */
       
    67         virtual TPtrC8 Data() = 0;
       
    68         virtual RPointerArray<CSenPasswordTransform> Transforms() = 0;
       
    69     };
       
    70 
       
    71 #endif // SEN_SASL_MESSAGE_H
       
    72 
       
    73 // End of File