PECengine/PresenceManager2/SrcCommon/CPEngNWSessionSlotStorageProxy.h
branchRCL_3
changeset 13 a941bc465d9f
parent 0 094583676ce7
equal deleted inserted replaced
12:6ca72c0fe49a 13:a941bc465d9f
       
     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:  CPEngNWSessionSlotStorageProxy
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef CPENGNWSESSIONSLOTSTORAGEPROXY_H__
       
    19 #define CPENGNWSESSIONSLOTSTORAGEPROXY_H__
       
    20 
       
    21 //  INCLUDES
       
    22 #include <E32Base.h>
       
    23 
       
    24 
       
    25 //FORWARD DECLARATION
       
    26 class CPEngNWSessionSlotID2;
       
    27 class MPEngStorageManager;
       
    28 class CPEngSessionSlotId;
       
    29 
       
    30 
       
    31 
       
    32 // CLASS DECLARATION
       
    33 /**
       
    34  *
       
    35  *
       
    36  * @since
       
    37  */
       
    38 NONSHARABLE_CLASS( CPEngNWSessionSlotStorageProxy ) : public CBase
       
    39     {
       
    40 public: // Construction
       
    41 
       
    42 
       
    43     /**
       
    44      * Instantiates CPEngNWSessionSlotStorageProxy object.
       
    45      */
       
    46     static CPEngNWSessionSlotStorageProxy* NewL(
       
    47         const CPEngNWSessionSlotID2& aNWSessionSlotID );
       
    48 
       
    49 
       
    50     /**
       
    51      * Destructor.
       
    52      */
       
    53     ~CPEngNWSessionSlotStorageProxy();
       
    54 
       
    55 
       
    56 private:  // constructors
       
    57 
       
    58     /**
       
    59      * C++ constructor.
       
    60      */
       
    61     CPEngNWSessionSlotStorageProxy();
       
    62 
       
    63 
       
    64     /**
       
    65      * Symbian OS constructor.
       
    66      */
       
    67     void ConstructL( const CPEngNWSessionSlotID2& aNWSessionSlotID );
       
    68 
       
    69 
       
    70 
       
    71 
       
    72 public: // Accessors
       
    73 
       
    74 
       
    75     /**
       
    76      *
       
    77      *
       
    78      * @since 3.0
       
    79      */
       
    80     MPEngStorageManager& StorageManager();
       
    81 
       
    82 
       
    83     /**
       
    84      *
       
    85      *
       
    86      * @since 3.0
       
    87      */
       
    88     const CPEngSessionSlotId& BaseId() const;
       
    89 
       
    90 
       
    91     /**
       
    92      *
       
    93      *
       
    94      * @since 3.0
       
    95      */
       
    96     const TDesC16& AppId() const;
       
    97 
       
    98 
       
    99 
       
   100 
       
   101 
       
   102 private: // data
       
   103 
       
   104 
       
   105     //OWN: Storage Manager
       
   106     MPEngStorageManager*          iStorageManager;
       
   107 
       
   108 
       
   109     //OWN: Application ID
       
   110     HBufC*  iAppId;
       
   111 
       
   112     };
       
   113 
       
   114 #endif      //  CPENGNWSESSIONSLOTSTORAGEPROXY_H__
       
   115 
       
   116 //  End of File
       
   117