Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/bluetoothinfo_8h_source.html
author Dominic Pinkman <dominic.pinkman@nokia.com>
Fri, 13 Aug 2010 16:47:46 +0100
changeset 14 578be2adaf3e
parent 6 43e37759235e
permissions -rw-r--r--
Week 32 contribution of PDK documentation content. See release notes for details. Fixes bug Bug 3582

<!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 &lt;e32base.h&gt;</span>
<a name="l00010"></a>00010 <span class="preprocessor">#include &quot;btdiscoverer.h&quot;</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&amp; aName, TDes&amp; 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&amp; 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&amp; 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&amp; 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&amp; 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 &lt;KBTDeviceLength&gt; iDeviceName;
<a name="l00074"></a>00074     <span class="comment">// the address of a bluetooth device</span>
<a name="l00075"></a>00075         TBuf &lt;KBTDeviceAddress&gt; 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&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address>
</body>
</html>