webservices/wsstar/wsstarplugin/inc/wsstarsessionvalidator.h
changeset 0 62f9d29f7211
equal deleted inserted replaced
-1:000000000000 0:62f9d29f7211
       
     1 /*
       
     2 * Copyright (c) 2006-2006 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 WSSTAR_SESSION_VALIDATOR_H
       
    26 #define WSSTAR_SESSION_VALIDATOR_H
       
    27 
       
    28 // INCLUDES
       
    29 #include <e32base.h>
       
    30 
       
    31 #include "msenremoteserviceconsumer.h"
       
    32 
       
    33 // FORWARD DECLARAtions
       
    34 class CWSStarServiceSession;
       
    35 
       
    36 // CLASS DECLARATION
       
    37 class MWSStarSessionValidator
       
    38     {
       
    39     public:
       
    40     
       
    41         /**
       
    42         * @return KErrNotFound, if no known security mechanism was found
       
    43         *         KErrNotReady, if no service session has been initialized
       
    44         */
       
    45         virtual TInt ValidateL(CWSStarServiceSession& aSession,
       
    46                                TBool aRenewing,
       
    47                                HBufC8*& aErrorMessage,
       
    48                                TBool aOnlySharing) = 0;
       
    49 
       
    50     };
       
    51 
       
    52 #endif //WSSTAR_SESSION_VALIDATOR_H
       
    53 
       
    54 // End of File