wlanutilities/wlansniffer/aiplugin/src/wsfsearchwlansdialog.cpp
branchRCL_3
changeset 24 63be7eb3fc78
parent 23 b852595f5cbe
child 25 f28ada11abbf
--- a/wlanutilities/wlansniffer/aiplugin/src/wsfsearchwlansdialog.cpp	Thu Aug 19 10:59:40 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,218 +0,0 @@
-/*
-* Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies). 
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:  Implementation of CWsfSearchWlansDialog
-*
-*/
-
-
-
-//  EXTERNAL INCLUDES
-#include <badesca.h>
-#include <coemain.h>
-#include <eiklbx.h>
-#include <eikclbd.h>
-#include <eikclb.h>
-#include <AknIconArray.h>
-#include <wsfaipluginrsc.rsg>
-
-//  INTERNAL INCLUDES
-#include "wsfsearchwlansdialog.h"
-#include "wsflogger.h"
-
-//  MACROS
-#ifdef _DEBUG    
-    _LIT( KSearchDialogPanic, "CWsfSearchWlansDialog" );
-    #define _ASS_D( cond ) __ASSERT_DEBUG( (cond), \
-            User::Panic( KSearchDialogPanic, __LINE__) )
-#else
-    #define _ASS_D( cond ) {}
-#endif // DEBUG    
-
-
-//  CONSTRUCTION AND DESTRUCTION
-// --------------------------------------------------------------------------
-// CWsfSearchWlansDialog::NewL
-// --------------------------------------------------------------------------
-//    
-CWsfSearchWlansDialog* CWsfSearchWlansDialog::NewL( TInt &aSelectedItem )
-    {
-    CWsfSearchWlansDialog* thisPtr = NewLC( aSelectedItem );
-    CleanupStack::Pop( thisPtr );
-    return thisPtr;
-    }
-
-
-// --------------------------------------------------------------------------
-// CWsfSearchWlansDialog::NewLC
-// --------------------------------------------------------------------------
-//    
-CWsfSearchWlansDialog* CWsfSearchWlansDialog::NewLC( TInt &aSelectedItem )
-    {
-    CWsfSearchWlansDialog* thisPtr = 
-                    new ( ELeave ) CWsfSearchWlansDialog( aSelectedItem );
-    CleanupStack::PushL( thisPtr );
-    thisPtr->ConstructL();
-    return thisPtr;
-    }
-
-
-// --------------------------------------------------------------------------
-// CWsfSearchWlansDialog::~CWsfSearchWlansDialog
-// --------------------------------------------------------------------------
-//    
-CWsfSearchWlansDialog::~CWsfSearchWlansDialog()
-    {
-    }
-
-
-// --------------------------------------------------------------------------
-// CWsfSearchWlansDialog::CWsfSearchWlansDialog
-// --------------------------------------------------------------------------
-//    
-CWsfSearchWlansDialog::CWsfSearchWlansDialog( TInt &aSelectedItem ) : 
-    CAknListQueryDialog( &aSelectedItem ),
-    iSelectedItem( &aSelectedItem )
-    {
-    }
-
-
-// --------------------------------------------------------------------------
-// CWsfSearchWlansDialog::ConstructL
-// --------------------------------------------------------------------------
-//    
-void CWsfSearchWlansDialog::ConstructL()
-    {
-    // nothing at the moment...
-    }
-
-
-// --------------------------------------------------------------------------
-// CWsfSearchWlansDialog::ProcessCommandL
-// --------------------------------------------------------------------------
-//    
-void CWsfSearchWlansDialog::ProcessCommandL( TInt aCommandId )
-    {
-    LOG_ENTERFN( "CWsfSearchWlansDialog::ProcessCommandL" );
-    CAknListQueryDialog::ProcessCommandL( aCommandId );    
-    }
-
-
-// --------------------------------------------------------------------------
-// CWsfSearchWlansDialog::UpdateHotSpotsL
-// --------------------------------------------------------------------------
-//    
-void CWsfSearchWlansDialog::UpdateHotSpotsL( MDesCArray* aItemTextArray,
-                                             TInt aCurrentItem )
-    {
-    LOG_ENTERFN( "CWsfSearchWlansDialog::UpdateHotSpotsL" );
-    _ASS_D( ListBox() );
-    
-    SetItemTextArray( aItemTextArray );
-    SetOwnershipType( ELbmDoesNotOwnItemArray );
-    ListBox()->HandleItemAdditionL();
-    if ( aCurrentItem < 0 || aCurrentItem >= aItemTextArray->MdcaCount() )
-        {
-        ListBox()->ClearSelection();
-        }
-    else
-        {
-        ListBox()->SetCurrentItemIndex( aCurrentItem );     
-        }    
-    }
-
-
-// --------------------------------------------------------------------------
-// CWsfSearchWlansDialog::SelectedItem
-// --------------------------------------------------------------------------
-//    
-TInt CWsfSearchWlansDialog::SelectedItem()
-    {
-    LOG_ENTERFN( "CWsfSearchWlansDialog::SelectedItem" );
-    _ASS_D( ListBox() );
-
-    return ListBox()->CurrentItemIndex();
-    }
-
-
-// --------------------------------------------------------------------------
-// CWsfSearchWlansDialog::StartConnectingAnimationL
-// --------------------------------------------------------------------------
-//
-void CWsfSearchWlansDialog::StartConnectingAnimationL()
-    {
-    LOG_ENTERFN( "CWsfSearchWlansDialog::StartConnectingAnimationL" );
-    }
-
-
-// --------------------------------------------------------------------------
-// CWsfSearchWlansDialog::ForceRefreshingL
-// --------------------------------------------------------------------------
-//    
-void CWsfSearchWlansDialog::ForceRefreshingL()
-    {
-    LOG_ENTERFN( "CWsfSearchWlansDialog::ForceRefreshingL" );
-    }
-
-
-// --------------------------------------------------------------------------
-// CWsfSearchWlansDialog::MultilineControl
-// --------------------------------------------------------------------------
-//
-TBool CWsfSearchWlansDialog::MultilineControl() 
-    {
-    LOG_ENTERFN( "CWsfSearchWlansDialog::MultilineControl" );
-    return ETrue; 
-    }
-
-
-// --------------------------------------------------------------------------
-// CWsfSearchWlansDialog::UpdateViewL
-// --------------------------------------------------------------------------
-//    
-void CWsfSearchWlansDialog::UpdateViewL( MDesCArray* /*aItemTextArray*/ )
-    {
-    LOG_ENTERFN( "CWsfSearchWlansDialog::UpdateViewL" );
-    }
-
-
-// --------------------------------------------------------------------------
-// CWsfSearchWlansDialog::DisplayEngineOffL
-// --------------------------------------------------------------------------
-//    
-void CWsfSearchWlansDialog::DisplayEngineOffL()
-    {
-    LOG_ENTERFN( "CWsfSearchWlansDialog::DisplayEngineOffL" );
-    }
-
-
-// --------------------------------------------------------------------------
-// CWsfSearchWlansDialog::PreLayoutDynInitL
-// --------------------------------------------------------------------------
-//    
-void CWsfSearchWlansDialog::PreLayoutDynInitL()
-    {
-    LOG_ENTERFN( "CWsfSearchWlansDialog::PreLayoutDynInitL" );
-    _ASS_D( ListBox() );
-    // add the empty text here....
-    HBufC* noWlansAvailable = iCoeEnv->AllocReadResourceLC( 
-                                        R_QTN_STATUS_NO_WLANS_AVAILABLE );
-    
-    ListBox()->View()->SetListEmptyTextL( *noWlansAvailable );
-    
-    CleanupStack::PopAndDestroy( noWlansAvailable );
-    CAknListQueryDialog::PreLayoutDynInitL();
-    }
-    
-// End of file
-