mtptransports/mtpcontroller/inc/cmtpcontrollerbase.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 CMTPCONTROLLERBASE_H_
       
    24 #define CMTPCONTROLLERBASE_H_
       
    25 
       
    26 #include <e32base.h>
       
    27 #include <locodbearer.h>
       
    28 #include "cmtpbearermonitor.h"
       
    29 
       
    30 NONSHARABLE_CLASS( CMTPControllerBase ) : public CBase
       
    31     {
       
    32 public:
       
    33     TLocodBearer Bearer() const;
       
    34     
       
    35     virtual void ManageService( TBool aStatus ) = 0;
       
    36     
       
    37 protected:
       
    38     CMTPControllerBase( CMTPBearerMonitor& aMon, TLocodBearer aBearer );
       
    39     
       
    40     CMTPBearerMonitor& Monitor() const;
       
    41     
       
    42 private:
       
    43     CMTPBearerMonitor &iMon;
       
    44     TLocodBearer iBearer;
       
    45     };
       
    46 
       
    47 #endif /* CMTPCONTROLLERBASE_H_ */