mtptransports/mtpcontroller/inc/cmtpbluetoothcontroller.h
changeset 0 d0791faffa3f
child 47 63cf70d3ecd8
equal deleted inserted replaced
-1:000000000000 0:d0791faffa3f
       
     1 // Copyright (c) 2007-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 //
       
    15 
       
    16 
       
    17 
       
    18 /**
       
    19  @file
       
    20  @internalComponent
       
    21 */
       
    22 
       
    23 #ifndef CMTPBLUETOOTHCONTROLLER_H_
       
    24 #define CMTPBLUETOOTHCONTROLLER_H_
       
    25 
       
    26 #include "cmtpcontrollerbase.h"
       
    27 #include "cmtpoperator.h"
       
    28 #include "mtpdebug.h"
       
    29 
       
    30 NONSHARABLE_CLASS( CMTPBluetoothController ) : public CMTPControllerBase, public MMTPOperatorNotifier
       
    31     {
       
    32 public:
       
    33     static CMTPBluetoothController* NewL( CMTPBearerMonitor& aMon );
       
    34     ~CMTPBluetoothController();
       
    35     
       
    36 private:// From CMTPControllerBase
       
    37     void ManageService( TBool aStatus );
       
    38     
       
    39 private:// From MMTPOperatorNotifier
       
    40     void HandleStartTrasnportCompleteL( TInt aError );
       
    41     void HandleStopTrasnportCompleteL( TInt aError );
       
    42     
       
    43 private:
       
    44     CMTPBluetoothController( CMTPBearerMonitor& aMon );
       
    45     
       
    46 private:
       
    47     /**
       
    48      * FLOGGER debug trace member variable.
       
    49      */
       
    50     __FLOG_DECLARATION_MEMBER_MUTABLE;
       
    51     
       
    52     TBool iStat;
       
    53     CMTPOperator* iMTPOperator;
       
    54     };
       
    55 
       
    56 #endif /* CMTPBLUETOOTHCONTROLLER_H_ */