|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
2 <html xmlns="http://www.w3.org/1999/xhtml"> |
|
3 <head> |
|
4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
|
5 <title>TB9.2 Example Applications: examples/ForumNokia/ThreadAndActiveObjectsEx/inc/bluetoothinfo.h Source File</title> |
|
6 <link href="tabs.css" rel="stylesheet" type="text/css"/> |
|
7 <link href="doxygen.css" rel="stylesheet" type="text/css"/> |
|
8 </head> |
|
9 <body> |
|
10 <!-- Generated by Doxygen 1.6.2 --> |
|
11 <h1>examples/ForumNokia/ThreadAndActiveObjectsEx/inc/bluetoothinfo.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> |
|
12 <a name="l00002"></a>00002 <span class="comment"> * Copyright © 2008 Nokia Corporation.</span> |
|
13 <a name="l00003"></a>00003 <span class="comment"> */</span> |
|
14 <a name="l00004"></a>00004 |
|
15 <a name="l00005"></a>00005 |
|
16 <a name="l00006"></a>00006 <span class="preprocessor">#ifndef __BLUETOOTH_INFO_H__</span> |
|
17 <a name="l00007"></a>00007 <span class="preprocessor"></span><span class="preprocessor">#define __BLUETOOTH_INFO_H__</span> |
|
18 <a name="l00008"></a>00008 <span class="preprocessor"></span> |
|
19 <a name="l00009"></a>00009 <span class="preprocessor">#include <e32base.h></span> |
|
20 <a name="l00010"></a>00010 <span class="preprocessor">#include "btdiscoverer.h"</span> |
|
21 <a name="l00011"></a>00011 |
|
22 <a name="l00012"></a>00012 <span class="comment">// CLASS DECLARATION</span> |
|
23 <a name="l00013"></a>00013 |
|
24 <a name="l00018"></a><a class="code" href="class_t_bluetooth_info.html">00018</a> <span class="keyword">class </span><a class="code" href="class_t_bluetooth_info.html">TBluetoothInfo</a> |
|
25 <a name="l00019"></a>00019 { |
|
26 <a name="l00020"></a>00020 <span class="keyword">public</span>: |
|
27 <a name="l00021"></a>00021 |
|
28 <a name="l00030"></a>00030 <a class="code" href="class_t_bluetooth_info.html#a59a19de4516b0b6a1dc5b00a583184d5">TBluetoothInfo</a>(TDes& aName, TDes& aAddress); |
|
29 <a name="l00031"></a>00031 |
|
30 <a name="l00040"></a>00040 <span class="keywordtype">void</span> <a class="code" href="class_t_bluetooth_info.html#a617ecc3e977de7578be598e50644252e">GetDeviceName</a>(TDes& aName); |
|
31 <a name="l00041"></a>00041 |
|
32 <a name="l00050"></a>00050 <span class="keywordtype">void</span> <a class="code" href="class_t_bluetooth_info.html#ac49072f87f7d2b6f499538ac3c23d37f">GetAddressHex</a>(TDes& aAddress); |
|
33 <a name="l00051"></a>00051 |
|
34 <a name="l00059"></a>00059 <span class="keywordtype">void</span> <a class="code" href="class_t_bluetooth_info.html#aa3b86f9b26d95e210a052aa1befb9c98">SetDeviceName</a>(TDes& aName); |
|
35 <a name="l00060"></a>00060 |
|
36 <a name="l00068"></a>00068 <span class="keywordtype">void</span> <a class="code" href="class_t_bluetooth_info.html#aa9c7ffc43690b37eaaed402349e6cf30">SetAddressHex</a>(TDes& aAddress); |
|
37 <a name="l00069"></a>00069 |
|
38 <a name="l00070"></a>00070 <span class="keyword">private</span>: <span class="comment">// member data</span> |
|
39 <a name="l00071"></a>00071 |
|
40 <a name="l00072"></a>00072 <span class="comment">// the name of a bluetooth device</span> |
|
41 <a name="l00073"></a>00073 TBuf <KBTDeviceLength> iDeviceName; |
|
42 <a name="l00074"></a>00074 <span class="comment">// the address of a bluetooth device</span> |
|
43 <a name="l00075"></a>00075 TBuf <KBTDeviceAddress> iHexAddress; |
|
44 <a name="l00076"></a>00076 }; |
|
45 <a name="l00077"></a>00077 |
|
46 <a name="l00078"></a>00078 <span class="preprocessor">#endif // __BLUETOOTH_INFO_H__</span> |
|
47 </pre></div></div> |
|
48 <hr size="1"/><address style="text-align: right;"><small>Generated by |
|
49 <a href="http://www.doxygen.org/index.html"> |
|
50 <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> |
|
51 </body> |
|
52 </html> |