imservices/ossprotocoladaptation/inc/mossprotocolstatusobserver.h
branchRCL_3
changeset 14 7797b2f86d2b
parent 13 b6f2a363adf7
child 16 cfe5eb8bb9ca
equal deleted inserted replaced
13:b6f2a363adf7 14:7797b2f86d2b
     1 /*
       
     2 * Copyright (c) 2007-2008 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: Access handler of one network session
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __MOSSPROTOCOLSTATUSOBSERVER_H
       
    19 #define __MOSSPROTOCOLSTATUSOBSERVER_H
       
    20 
       
    21 
       
    22 //  INCLUDES
       
    23 #include    <E32Std.h>
       
    24 
       
    25 /**
       
    26  *  Access handler of one network session
       
    27  *
       
    28  *  It is used to open/close network session
       
    29  *  and register its observers
       
    30  *
       
    31  */
       
    32 class MPEngSessionStatusObserver
       
    33     {
       
    34 
       
    35     public: //
       
    36 
       
    37         /**
       
    38          *  Handle Session status change
       
    39          *
       
    40          *  @param new session slot state
       
    41          *  @param new session slot event
       
    42          */
       
    43         virtual void StatusChangedL(/* TPEngNWSessionSlotState aNewState, 
       
    44                                 TPEngNWSessionSlotEvent aNewEvent*/ ) = 0;
       
    45 
       
    46 
       
    47     protected:  //Destructor
       
    48 
       
    49         /**
       
    50          *  Protected destructor to prohibits deletion trough interface.
       
    51          */
       
    52         virtual ~MPEngSessionStatusObserver() {};
       
    53     };
       
    54 
       
    55 
       
    56 #endif      //  __MOSSPROTOCOLSTATUSOBSERVER_H
       
    57 
       
    58 //  End of File
       
    59 
       
    60 
       
    61