PECengine/TransferAdapter2/Src/MPEngSessionManager.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: This class manage the network session
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __MPENGSESSIONMANAGER_H
       
    19 #define __MPENGSESSIONMANAGER_H
       
    20 
       
    21 
       
    22 //  INCLUDES
       
    23 #include <E32Std.h>
       
    24 
       
    25 // DATA TYPES
       
    26 
       
    27 
       
    28 
       
    29 // FORWARD DECLARATIONS
       
    30 
       
    31 
       
    32 // CLASS DECLARATION
       
    33 /**
       
    34  *  Access handler of one network session
       
    35  *
       
    36  *  It is used to open/close network session
       
    37  *  and register its observers
       
    38  *
       
    39  *  @since 3.0
       
    40  */
       
    41 class MPEngSessionManager
       
    42     {
       
    43 
       
    44     public: //
       
    45 
       
    46         /**
       
    47          *  Close Access handler reference, deleted it
       
    48          *
       
    49          *  @since 3.0
       
    50          *
       
    51          *  @param aHandler to be closed
       
    52          */
       
    53         virtual void CloseAccessHandler() = 0;
       
    54 
       
    55         /**
       
    56          *  Close Access handler
       
    57          *
       
    58          *  @since 3.0
       
    59          *  @param aHandler handler to be closed
       
    60          */
       
    61         virtual void ClosePureDataHandler() = 0;
       
    62 
       
    63 
       
    64         /**
       
    65          * Open reference
       
    66          * @since 3.0
       
    67          */
       
    68         virtual void OpenRef() = 0;
       
    69 
       
    70     protected:  //Destructor
       
    71 
       
    72         /**
       
    73          *  Virtual inline destructor.
       
    74          *  Protected destructor to prohibits deletion trough interface.
       
    75          */
       
    76         virtual ~MPEngSessionManager() {};
       
    77     };
       
    78 
       
    79 
       
    80 #endif      //  __MPEngSessionManager_H
       
    81 
       
    82 //  End of File
       
    83 
       
    84 
       
    85