diff -r ffa4311257f6 -r e7f34e614544 uiservicetab/vimpstcmdprocess/tsrc/vimpstcmdprocess_utest/data/function coverage/indexD36.html --- a/uiservicetab/vimpstcmdprocess/tsrc/vimpstcmdprocess_utest/data/function coverage/indexD36.html Wed Sep 15 11:57:55 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,168 +0,0 @@ - - -CTC++ Coverage Report - - - - - - - - -CTC++ Coverage Report - -Execution Profile -   #36/43

-Directory Summary | Files Summary | Functions Summary | Execution Profile
-To files: First | Previous | Next | Last | Index | No Index


-File: \meco_domain\conversations\uiservicetab\vimpstcmdprocess\src\cvimpstcmdlogout.cpp
-Instrumentation mode: function
-TER: 100 % ( 8/ 8)

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Start/ End/    
True False - Line Source

  1 /*
  2 * ===========================================================================
  3 *  Name        : cvimpstcmdlogout.cpp
  4 *  Part of     : IMUiServiceTab/vimpstcmdprocess
  5 *  Description : 
  6 *  Version     : %version: 5 %
  7 *
  8 *  Copyright © 2008 Nokia.  All rights reserved.
  9 *  This material, including documentation and any related computer
  10 *  programs, is protected by copyright controlled by Nokia.  All
  11 *  rights are reserved.  Copying, including reproducing, storing,
  12 *  adapting or translating, any or all of this material requires the
  13 *  prior written consent of Nokia.  This material also contains
  14 *  confidential information which may not be disclosed to others
  15 *  without the prior written consent of Nokia.
  16 * ============================================================================
  17 */
  18 
  19 // INCLUDE FILES
  20 
  21 #include "cvimpstcmdlogout.h"
  22 
  23 #include "vimpstcmd.hrh"
  24 #include "mvimpstcmdobserver.h"
  25 #include "vimpstdebugprint.h" 
  26 
  27 #include <e32def.h>
  28 
  29 #include "mvimpstengine.h"
  30 
  31 
  32 // Constants
  33 
  34 // --------------------------------------------------------------------------
  35 // CVIMPSTCmdLogout::CVIMPSTCmdLogout
  36 // --------------------------------------------------------------------------
  37 //
 
  38 CVIMPSTCmdLogout::CVIMPSTCmdLogout( 
  39         const TInt aCommandId ,TUint32 aServiceID,
  40         MVIMPSTEngine& aEngine) :            
  41             iCommandId( aCommandId ),
  42             iServiceId( aServiceID ),
  43             iEngine(aEngine)
  44     {
  45     }
  46 
  47 // --------------------------------------------------------------------------
  48 // CVIMPSTCmdLogout::~CVIMPSTCmdLogout
  49 // --------------------------------------------------------------------------
  50 //
 
  51 CVIMPSTCmdLogout::~CVIMPSTCmdLogout()
  52     {    
  53     
  54     }
  55 
  56 // --------------------------------------------------------------------------
  57 // CVIMPSTCmdLogout::NewL
  58 // --------------------------------------------------------------------------
  59 //
 
  60 CVIMPSTCmdLogout* CVIMPSTCmdLogout::NewL( 
  61         const TInt aCommandId,TUint32 aServiceID,
  62         MVIMPSTEngine& aEngine)
  63     {
  64     CVIMPSTCmdLogout* self = new (ELeave ) CVIMPSTCmdLogout( aCommandId ,aServiceID, aEngine);
  65     self->ConstructL(); //use contsurctL if necessary
  66     return self;
  67     }
  68 // --------------------------------------------------------------------------
  69 // CVIMPSTCmdLogout::ConstructL
  70 // --------------------------------------------------------------------------
  71 //
 
  72 void CVIMPSTCmdLogout::ConstructL()
  73     {
  74     
  75     }
  76 
  77 // --------------------------------------------------------------------------
  78 // CVIMPSTCmdLogout::ExecuteLD
  79 // --------------------------------------------------------------------------
  80 //
 
  81 void CVIMPSTCmdLogout::ExecuteLD()
  82     {
  83       CHAT_DP_FUNC_ENTER("CVIMPSTDisableServiceCmd::ExecuteLD");
  84     //push to the cleanupstack
  85     CleanupStack::PushL( this );    
  86     
  87     //call logout
  88       iEngine.LogoutL();
  89       
  90     CHAT_DP_FUNC_ENTER("CVIMPSTDisableServiceCmd:: CommandFinished");
  91 
  92     if(iObserver)
  93        {
  94        iObserver->CommandFinishedL(*this);
  95        }
  96    CHAT_DP_FUNC_ENTER("CVIMPSTDisableServiceCmd:: CommandFinished");   
  97    CleanupStack::PopAndDestroy();   
  98    CHAT_DP_FUNC_DONE("CVIMPSTDisableServiceCmd::ExecuteLD");   
  99     }
  100 
  101 
  102 // --------------------------------------------------------------------------
  103 // CVIMPSTCmdLogout::AddObserver
  104 // --------------------------------------------------------------------------
  105 //
 
  106 void CVIMPSTCmdLogout::AddObserver( MVIMPSTCmdObserver& aObserver )
  107     {
  108     // store the observer to notify the command completion
  109     iObserver = &aObserver;
  110     }
  111 
  112 
  113 // --------------------------------------------------------------------------
  114 // CVIMPSTCmdLogout::CommandId
  115 // --------------------------------------------------------------------------
  116 //
 
  117 TInt CVIMPSTCmdLogout::CommandId() const
  118    {
  119    return iCommandId;   
  120    }
  121 
  122 // --------------------------------------------------------------------------
  123 // CVIMPSTCmdLogout::Result
  124 // --------------------------------------------------------------------------
  125 //
 
  126 TInt CVIMPSTCmdLogout::Result() const
  127    {
  128    //return valid data regd the command operation
  129    return 0;
  130    }
  131 
  132 // End of File
***TER 100% (8/8) of SOURCE FILE cvimpstcmdlogout.cpp

-Directory Summary | Files Summary | Functions Summary | Execution Profile
-To files: First | Previous | Next | Last | Top | Index | No Index


-