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 ActivateDutMode("activateDeviceTestMode()"); |
|
73 |
|
74 /*! |
|
75 The full service name of activating Bluetooth device test mode (DUT mode) |
|
76 */ |
|
77 static const QString BluetoothServiceActivateDutMode = |
|
78 BluetoothServiceName + "." + BluetoothInterfaceActivateDutMode; |
|
79 |
|
80 /*! |
|
81 The interface of toggling Bluetooth SSP debug mode |
|
82 */ |
|
83 static const QString BluetoothInterfaceToggleSspDebugMode("com.nokia.symbian.IToggleSspDebugMode"); |
|
84 |
|
85 /*! |
|
86 The operation used for toggling the Bluetooth SSP debug mode |
|
87 */ |
|
88 static const QString ToggleSspDebugMode("toggleSspDebugMode()"); |
|
89 |
|
90 /*! |
|
91 The full service name of toggling Bluetooth SSP debug mode |
|
92 */ |
|
93 static const QString BluetoothServiceToggleSspDebugMode = |
|
94 BluetoothServiceName + "." + BluetoothInterfaceToggleSspDebugMode; |
|
95 |
|
96 #endif // BTXQSERVICEAPI_H |
|