uiservicetab/vimpstcmdprocess/tsrc/vimpstcmdprocess_utest/data/function coverage/indexD26.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<title>CTC++ Coverage Report</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="keyword" content="CTC++, Testwell, Test Coverage Analyzer">
<meta name="date" content="Tue Oct 6 16:27:11 2009">
<meta name="generator" content="Testwell CTC++ add-on utility ctc2html v2.4">
<link rel="stylesheet" type="text/css" href="ctc.css">
<link rel="contents" href="index.html">
</head>
<body text="#150040" bgcolor="#ffffff" link="#000088" vlink="#007788">
<span class="head1">CTC++ Coverage Report - </span>
<span class="head2">Execution Profile</span>
<span class="head3"> #26/43</span><br><br>
<span class="black"><a href="indexF.html" target="_top">Directory Summary</a> | <a href="index.html" target="_top">Files Summary</a> | <a href="indexB1.html" target="_top">Functions Summary</a> | <a href="indexD1.html">Execution Profile</a><br>
To files: <a href="indexD1.html">First</a> | <a href="indexD25.html">Previous</a> | <a href="indexD27.html">Next</a> | <a href="indexD43.html">Last</a> | <a href="indexA.html#a26">Index</a> | <a href="indexD26.html" target="_top">No Index</a></span><br><br>
<span class="black"><strong>File: \meco_domain\conversations\uiservicetab\vimpstcmdprocess\src\cvimpstcmdcca.cpp</strong></span><br>
<span class="black"><strong>Instrumentation mode: </strong>function</span><br>
<span class="black"><strong>TER: </strong></span><span class="red">44 % ( 4/ 9)</span><br><br>
<table cellspacing="0">
<tr><td align="right" class="black"><strong>Start/</strong> </td><td align="right" class="black"><strong>End/</strong> </td><td> </td><td> </td><td> </td></tr>
<tr><td align="right" class="black"><strong>True</strong> </td><td align="right" class="black"><strong>False</strong> </td><td align="right" class="black"><strong>-</strong></td><td align="right" class="black"> <a href="indexD26.html#ut1" title="First untested"><strong>Line</strong></a> </td><td class="black"><strong>Source</strong></td></tr>
<tr><td colspan="5"><hr></td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 1 </td><td class="black_source">/*</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 2 </td><td class="black_source">* ===========================================================================</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 3 </td><td class="black_source">* Name : cvimpstcmdcca.cpp</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 4 </td><td class="black_source">* Part of : IMUiServiceTab/vimpstcmdprocess</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 5 </td><td class="black_source">* Description : </td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 6 </td><td class="black_source">* Version : %version: 12 %</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 7 </td><td class="black_source">*</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 8 </td><td class="black_source">* Copyright © 2008 Nokia. All rights reserved.</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 9 </td><td class="black_source">* This material, including documentation and any related computer</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 10 </td><td class="black_source">* programs, is protected by copyright controlled by Nokia. All</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 11 </td><td class="black_source">* rights are reserved. Copying, including reproducing, storing,</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 12 </td><td class="black_source">* adapting or translating, any or all of this material requires the</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 13 </td><td class="black_source">* prior written consent of Nokia. This material also contains</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 14 </td><td class="black_source">* confidential information which may not be disclosed to others</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 15 </td><td class="black_source">* without the prior written consent of Nokia.</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 16 </td><td class="black_source">* ============================================================================</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 17 </td><td class="black_source">*/</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 18 </td><td class="black_source"></td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 19 </td><td class="black_source">// INCLUDE FILES</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 20 </td><td class="black_source"></td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 21 </td><td class="black_source"></td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 22 </td><td class="black_source">#include "vimpstcmd.hrh"</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 23 </td><td class="black_source">#include "mvimpstcmdobserver.h"</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 24 </td><td class="black_source">#include "cvimpstcmdcca.h"</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 25 </td><td class="black_source">#include "mvimpstengine.h"</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 26 </td><td class="black_source">#include "MVIMPSTProcessArray.h"</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 27 </td><td class="black_source"></td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 28 </td><td class="black_source">#include <MVPbkContactLink.h> </td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 29 </td><td class="black_source"></td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 30 </td><td class="black_source">#include <e32def.h></td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 31 </td><td class="black_source">#include <e32property.h></td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 32 </td><td class="black_source">#include <imconnectionproviderconsts.h></td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 33 </td><td class="black_source">#include "tvimpstconsts.h"</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 34 </td><td class="black_source">#include "vimpstdetailsviewpluginuids.hrh"</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 35 </td><td class="black_source"></td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 36 </td><td class="black_source">// Constants</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 37 </td><td class="black_source"></td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 38 </td><td class="black_source">// --------------------------------------------------------------------------</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 39 </td><td class="black_source">// CVIMPSTCmdCCA::CVIMPSTCmdCCA</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 40 </td><td class="black_source">// --------------------------------------------------------------------------</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 41 </td><td class="black_source">//</td></tr>
<tr><td colspan="5"> </td></tr>
<tr><td align="right" class="black_profile"><a name="a273"></a>2 </td><td align="right" class="black_profile">2 </td><td align="right" class="black_profile"> </td><td align="right" class="black_profile"> 42 </td><td class="black_source">CVIMPSTCmdCCA::CVIMPSTCmdCCA( </td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 43 </td><td class="black_source"> const TInt aCommandId,</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 44 </td><td class="black_source"> TInt& aIndex, </td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 45 </td><td class="black_source"> MCCAConnection* aConnection,</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 46 </td><td class="black_source"> MVIMPSTProcessArray& mArrayProcess,</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 47 </td><td class="black_source"> MVIMPSTEngine& aEngine ) : </td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 48 </td><td class="black_source"> iCommandId( aCommandId ),</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 49 </td><td class="black_source"> iIndex(aIndex),</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 50 </td><td class="black_source"> iConnection(aConnection),</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 51 </td><td class="black_source"> iArrayProcess(mArrayProcess),</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 52 </td><td class="black_source"> iEngine( aEngine)</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 53 </td><td class="black_source"> {</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 54 </td><td class="black_source"> }</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 55 </td><td class="black_source"></td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 56 </td><td class="black_source">// --------------------------------------------------------------------------</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 57 </td><td class="black_source">// CVIMPSTCmdCCA::~CVIMPSTCmdCCA</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 58 </td><td class="black_source">// --------------------------------------------------------------------------</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 59 </td><td class="black_source">//</td></tr>
<tr><td colspan="5"> </td></tr>
<tr><td align="right" class="red_profile"><a name="a274"></a>0 </td><td align="right" class="black_profile">0 </td><td align="right" class="red_profile">-</td><td align="right" class="red_profile"> <a name="ut1" href="indexD26.html#ut2">60</a> </td><td class="red_source">CVIMPSTCmdCCA::~CVIMPSTCmdCCA()</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 61 </td><td class="black_source"> { </td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 62 </td><td class="black_source"> }</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 63 </td><td class="black_source"></td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 64 </td><td class="black_source">// --------------------------------------------------------------------------</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 65 </td><td class="black_source">// CVIMPSTCmdCCA::NewL</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 66 </td><td class="black_source">// --------------------------------------------------------------------------</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 67 </td><td class="black_source">//</td></tr>
<tr><td colspan="5"> </td></tr>
<tr><td align="right" class="black_profile"><a name="a275"></a>2 </td><td align="right" class="black_profile">0 </td><td align="right" class="black_profile"> </td><td align="right" class="black_profile"> 68 </td><td class="black_source">CVIMPSTCmdCCA* CVIMPSTCmdCCA::NewL( </td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 69 </td><td class="black_source"> const TInt aCommandId,TInt& aIndex,</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 70 </td><td class="black_source"> MCCAConnection* aConnection,</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 71 </td><td class="black_source"> MVIMPSTProcessArray& aArrayProcess,</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 72 </td><td class="black_source"> MVIMPSTEngine& aEngine )</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 73 </td><td class="black_source"> {</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 74 </td><td class="black_source"> CVIMPSTCmdCCA* self = new (ELeave ) CVIMPSTCmdCCA( aCommandId,aIndex,aConnection,aArrayProcess, aEngine );</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 75 </td><td class="black_source"> self->ConstructL(); //use contsurctL if necessary</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 76 </td><td class="black_source"> return self;</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 77 </td><td class="black_source"> }</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 78 </td><td class="black_source">// --------------------------------------------------------------------------</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 79 </td><td class="black_source">// CVIMPSTCmdCCA::ConstructL</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 80 </td><td class="black_source">// --------------------------------------------------------------------------</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 81 </td><td class="black_source">//</td></tr>
<tr><td colspan="5"> </td></tr>
<tr><td align="right" class="black_profile"><a name="a276"></a>2 </td><td align="right" class="black_profile">2 </td><td align="right" class="black_profile"> </td><td align="right" class="black_profile"> 82 </td><td class="black_source">void CVIMPSTCmdCCA::ConstructL()</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 83 </td><td class="black_source"> {</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 84 </td><td class="black_source"> RProperty::Define(KMeCoPropertyUid, KMeCoXSPDetailsServiceIdKey, RProperty::EInt,</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 85 </td><td class="black_source"> ECapabilityReadUserData ,ECapabilityWriteUserData); </td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 86 </td><td class="black_source"> </td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 87 </td><td class="black_source"> }</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 88 </td><td class="black_source"></td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 89 </td><td class="black_source">// --------------------------------------------------------------------------</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 90 </td><td class="black_source">// CVIMPSTCmdCCA::ExecuteLD</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 91 </td><td class="black_source">// --------------------------------------------------------------------------</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 92 </td><td class="black_source">//</td></tr>
<tr><td colspan="5"> </td></tr>
<tr><td align="right" class="red_profile"><a name="a277"></a>0 </td><td align="right" class="black_profile">0 </td><td align="right" class="red_profile">-</td><td align="right" class="red_profile"> <a name="ut2" href="indexD26.html#ut3">93</a> </td><td class="red_source">void CVIMPSTCmdCCA::ExecuteLD()</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 94 </td><td class="black_source"> {</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 95 </td><td class="black_source"> // CHAT_DP_FUNC_ENTER("CVIMPSTSettingsCmd::ExecuteLD");</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 96 </td><td class="black_source"> //push to the cleanupstack</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 97 </td><td class="black_source"> CleanupStack::PushL( this ); </td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 98 </td><td class="black_source"> </td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 99 </td><td class="black_source"> LaunchCcaL();</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 100 </td><td class="black_source"> if(iObserver)</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 101 </td><td class="black_source"> {</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 102 </td><td class="black_source"> iObserver->CommandFinishedL(*this);</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 103 </td><td class="black_source"> }</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 104 </td><td class="black_source"> // CHAT_DP_FUNC_ENTER("CVIMPSTSettingsCmd:: CommandFinished"); </td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 105 </td><td class="black_source"> CleanupStack::PopAndDestroy(); </td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 106 </td><td class="black_source"> // CHAT_DP_FUNC_DONE("CVIMPSTSettingsCmd::ExecuteLD"); </td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 107 </td><td class="black_source"> }</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 108 </td><td class="black_source"></td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 109 </td><td class="black_source"></td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 110 </td><td class="black_source">// --------------------------------------------------------------------------</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 111 </td><td class="black_source">// CVIMPSTCmdCCA::AddObserver</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 112 </td><td class="black_source">// --------------------------------------------------------------------------</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 113 </td><td class="black_source">//</td></tr>
<tr><td colspan="5"> </td></tr>
<tr><td align="right" class="red_profile"><a name="a278"></a>0 </td><td align="right" class="black_profile">0 </td><td align="right" class="red_profile">-</td><td align="right" class="red_profile"> <a name="ut3" href="indexD26.html#ut4">114</a> </td><td class="red_source">void CVIMPSTCmdCCA::AddObserver( MVIMPSTCmdObserver& aObserver )</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 115 </td><td class="black_source"> {</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 116 </td><td class="black_source"> // store the observer to notify the command completion</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 117 </td><td class="black_source"> iObserver = &aObserver;</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 118 </td><td class="black_source"> }</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 119 </td><td class="black_source"></td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 120 </td><td class="black_source"></td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 121 </td><td class="black_source">// --------------------------------------------------------------------------</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 122 </td><td class="black_source">// CVIMPSTCmdCCA::CommandId</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 123 </td><td class="black_source">// --------------------------------------------------------------------------</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 124 </td><td class="black_source">//</td></tr>
<tr><td colspan="5"> </td></tr>
<tr><td align="right" class="black_profile"><a name="a279"></a>2 </td><td align="right" class="black_profile">0 </td><td align="right" class="black_profile"> </td><td align="right" class="black_profile"> 125 </td><td class="black_source">TInt CVIMPSTCmdCCA::CommandId() const</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 126 </td><td class="black_source"> {</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 127 </td><td class="black_source"> return iCommandId; </td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 128 </td><td class="black_source"> }</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 129 </td><td class="black_source"></td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 130 </td><td class="black_source">// --------------------------------------------------------------------------</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 131 </td><td class="black_source">// CVIMPSTCmdCCA::Result</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 132 </td><td class="black_source">// --------------------------------------------------------------------------</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 133 </td><td class="black_source">//</td></tr>
<tr><td colspan="5"> </td></tr>
<tr><td align="right" class="red_profile"><a name="a280"></a>0 </td><td align="right" class="black_profile">0 </td><td align="right" class="red_profile">-</td><td align="right" class="red_profile"> <a name="ut4" href="indexD26.html#ut5">134</a> </td><td class="red_source">TInt CVIMPSTCmdCCA::Result() const</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 135 </td><td class="black_source"> {</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 136 </td><td class="black_source"> //return valid data regd the command operation</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 137 </td><td class="black_source"> return KErrNone;</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 138 </td><td class="black_source"> }</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 139 </td><td class="black_source"></td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 140 </td><td class="black_source">// --------------------------------------------------------------------------</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 141 </td><td class="black_source">// CVIMPSTCmdCCA::LaunchCcaL</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 142 </td><td class="black_source">// --------------------------------------------------------------------------</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 143 </td><td class="black_source">//</td></tr>
<tr><td colspan="5"> </td></tr>
<tr><td align="right" class="red_profile"><a name="a281"></a>0 </td><td align="right" class="black_profile">0 </td><td align="right" class="red_profile">-</td><td align="right" class="red_profile"> <a name="ut5" href="indexD26.html#ut6">144</a> </td><td class="red_source">void CVIMPSTCmdCCA::LaunchCcaL()</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 145 </td><td class="black_source"> { </td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 146 </td><td class="black_source"></td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 147 </td><td class="black_source"> if ( iParameter )</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 148 </td><td class="black_source"> {</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 149 </td><td class="black_source"> iParameter->Close();</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 150 </td><td class="black_source"> iParameter = NULL;</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 151 </td><td class="black_source"> }</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 152 </td><td class="black_source"></td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 153 </td><td class="black_source"> // The lifetime of this cmd object is too short to hold</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 154 </td><td class="black_source"> // iParameterRef, caller of this must own it </td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 155 </td><td class="black_source"> iParameter = TCCAFactory::NewParameterL();</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 156 </td><td class="black_source"> iParameter->SetConnectionFlag(MCCAParameter::ENormal);</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 157 </td><td class="black_source"> iParameter->SetContactDataFlag(MCCAParameter::EContactLink);</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 158 </td><td class="black_source"> </td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 159 </td><td class="black_source"> TUid uid( TUid::Null() );</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 160 </td><td class="black_source"> uid.iUid = KVIMPSTDetailsViewPluginImplmentationUid + iEngine.ServiceId(); // service details view implementation uid</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 161 </td><td class="black_source"> iParameter->SetLaunchedViewUid( uid );</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 162 </td><td class="black_source"> </td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 163 </td><td class="black_source"> RProperty::Set(KMeCoPropertyUid, KMeCoXSPDetailsServiceIdKey, iEngine.ServiceId() ); </td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 164 </td><td class="black_source"> </td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 165 </td><td class="black_source"> MVPbkContactLink* link = iArrayProcess.ContactLink( iIndex )->CloneLC(); </td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 166 </td><td class="black_source"> if (link)</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 167 </td><td class="black_source"> {</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 168 </td><td class="black_source"> HBufC8* link8 = link->PackLC(); </td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 169 </td><td class="black_source"> HBufC16* link16 = HBufC16::NewLC( link8->Length() );</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 170 </td><td class="black_source"> link16->Des().Copy( *link8);</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 171 </td><td class="black_source"> iParameter->SetContactDataL(link16->Des());</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 172 </td><td class="black_source"> CleanupStack::PopAndDestroy(3); </td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 173 </td><td class="black_source"> }</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 174 </td><td class="black_source"> // Sync call</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 175 </td><td class="black_source"> //iParameter ownership passed to iConnection</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 176 </td><td class="black_source"> iConnection->LaunchApplicationL(*iParameter); </td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 177 </td><td class="black_source"> </td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 178 </td><td class="black_source"> }</td></tr>
<tr><td colspan="3" class="black_profile"> </td><td align="right" class="black_profile"> 179 </td><td class="black_source">// End of File</td></tr>
<tr><td colspan="5" class="red"><strong>***TER 44% (4/9) of SOURCE FILE <a name="ut6"></a>cvimpstcmdcca.cpp</strong></td></tr>
</table><br>
<span class="black"><a href="indexF.html" target="_top">Directory Summary</a> | <a href="index.html" target="_top">Files Summary</a> | <a href="indexB1.html" target="_top">Functions Summary</a> | <a href="indexD1.html">Execution Profile</a><br>
To files: <a href="indexD1.html">First</a> | <a href="indexD25.html">Previous</a> | <a href="indexD27.html">Next</a> | <a href="indexD43.html">Last</a> | <a href="indexD26.html">Top</a> | <a href="indexA.html#a26">Index</a> | <a href="indexD26.html" target="_top">No Index</a></span><br><br>
</body></html>