multimediacommscontroller/mmcccontroller/inc/masynclinkcreationobserver.h
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     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:    Observer class.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef MASYNCLINKCREATIONOBSERVER_H
       
    22 #define MASYNCLINKCREATIONOBSERVER_H
       
    23 
       
    24 // INCLUDES
       
    25 #include <e32base.h>
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 class CMccAsyncLinkCreator;
       
    29 
       
    30 
       
    31 // CLASS DECLARATION
       
    32 
       
    33 /**
       
    34  *  Observer class for asynchronous link creation process
       
    35  *
       
    36  *  @lib Mcccontroller.lib
       
    37  *  @since S60 v3.1
       
    38  */
       
    39 class MAsyncLinkCreationObserver
       
    40     {
       
    41 
       
    42 public:
       
    43 
       
    44     /**
       
    45      * Called when CMccAsyncLinkCreator has finished link creation
       
    46      * and can be deleted
       
    47      * @since Series 60 v3.1
       
    48      * @param aClientData Data for the client containing resolved 
       
    49      *                    IP addresses and ports
       
    50      * @param aCreator    The link creator which has finished
       
    51      * @param aError      System wide error code
       
    52      */
       
    53     virtual void CreationProcessEnd( const TMccCreateLinkPckg& aClientData, 
       
    54                                      CMccAsyncLinkCreator* aCreator, 
       
    55                                      TInt aError ) = 0;
       
    56     };
       
    57 
       
    58 #endif      // MASYNCLINKCREATIONOBSERVER_H
       
    59 
       
    60 //  End of File