bluetoothengine/bteng/btbearer/inc/btpluginprovider.h
changeset 0 f63038272f30
equal deleted inserted replaced
-1:000000000000 0:f63038272f30
       
     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:  This is the BT bearer plugin header file.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __BTPLUGINPROVIDER_H__
       
    20 #define __BTPLUGINPROVIDER_H__
       
    21 
       
    22 
       
    23 #include <locodbearerplugin.h>
       
    24 
       
    25 
       
    26 class CBTPluginNotifier;
       
    27 
       
    28 
       
    29 /**
       
    30  *  BT Plug in module for local connectivity daemon.
       
    31  *
       
    32  *  This module is loaded by local connectivity daemon if the _BT feature flag 
       
    33  *  is defined. It checks BT state from central repository and starts watching 
       
    34  *  BT ON/OFF state. If BT is ON, it connects to BTEngine server. It continues 
       
    35  *  to watch the key and when it is changed, it notifies the daemon through 
       
    36  *  its callback function.
       
    37  *
       
    38  *  @lib btbearer.lib
       
    39  *  @since S60 v3.2
       
    40  */
       
    41         
       
    42 NONSHARABLE_CLASS( CBTBearerPlugin ) :  public CLocodBearerPlugin
       
    43     {
       
    44 
       
    45 public:
       
    46 
       
    47     /**
       
    48      * Two-phase constructor
       
    49      */
       
    50     static CBTBearerPlugin* NewL( TLocodBearerPluginParams& aParam );
       
    51 
       
    52     /**
       
    53      * Destructor
       
    54      */
       
    55     virtual ~CBTBearerPlugin();
       
    56 
       
    57 private:
       
    58 
       
    59     /**
       
    60      * C++ default constructor
       
    61      */
       
    62     CBTBearerPlugin( TLocodBearerPluginParams& aParam );
       
    63 
       
    64     /**
       
    65      * Symbian 2nd-phase constructor
       
    66      */
       
    67     void ConstructL();
       
    68 
       
    69 private: // data
       
    70 
       
    71     /**
       
    72      * Active object that monitors the BT state.
       
    73      * Own.
       
    74      */
       
    75     CBTPluginNotifier* iBTPluginNotifier;
       
    76 
       
    77     };
       
    78 
       
    79 
       
    80 #endif      // __BTPLUGINPROVIDER_H__