hti/HtiServicePlugins/HtiIpProxyServicePlugin/IPProxyEngine/Inc/MIPProxyEngineObserver.h
branchRCL_3
changeset 59 8ad140f3dd41
parent 0 a03f92240627
equal deleted inserted replaced
49:7fdc9a71d314 59:8ad140f3dd41
       
     1 /*
       
     2 * Copyright (c) 2009 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:  IPProxyEngine events
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef IPPROXYENGINEOBSERVER_H
       
    21 #define IPPROXYENGINEOBSERVER_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32def.h>
       
    25 #include <es_sock.h>
       
    26 
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31 *  IPProxyEngine events.
       
    32 */
       
    33 class MIPProxyEngineObserver
       
    34     {
       
    35 
       
    36     public: // Abstract functions
       
    37         /**
       
    38         * Notifies that error has occurred.
       
    39         * @param aErrorCode Error code.
       
    40         */
       
    41         virtual void RouterErrorL( TInt aErrorCode ) = 0;
       
    42 
       
    43         /**
       
    44         * Notifies that the observer has leaved while executing the callback
       
    45         * function.
       
    46         * @param aLeaveCode Leave code.
       
    47         */
       
    48         virtual void ObserverLeaved( TInt aLeaveCode ) = 0;
       
    49     };
       
    50 
       
    51 #endif      // IPPROXYENGINEOBSERVER_H
       
    52 
       
    53 // End of File