Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/bluetoothinfo_8h_source.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>TB9.2 Example Applications: examples/ForumNokia/ThreadAndActiveObjectsEx/inc/bluetoothinfo.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.2 -->
<h1>examples/ForumNokia/ThreadAndActiveObjectsEx/inc/bluetoothinfo.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span>
<a name="l00002"></a>00002 <span class="comment"> * Copyright © 2008 Nokia Corporation.</span>
<a name="l00003"></a>00003 <span class="comment"> */</span>
<a name="l00004"></a>00004
<a name="l00005"></a>00005
<a name="l00006"></a>00006 <span class="preprocessor">#ifndef __BLUETOOTH_INFO_H__</span>
<a name="l00007"></a>00007 <span class="preprocessor"></span><span class="preprocessor">#define __BLUETOOTH_INFO_H__</span>
<a name="l00008"></a>00008 <span class="preprocessor"></span>
<a name="l00009"></a>00009 <span class="preprocessor">#include <e32base.h></span>
<a name="l00010"></a>00010 <span class="preprocessor">#include "btdiscoverer.h"</span>
<a name="l00011"></a>00011
<a name="l00012"></a>00012 <span class="comment">// CLASS DECLARATION</span>
<a name="l00013"></a>00013
<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>
<a name="l00019"></a>00019 {
<a name="l00020"></a>00020 <span class="keyword">public</span>:
<a name="l00021"></a>00021
<a name="l00030"></a>00030 <a class="code" href="class_t_bluetooth_info.html#a59a19de4516b0b6a1dc5b00a583184d5">TBluetoothInfo</a>(TDes& aName, TDes& aAddress);
<a name="l00031"></a>00031
<a name="l00040"></a>00040 <span class="keywordtype">void</span> <a class="code" href="class_t_bluetooth_info.html#a617ecc3e977de7578be598e50644252e">GetDeviceName</a>(TDes& aName);
<a name="l00041"></a>00041
<a name="l00050"></a>00050 <span class="keywordtype">void</span> <a class="code" href="class_t_bluetooth_info.html#ac49072f87f7d2b6f499538ac3c23d37f">GetAddressHex</a>(TDes& aAddress);
<a name="l00051"></a>00051
<a name="l00059"></a>00059 <span class="keywordtype">void</span> <a class="code" href="class_t_bluetooth_info.html#aa3b86f9b26d95e210a052aa1befb9c98">SetDeviceName</a>(TDes& aName);
<a name="l00060"></a>00060
<a name="l00068"></a>00068 <span class="keywordtype">void</span> <a class="code" href="class_t_bluetooth_info.html#aa9c7ffc43690b37eaaed402349e6cf30">SetAddressHex</a>(TDes& aAddress);
<a name="l00069"></a>00069
<a name="l00070"></a>00070 <span class="keyword">private</span>: <span class="comment">// member data</span>
<a name="l00071"></a>00071
<a name="l00072"></a>00072 <span class="comment">// the name of a bluetooth device</span>
<a name="l00073"></a>00073 TBuf <KBTDeviceLength> iDeviceName;
<a name="l00074"></a>00074 <span class="comment">// the address of a bluetooth device</span>
<a name="l00075"></a>00075 TBuf <KBTDeviceAddress> iHexAddress;
<a name="l00076"></a>00076 };
<a name="l00077"></a>00077
<a name="l00078"></a>00078 <span class="preprocessor">#endif // __BLUETOOTH_INFO_H__</span>
</pre></div></div>
<hr size="1"/><address style="text-align: right;"><small>Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
</body>
</html>