bluetoothengine/btindicator/inc/btindicator.h
branchRCL_3
changeset 22 613943a21004
equal deleted inserted replaced
21:0ba996a9b75d 22:613943a21004
       
     1 /*
       
     2  * Copyright (c) 2010 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: Bluetooth Indicator class
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef BTINDICATOR_H
       
    19 #define BTINDICATOR_H
       
    20 
       
    21 
       
    22 #include <hbindicatorinterface.h>
       
    23 //#include <xqappmgr.h>
       
    24 /**
       
    25  * Bluetooth indicator class. 
       
    26  * Handles client request and showing the indications. 
       
    27  */
       
    28 class BTIndicator : public HbIndicatorInterface
       
    29 {
       
    30 public:
       
    31     /**
       
    32      * Constructor
       
    33      */
       
    34     BTIndicator(const QString &indicatorType);
       
    35     
       
    36     /**
       
    37      * Destructor
       
    38      */
       
    39     ~BTIndicator();
       
    40     
       
    41     /**
       
    42      * @see HbIndicatorInterface
       
    43      */
       
    44     bool handleInteraction(InteractionType type);
       
    45     
       
    46     /**
       
    47      * @see HbIndicatorInterface
       
    48      */
       
    49     QVariant indicatorData(int role) const;
       
    50     
       
    51 protected:
       
    52     /**
       
    53      * @see HbIndicatorInterface
       
    54      */
       
    55     bool handleClientRequest(RequestType type, const QVariant &parameter);
       
    56     
       
    57 private:
       
    58 //    void launchBTCpSettingView(); 
       
    59     
       
    60 /*private slots:
       
    61     void handleReturnValue(const QVariant &returnValue);
       
    62     void handleError(int errorCode,const QString &errorMessage);*/
       
    63     
       
    64 private: 
       
    65 
       
    66     QString mSecDisplayName;
       
    67 //    XQApplicationManager mAppMgr;
       
    68     int mIndicatorStatus;
       
    69     
       
    70 private:
       
    71 
       
    72 };
       
    73 
       
    74 #endif /* BTINDICATOR_H */
       
    75 
       
    76 
       
    77 
       
    78