wlanutilities/wlansniffer/mainapplication/src/wsfconnecteddetailsdialog.cpp
branchRCL_3
changeset 15 dff6ebfd236f
parent 0 56b72877c1cb
child 35 aaabc7526ded
equal deleted inserted replaced
8:c2bc3f8c7777 15:dff6ebfd236f
    28 
    28 
    29 #include "wsflogger.h"
    29 #include "wsflogger.h"
    30 
    30 
    31 // CONSTANTS
    31 // CONSTANTS
    32 LOCAL_D const TInt KUpdateInterval = 1000000; // in micro seconds (1 sec)
    32 LOCAL_D const TInt KUpdateInterval = 1000000; // in micro seconds (1 sec)
    33 // Time item's place in the listbox.
       
    34 LOCAL_D const TInt  KActiveTimeItem = 1;
       
    35 // Transferred data item's place in the listbox.
       
    36 LOCAL_D const TInt  KTransferredAmountItem = 2;
       
    37 
    33 
    38     
    34     
    39 // ================= MEMBER FUNCTIONS =======================
    35 // ================= MEMBER FUNCTIONS =======================
    40 
    36 
    41 // ---------------------------------------------------------------------------
    37 // ---------------------------------------------------------------------------
   157         LOG_WRITEF( "aItemTextArray[0]: %S", &tempElement );
   153         LOG_WRITEF( "aItemTextArray[0]: %S", &tempElement );
   158         }
   154         }
   159 
   155 
   160     if ( iList && aItemTextArray->MdcaCount() )
   156     if ( iList && aItemTextArray->MdcaCount() )
   161         {
   157         {
   162         iList->Reset();
       
   163         iModel->SetItemTextArray( aItemTextArray );
   158         iModel->SetItemTextArray( aItemTextArray );
   164         iModel->SetOwnershipType( ELbmDoesNotOwnItemArray );
   159         iModel->SetOwnershipType( ELbmDoesNotOwnItemArray );        
   165         // draw updated items
       
   166         iList->DrawItem( KActiveTimeItem );
       
   167         iList->DrawItem( KTransferredAmountItem );
       
   168         
       
   169         DrawNow();
   160         DrawNow();
   170         }
   161         }
   171     }
   162     }
   172     
   163     
   173 // ---------------------------------------------------------
   164 // ---------------------------------------------------------