natfw/natfwsocketmediaconnwrapper/inc/mnsmcwtcpconnectionobserver.h
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     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:    Observer
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef M_NSMCWTCPCONNECTIONOBSERVER_H
       
    22 #define M_NSMCWTCPCONNECTIONOBSERVER_H
       
    23 
       
    24 #include <e32def.h>
       
    25 
       
    26 /**
       
    27  *  TCP connection observer
       
    28  *
       
    29  *  Observer interface for notifying client of a SetupTcpConnectionL request 
       
    30  *  completion.
       
    31  *
       
    32  *  @lib socketmediaconnwrapper.dll
       
    33  *  @since S60 v3.2
       
    34  */
       
    35 class MNsmcwTcpConnectionObserver
       
    36     {
       
    37 
       
    38 public:
       
    39 
       
    40     /**
       
    41      * Indicates how connecting succeeds
       
    42      *
       
    43      * @since S60 v3.2
       
    44      * @param aError system-wide error code
       
    45      * @return void
       
    46      */
       
    47     virtual void ConnectingCompleted( TInt aError ) = 0;
       
    48 
       
    49     };
       
    50 
       
    51 
       
    52 #endif // M_NSMCWTCPCONNECTIONOBSERVER_H