btservices_plat/bt_xqservice_api/inc/btxqserviceapi.h
changeset 66 b3d605f76ff8
child 70 f5508c13dfe0
equal deleted inserted replaced
63:bcf742120177 66:b3d605f76ff8
       
     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-services APIs through Qt Service Framework
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef BTXQSERVICEAPI_H
       
    19 #define BTXQSERVICEAPI_H
       
    20 
       
    21 #include <qstring.h>
       
    22 
       
    23 /*!
       
    24  todo: this API may need to move to plat_ API folder of its destination package.
       
    25  */
       
    26 
       
    27 /*!
       
    28  The Bluetooth service name.
       
    29  */
       
    30 static const QString BluetoothServiceName("btxqservice");
       
    31 
       
    32 /*!
       
    33  The interface of showing the local Bluetooth device address in a dialog
       
    34  */
       
    35 static const QString BluetoothInterfaceShowLocalAddress("com.nokia.symbian.IShowLocalDeviceAddress");
       
    36 
       
    37 /*!
       
    38  The operation used for showing the local Bluetooth device address in a dialog
       
    39  */
       
    40 static const QString BluetoothShowLocalAddress("showBTAddr()");
       
    41 
       
    42 /*!
       
    43  The full service name of showing the local Bluetooth device address in a dialog
       
    44  */
       
    45 static const QString BluetoothServiceShowLocalAddress = 
       
    46         BluetoothServiceName + "." + BluetoothInterfaceShowLocalAddress;
       
    47 
       
    48 /*!
       
    49  The interface of toggling Bluetooth power
       
    50  */
       
    51 static const QString BluetoothInterfaceTogglePower("com.nokia.symbian.ITogglePower");
       
    52 
       
    53 /*!
       
    54  The operation used for toggling the Bluetooth power
       
    55  */
       
    56 static const QString BluetoothTogglePower("togglePower()");
       
    57 
       
    58 /*!
       
    59  The full service name of toggling Bluetooth power
       
    60  */
       
    61 static const QString BluetoothServiceTogglePower = 
       
    62         BluetoothServiceName + "." + BluetoothInterfaceTogglePower;
       
    63 
       
    64 /*!
       
    65  The interface of activating Bluetooth device test mode (DUT mode)
       
    66  */
       
    67 static const QString BluetoothInterfaceActivateDutMode("com.nokia.symbian.IActivateDutMode");
       
    68 
       
    69 /*!
       
    70  The operation used for activating the Bluetooth device test mode (DUT mode) 
       
    71  */
       
    72 static const QString BluetoothActivateDutMode("activateDeviceTestMode()");
       
    73 
       
    74 /*!
       
    75  The operation used for activating the Bluetooth device test mode (DUT mode) 
       
    76  
       
    77  This API is deprecated and should be removed when the client has migrated to new API.
       
    78  */
       
    79 static const QString ActivateDutMode("activateDeviceTestMode()");
       
    80 
       
    81 /*!
       
    82  The full service name of activating Bluetooth device test mode (DUT mode)
       
    83  */
       
    84 static const QString BluetoothServiceActivateDutMode = 
       
    85         BluetoothServiceName + "." + BluetoothInterfaceActivateDutMode;
       
    86 
       
    87 /*!
       
    88  The interface of toggling Bluetooth SSP debug mode
       
    89  */
       
    90 static const QString BluetoothInterfaceToggleSspDebugMode("com.nokia.symbian.IToggleSspDebugMode");
       
    91 
       
    92 /*!
       
    93  The operation used for toggling the Bluetooth SSP debug mode 
       
    94  */
       
    95 static const QString BluetoothToggleSspDebugMode("toggleSspDebugMode()");
       
    96 
       
    97 /*!
       
    98  The operation used for toggling the Bluetooth SSP debug mode.
       
    99   
       
   100  This API is deprecated and should be removed when the client has migrated to new API.
       
   101  */
       
   102 static const QString ToggleSspDebugMode("toggleSspDebugMode()");
       
   103 
       
   104 /*!
       
   105  The full service name of toggling Bluetooth SSP debug mode
       
   106  */
       
   107 static const QString BluetoothServiceToggleSspDebugMode = 
       
   108         BluetoothServiceName + "." + BluetoothInterfaceToggleSspDebugMode;
       
   109 
       
   110 #endif // BTXQSERVICEAPI_H