Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/_c_i_s_v_a_p_i_base_8cpp_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/Telephony/ETel3rdPartyExample/Shared/CISVAPIBase.cpp 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/Telephony/ETel3rdPartyExample/Shared/CISVAPIBase.cpp</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).</span>
<a name="l00002"></a>00002 <span class="comment">// All rights reserved.</span>
<a name="l00003"></a>00003 <span class="comment">// This component and the accompanying materials are made available</span>
<a name="l00004"></a>00004 <span class="comment">// under the terms of &quot;Eclipse Public License v1.0&quot;</span>
<a name="l00005"></a>00005 <span class="comment">// which accompanies this distribution, and is available</span>
<a name="l00006"></a>00006 <span class="comment">// at the URL &quot;http://www.eclipse.org/legal/epl-v10.html&quot;.</span>
<a name="l00007"></a>00007 <span class="comment">//</span>
<a name="l00008"></a>00008 <span class="comment">// Initial Contributors:</span>
<a name="l00009"></a>00009 <span class="comment">// Nokia Corporation - initial contribution.</span>
<a name="l00010"></a>00010 <span class="comment">//</span>
<a name="l00011"></a>00011 <span class="comment">// Contributors:</span>
<a name="l00012"></a>00012 <span class="comment">//</span>
<a name="l00013"></a>00013 <span class="comment">// Description:</span>
<a name="l00014"></a>00014 <span class="comment">//</span>
<a name="l00015"></a>00015 
<a name="l00016"></a>00016 <span class="preprocessor">#include &quot;CISVAPIBase.h&quot;</span>
<a name="l00017"></a>00017 
<a name="l00025"></a><a class="code" href="class_c_i_s_v_a_p_i_base.html#a1c0521545381a967a659fbc12505cf65">00025</a> <a class="code" href="class_c_i_s_v_a_p_i_base.html#a1c0521545381a967a659fbc12505cf65">CISVAPIBase::CISVAPIBase</a>(<a class="code" href="class_m_exec_controller.html">MExecController</a>* aController, TTelISVExampleType aExampleType)
<a name="l00026"></a>00026         : CActive(EPriorityStandard),
<a name="l00027"></a>00027           iController(aController),
<a name="l00028"></a>00028           iExampleType(aExampleType)
<a name="l00029"></a>00029         {
<a name="l00030"></a>00030         CActiveScheduler::Add(<span class="keyword">this</span>);
<a name="l00031"></a>00031         <a class="code" href="class_c_i_s_v_a_p_i_base.html#a4b951da8ea644712b0e26fa662e04799">RetrieveConsole</a>();
<a name="l00032"></a>00032         <a class="code" href="class_c_i_s_v_a_p_i_base.html#abd7ef59baf6d23725e9aed1044ddc9ef">RetrieveTelephonyObject</a>();
<a name="l00033"></a>00033         }
<a name="l00034"></a>00034 
<a name="l00038"></a><a class="code" href="class_c_i_s_v_a_p_i_base.html#ab6f0b35112b18c2058f88ab35a9a68c7">00038</a> <span class="keywordtype">void</span> <a class="code" href="class_c_i_s_v_a_p_i_base.html#ab6f0b35112b18c2058f88ab35a9a68c7">CISVAPIBase::RequestNotificationL</a>()
<a name="l00039"></a>00039         {
<a name="l00040"></a>00040         <a class="code" href="class_c_i_s_v_a_p_i_base.html#a0c13d9526d07940b6c8f6504e6e2c559">DoRequestNotificationL</a>();
<a name="l00041"></a>00041         }
<a name="l00042"></a>00042 
<a name="l00046"></a><a class="code" href="class_c_i_s_v_a_p_i_base.html#a0c13d9526d07940b6c8f6504e6e2c559">00046</a> <span class="keywordtype">void</span> <a class="code" href="class_c_i_s_v_a_p_i_base.html#a0c13d9526d07940b6c8f6504e6e2c559">CISVAPIBase::DoRequestNotificationL</a>()
<a name="l00047"></a>00047         {
<a name="l00048"></a>00048         <span class="comment">/*</span>
<a name="l00049"></a>00049 <span class="comment">         Implement CISVAPIBase::DoRequestNotificationL() in any derived</span>
<a name="l00050"></a>00050 <span class="comment">             classes if required</span>
<a name="l00051"></a>00051 <span class="comment">        */</span>
<a name="l00052"></a>00052         }
<a name="l00053"></a>00053 
<a name="l00057"></a><a class="code" href="class_c_i_s_v_a_p_i_base.html#ae582ca026eb25869ea1e130fe16d2e79">00057</a> <span class="keywordtype">void</span> <a class="code" href="class_c_i_s_v_a_p_i_base.html#ae582ca026eb25869ea1e130fe16d2e79">CISVAPIBase::StartRequestL</a>()
<a name="l00058"></a>00058         {
<a name="l00059"></a>00059         <a class="code" href="class_c_i_s_v_a_p_i_base.html#af5a272546d704790a27788fcd45598b5">DoStartRequestL</a>();
<a name="l00060"></a>00060         }
<a name="l00061"></a>00061 
<a name="l00065"></a><a class="code" href="class_c_i_s_v_a_p_i_base.html#af5a272546d704790a27788fcd45598b5">00065</a> <span class="keywordtype">void</span> <a class="code" href="class_c_i_s_v_a_p_i_base.html#af5a272546d704790a27788fcd45598b5">CISVAPIBase::DoStartRequestL</a>()
<a name="l00066"></a>00066         {
<a name="l00067"></a>00067         <span class="comment">/*</span>
<a name="l00068"></a>00068 <span class="comment">         Implement CISVAPIBase::DoStartRequestL() in any derived classes if </span>
<a name="l00069"></a>00069 <span class="comment">             required</span>
<a name="l00070"></a>00070 <span class="comment">        */</span>
<a name="l00071"></a>00071         }
<a name="l00072"></a>00072 
<a name="l00078"></a><a class="code" href="class_c_i_s_v_a_p_i_base.html#adf5199d69f0dd8cf626ee1f1cfeb7413">00078</a> <span class="keywordtype">void</span> <a class="code" href="class_c_i_s_v_a_p_i_base.html#ae582ca026eb25869ea1e130fe16d2e79">CISVAPIBase::StartRequestL</a>(CTelephony::TCallId aCallId)
<a name="l00079"></a>00079         {
<a name="l00080"></a>00080         <a class="code" href="class_c_i_s_v_a_p_i_base.html#af5a272546d704790a27788fcd45598b5">DoStartRequestL</a>(aCallId);
<a name="l00081"></a>00081         }
<a name="l00082"></a>00082 
<a name="l00088"></a><a class="code" href="class_c_i_s_v_a_p_i_base.html#a5c7370075e9ef466a25cb188cbf0f15c">00088</a> <span class="keywordtype">void</span> <a class="code" href="class_c_i_s_v_a_p_i_base.html#af5a272546d704790a27788fcd45598b5">CISVAPIBase::DoStartRequestL</a>(CTelephony::TCallId <span class="comment">/*aCallId*/</span>)
<a name="l00089"></a>00089         {
<a name="l00090"></a>00090         <span class="comment">/*</span>
<a name="l00091"></a>00091 <span class="comment">         Implement CISVAPIBase::DoStartRequestL(CTelephony::TCallId aCallId)</span>
<a name="l00092"></a>00092 <span class="comment">             in any derived classes if required</span>
<a name="l00093"></a>00093 <span class="comment">        */</span>
<a name="l00094"></a>00094         }
<a name="l00095"></a>00095 
<a name="l00101"></a><a class="code" href="class_c_i_s_v_a_p_i_base.html#a17b5f3519ed40b50aa041ce74af89c93">00101</a> <span class="keywordtype">void</span> <a class="code" href="class_c_i_s_v_a_p_i_base.html#ae582ca026eb25869ea1e130fe16d2e79">CISVAPIBase::StartRequestL</a>(<span class="keyword">const</span> TDesC&amp; aTones)
<a name="l00102"></a>00102         {
<a name="l00103"></a>00103         <a class="code" href="class_c_i_s_v_a_p_i_base.html#af5a272546d704790a27788fcd45598b5">DoStartRequestL</a>(aTones);
<a name="l00104"></a>00104         }
<a name="l00105"></a>00105 
<a name="l00111"></a><a class="code" href="class_c_i_s_v_a_p_i_base.html#a0b7e14a686bfae70e3a0ef187e2bcf01">00111</a> <span class="keywordtype">void</span> <a class="code" href="class_c_i_s_v_a_p_i_base.html#af5a272546d704790a27788fcd45598b5">CISVAPIBase::DoStartRequestL</a>(<span class="keyword">const</span> TDesC&amp; <span class="comment">/*aNumber*/</span>)
<a name="l00112"></a>00112         {
<a name="l00113"></a>00113         <span class="comment">/*</span>
<a name="l00114"></a>00114 <span class="comment">         Implement CISVAPIBase::DoStartRequestL(const TDesC&amp; aNumber) in any </span>
<a name="l00115"></a>00115 <span class="comment">             derived classes if required</span>
<a name="l00116"></a>00116 <span class="comment">        */</span>
<a name="l00117"></a>00117         }
<a name="l00118"></a>00118 
<a name="l00125"></a><a class="code" href="class_c_i_s_v_a_p_i_base.html#af5eadbc3fb0257e1fe5c94b7ae8667a0">00125</a> <span class="keywordtype">void</span> <a class="code" href="class_c_i_s_v_a_p_i_base.html#ae582ca026eb25869ea1e130fe16d2e79">CISVAPIBase::StartRequestL</a>(CTelephony::TCallId aCallId1,
<a name="l00126"></a>00126                                        CTelephony::TCallId aCallId2)
<a name="l00127"></a>00127         {
<a name="l00128"></a>00128         <a class="code" href="class_c_i_s_v_a_p_i_base.html#af5a272546d704790a27788fcd45598b5">DoStartRequestL</a>(aCallId1, aCallId2);
<a name="l00129"></a>00129         }
<a name="l00130"></a>00130 
<a name="l00137"></a><a class="code" href="class_c_i_s_v_a_p_i_base.html#a240eee8fe82c34abb3af8d0da7845663">00137</a> <span class="keywordtype">void</span> <a class="code" href="class_c_i_s_v_a_p_i_base.html#af5a272546d704790a27788fcd45598b5">CISVAPIBase::DoStartRequestL</a>(CTelephony::TCallId <span class="comment">/*aCallId1*/</span>,
<a name="l00138"></a>00138                                       CTelephony::TCallId <span class="comment">/*aCallId2*/</span>)
<a name="l00139"></a>00139         {
<a name="l00140"></a>00140         <span class="comment">/*</span>
<a name="l00141"></a>00141 <span class="comment">         Implement CISVAPIBase::DoStartRequestL(CTelephony::TCallId aCallId1, </span>
<a name="l00142"></a>00142 <span class="comment">             CTelephony::TCallId aCallId2) in any derived classes if required</span>
<a name="l00143"></a>00143 <span class="comment">        */</span>
<a name="l00144"></a>00144         }
<a name="l00145"></a>00145 
<a name="l00150"></a><a class="code" href="class_c_i_s_v_a_p_i_base.html#ac5030ef71ea228e32977497e8c145073">00150</a> <span class="keywordtype">void</span> <a class="code" href="class_c_i_s_v_a_p_i_base.html#ac5030ef71ea228e32977497e8c145073">CISVAPIBase::AppTerminate</a>()
<a name="l00151"></a>00151         {
<a name="l00152"></a>00152         <a class="code" href="class_c_i_s_v_a_p_i_base.html#adf37ee8bacf55ee252621ea199b616ef">iController</a>-&gt;<a class="code" href="class_m_exec_controller.html#a2a5e16cb8fd3d95b81b1a894c6fe48d6">Terminate</a>();
<a name="l00153"></a>00153         }
<a name="l00154"></a>00154 
</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>