obex/obexprotocol/obexbttransport/inc/connectobserver.h
changeset 54 4dc88a4ac6f4
parent 52 866b4af7ffbe
child 57 f6055a57ae18
equal deleted inserted replaced
52:866b4af7ffbe 54:4dc88a4ac6f4
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Interface for notification of the completion of a connect request.
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20 */
       
    21 
       
    22 #ifndef CONNECTOBSERVER_H
       
    23 #define CONNECTOBSERVER_H
       
    24 
       
    25 #include <e32base.h>
       
    26 
       
    27 class TObexConnectionInfo;
       
    28 
       
    29 class MConnectObserver
       
    30 	{
       
    31 public:
       
    32 	/** A connect request has completed with the given error. If this is 
       
    33 	KErrNone, aSockinfo will hold connection information. */
       
    34 	virtual void ConnectComplete(TInt aError, TObexConnectionInfo& aSockinfo) = 0;
       
    35 	};
       
    36 
       
    37 #endif // CONNECTOBSERVER_H