wlanutilities/wlansniffer/mainapplication/src/wsfdocument.cpp
branchRCL_3
changeset 24 63be7eb3fc78
parent 23 b852595f5cbe
child 25 f28ada11abbf
--- a/wlanutilities/wlansniffer/mainapplication/src/wsfdocument.cpp	Thu Aug 19 10:59:40 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,96 +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 CWsfDocument.
-*
-*/
-
-#include <featmgr.h>
-#include "wsfappui.h"
-#include "wsfdocument.h"
-#include "wsfwlaninfoarrayvisitor.h"
-
-#include "wsfmodel.h"
-
-
-// ---------------------------------------------------------------------------
-// CCWsfDocument::NewL
-// ---------------------------------------------------------------------------
-//
-CWsfDocument* CWsfDocument::NewL( CEikApplication& aApp )
-    {
-    CWsfDocument* self = NewLC( aApp );
-    CleanupStack::Pop( self );
-    return self;
-    }
-
-// ---------------------------------------------------------------------------
-// CCWsfDocument::NewLC
-// ---------------------------------------------------------------------------
-//
-CWsfDocument* CWsfDocument::NewLC( CEikApplication& aApp )
-    {
-    CWsfDocument* self = new ( ELeave ) CWsfDocument( aApp );
-    CleanupStack::PushL( self );
-    self->ConstructL();
-    return self;
-    }
-
-// ---------------------------------------------------------------------------
-// CCWsfDocument::ConstructL
-// ---------------------------------------------------------------------------
-//
-void CWsfDocument::ConstructL()
-    {
-    iModel = CWsfModel::NewL( iMainController, EFalse );
-    iModel->SetEngineObserver( &iMainController );
-    iWlanInfoBranding = CWsfWlanInfoArrayVisitor::NewL( EFalse );
-    iWlanInfoBranding->LoadFilterDefinitionsL();
-    }    
-
-// ---------------------------------------------------------------------------
-// CCWsfDocument::CWsfDocument
-// ---------------------------------------------------------------------------
-//
-CWsfDocument::CWsfDocument( CEikApplication& aApp ) : CAknDocument( aApp ) 
-    {
-    // no implementation required
-    }
-
-// ---------------------------------------------------------------------------
-// CCWsfDocument::~CWsfDocument
-// ---------------------------------------------------------------------------
-//
-CWsfDocument::~CWsfDocument()
-    {
-    delete iWlanInfoBranding;
-    delete iModel;
-    }
-
-// ---------------------------------------------------------------------------
-// CCWsfDocument::CreateAppUiL
-// ---------------------------------------------------------------------------
-//
-CEikAppUi* CWsfDocument::CreateAppUiL()
-    {
-    // Create the application user interface, and return a pointer to it,
-    // the framework takes ownership of this object
-    CWsfAppUi* appUi = new ( ELeave ) CWsfAppUi;
-    appUi->SetUiObserver( &iMainController );
-        
-    // Give references to main controller.
-    iMainController.Initialize( *appUi, *iModel, *iWlanInfoBranding );   
-    
-    return appUi;
-    }
-