realtimenetprots/sipfw/ProfileAgent/ProxyResolver/src/MConnObserver.h
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 /*
       
     2 * Copyright (c) 2004-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:
       
    15 * Name          : MConnObserver.h
       
    16 * Part of       : ProxyResolver
       
    17 * Version       : SIP/4.0 
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 /**
       
    25  @internalComponent
       
    26 */
       
    27 
       
    28 #ifndef __MCONNOBSERVER_H__
       
    29 #define __MCONNOBSERVER_H__
       
    30 
       
    31 #include <e32std.h>
       
    32 
       
    33 class MConnObserver
       
    34     {
       
    35 public:
       
    36 
       
    37     virtual ~MConnObserver() {}
       
    38 
       
    39     /**
       
    40      * A RConnection has been succesfully started and is ready to be used. 
       
    41      */
       
    42     virtual void ConnectionReady() = 0;
       
    43 
       
    44     /**
       
    45      * Starting a RConnection failed.
       
    46      *
       
    47      * @param aError a reason why starting failed
       
    48      */
       
    49     virtual void ErrorOccured( TInt aError ) = 0;
       
    50     };
       
    51 
       
    52 #endif // __MCONNOBSERVER_H__