PECengine/TransferAdapter2/Inc/MPEngSessionStatusObserver.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 is an observer class handling session status change
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __MPENGSESSIONSTATUSOBSERVER_H
       
    19 #define __MPENGSESSIONSTATUSOBSERVER_H
       
    20 
       
    21 
       
    22 //  INCLUDES
       
    23 #include    <E32Std.h>
       
    24 #include    "PEngPresenceEngineConsts2.h"
       
    25 
       
    26 // DATA TYPES
       
    27 
       
    28 
       
    29 
       
    30 // FORWARD DECLARATIONS
       
    31 
       
    32 
       
    33 // CLASS DECLARATION
       
    34 /**
       
    35  *  Access handler of one network session
       
    36  *
       
    37  *  It is used to open/close network session
       
    38  *  and register its observers
       
    39  *
       
    40  *  @since 3.0
       
    41  */
       
    42 class MPEngSessionStatusObserver
       
    43     {
       
    44 
       
    45     public: //
       
    46 
       
    47         /**
       
    48          *  Handle Session status change
       
    49          *
       
    50          *  @since 3.0
       
    51          *
       
    52          *  @param new session slot state
       
    53          *  @param new session slot event
       
    54          */
       
    55         virtual void StatusChangedL( TPEngNWSessionSlotState aNewState,
       
    56                                      TPEngNWSessionSlotEvent aNewEvent ) = 0;
       
    57 
       
    58 
       
    59     protected:  //Destructor
       
    60 
       
    61         /**
       
    62          *  Virtual inline destructor.
       
    63          *  Protected destructor to prohibits deletion trough interface.
       
    64          */
       
    65         virtual ~MPEngSessionStatusObserver() {};
       
    66     };
       
    67 
       
    68 
       
    69 #endif      //  __MPEngSessionStatusObserver_H
       
    70 
       
    71 //  End of File
       
    72 
       
    73 
       
    74