btobexprofiles/obexsendservices/obexservicesendutils/inc/BTSController.h
changeset 32 19bd632b5100
child 40 997690c3397a
equal deleted inserted replaced
31:a0ea99b6fa53 32:19bd632b5100
       
     1 /*
       
     2 * Copyright (c) 2007-2007 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:  Profile controller interface
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef C_BTPROFILECONTROLLER_H
       
    21 #define C_BTPROFILECONTROLLER_H
       
    22 
       
    23 
       
    24 #include <e32base.h> 
       
    25 
       
    26 #include "BTServiceClient.h"
       
    27 
       
    28 
       
    29 class CBTServiceClient;
       
    30 
       
    31 /**
       
    32  *  ProfileControllerIntreface definition 
       
    33  * 
       
    34  *  @endcode
       
    35  *
       
    36  *  @lib ?library
       
    37  *  @since S60 v.3.2
       
    38  */
       
    39 NONSHARABLE_CLASS (CBTSController) : public CBase
       
    40     {
       
    41 
       
    42 public: 
       
    43 
       
    44     CBTSController(); 
       
    45     /**
       
    46      * Destructor.
       
    47      */
       
    48     virtual ~CBTSController();
       
    49 
       
    50     /**
       
    51      * Abort command to client
       
    52      *
       
    53      * @since S60 v.3.2     
       
    54      * @return None
       
    55      */
       
    56      void Abort( );
       
    57 
       
    58 protected:
       
    59     
       
    60     /**
       
    61      * Create client
       
    62      *
       
    63      * @since S60 v.3.2     
       
    64      * @return None
       
    65      */
       
    66      void CreateClientL(MBTServiceClientObserver* aObserver,
       
    67                        const TBTDevAddr& aRemoteDevice,
       
    68                        const TUint aRemotePort,
       
    69                        RArray<CObexHeader*> aHeaderList );    
       
    70 
       
    71 
       
    72 protected: // data
       
    73 
       
    74     /**
       
    75      * Service client
       
    76      * Not own. 
       
    77      */
       
    78     CBTServiceClient*           iClient;
       
    79 
       
    80     };
       
    81 
       
    82 
       
    83 #endif // C_BTPROFILECONTROLLER_H