PECengine/PresenceManager2/SrcReactAuth/CPEngReactAuthStoreImp.h
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 /*
       
     2 * Copyright (c) 2004 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:  Reactive authorization store API implementation owner.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef CPENGREACTAUTHSTOREIMP_H
       
    19 #define CPENGREACTAUTHSTOREIMP_H
       
    20 
       
    21 //  INCLUDES
       
    22 #include <E32Base.h>
       
    23 
       
    24 
       
    25 
       
    26 //FORWARD DECLARATIONS
       
    27 class CPEngNWSessionSlotID2;
       
    28 class CPEngNWSessionSlotStorageProxy;
       
    29 class MPEngAuthorizationManager;
       
    30 class MPEngAuthorizationRespond;
       
    31 
       
    32 
       
    33 /**
       
    34  * Reactive authorization store API implementation owner.
       
    35  *
       
    36  * @since 3.0
       
    37  */
       
    38 NONSHARABLE_CLASS( CPEngReactAuthStoreImp ): public CBase
       
    39 
       
    40     {
       
    41 public: /* Construction */
       
    42 
       
    43 
       
    44     /**
       
    45      * Instantiates CPEngReactAuthStoreImp object.
       
    46      *
       
    47      * @return New CPEngReactAuthStoreImp instance.
       
    48      */
       
    49     static CPEngReactAuthStoreImp* NewL(
       
    50         const CPEngNWSessionSlotID2& aNWSessionSlotID,
       
    51         TInt aPriority );
       
    52 
       
    53 
       
    54     /**
       
    55      * Destructor.
       
    56      */
       
    57     ~CPEngReactAuthStoreImp();
       
    58 
       
    59 
       
    60 
       
    61 protected:
       
    62 
       
    63     /**
       
    64      * C++ constructor.
       
    65      */
       
    66     CPEngReactAuthStoreImp( TInt aPriority );
       
    67 
       
    68 
       
    69     /**
       
    70      * Symbian OS constructor.
       
    71      */
       
    72     void ConstructL( const CPEngNWSessionSlotID2& aNWSessionSlotID );
       
    73 
       
    74 
       
    75 public: //New functions
       
    76 
       
    77     void GetAndLockAuthorizationRespondL(
       
    78         MPEngAuthorizationRespond*& aRespond );
       
    79 
       
    80 
       
    81 private: //Data
       
    82 
       
    83     /**
       
    84      * Interface is friend.
       
    85      * @since 3.0
       
    86      */
       
    87     friend class CPEngReactAuthStore;       // CSI: 36 #
       
    88 
       
    89     //OWN: The priority
       
    90     TInt    iCActivePriority;
       
    91 
       
    92     //OWN:
       
    93     CPEngNWSessionSlotStorageProxy*  iUsedSlot;
       
    94 
       
    95     //OWN:
       
    96     MPEngAuthorizationManager*  iAuthManager;
       
    97 
       
    98     };
       
    99 
       
   100 #endif  //CPENGREACTAUTHSTOREIMP_H
       
   101 
       
   102 // End of File
       
   103 
       
   104