pressrv_plat/registration_api/inc/msimpleconnectionobserver.h
changeset 0 c8caa15ef882
equal deleted inserted replaced
-1:000000000000 0:c8caa15ef882
       
     1 /*
       
     2 * Copyright (c) 2006 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:    SIMPLE engine connection observer
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef M_simpleconnectionobserver_H
       
    22 #define M_simpleconnectionobserver_H
       
    23 
       
    24 #include <e32std.h>
       
    25 #include <msimpleconnection.h>
       
    26 
       
    27 /**
       
    28  *  MSimpleConnectionObserver
       
    29  *
       
    30  *  SIMPLE engine connection observer
       
    31  *
       
    32  *  @lib simpleengine
       
    33  *  @since S60 3.2
       
    34  */
       
    35 
       
    36 class MSimpleConnectionObserver
       
    37     {
       
    38 
       
    39 public:
       
    40 
       
    41     /**
       
    42      * Connection status change
       
    43      * @since S60 3.2
       
    44      * @param aState new state
       
    45      */
       
    46     virtual void ConnectionStatusL( MSimpleConnection::TSimpleState aState ) = 0;
       
    47 
       
    48     /**
       
    49      * Client's request completion.
       
    50      *
       
    51      * @since S60 3.2
       
    52      * @param aOpId operation id
       
    53      * @param aStatus completion status
       
    54      */
       
    55     virtual void RequestCompleteL( TInt aOpId, TInt aStatus ) = 0;
       
    56 
       
    57     };
       
    58 
       
    59 #endif
       
    60 
       
    61 // End of File