mtptransports/mtpcontroller/inc/cmtpbearermonitor.h
changeset 0 d0791faffa3f
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 CMTPBEARERMONITOR_H
       
    24 #define CMTPBEARERMONITOR_H
       
    25 
       
    26 #include "locodserviceplugin.h"
       
    27 #include "mtpdebug.h"
       
    28 
       
    29 class CMTPControllerBase;
       
    30 
       
    31 NONSHARABLE_CLASS( CMTPBearerMonitor ) : public CLocodServicePlugin
       
    32     {
       
    33 public:
       
    34     static CMTPBearerMonitor* NewL( TLocodServicePluginParams& aParams );
       
    35     
       
    36     ~CMTPBearerMonitor();
       
    37     
       
    38 public:
       
    39     void ManageServiceCompleted( TLocodBearer aBearer, TBool aStatus, TInt aError );
       
    40     
       
    41 private: // From CLocodServicePlugin
       
    42     void ManageService( TLocodBearer aBearer, TBool aStatus );
       
    43     
       
    44 private:
       
    45     CMTPBearerMonitor( TLocodServicePluginParams& aParams );
       
    46     void ConstructL();
       
    47     
       
    48 private:
       
    49     /**
       
    50      * FLOGGER debug trace member variable.
       
    51      */
       
    52     __FLOG_DECLARATION_MEMBER_MUTABLE;
       
    53     
       
    54     RPointerArray< CMTPControllerBase > iMTPControllers;
       
    55     };
       
    56 
       
    57 #endif// CMTPBEARERMONITOR_H