devicediagnostics/devdiagapp/src/devdiagappdocument.cpp
changeset 18 7d11f9a6646f
parent 4 75a71fdb4c92
child 21 c707676bf59f
--- a/devicediagnostics/devdiagapp/src/devdiagappdocument.cpp	Tue Feb 02 00:03:17 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,75 +0,0 @@
-/*
-* Copyright (c) 2007 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 diagnostics components
-*
-*/
-
-
-
-#include "devdiagappappui.h"
-#include "devdiagappdocument.h"
-#include "devdiagengine.h"
-
-// Standard Symbian OS construction sequence
-CDevDiagAppDocument* CDevDiagAppDocument::NewL(CEikApplication& aApp)
-    {
-    //LOGSTRING("CDevDiagAppDocument* CDevDiagAppDocument::NewL");
-    CDevDiagAppDocument* self = NewLC(aApp);
-    CleanupStack::Pop(self);
-    return self;
-    }
-
-CDevDiagAppDocument* CDevDiagAppDocument::NewLC(CEikApplication& aApp)
-    {
-    //LOGSTRING("CDevDiagAppDocument* CDevDiagAppDocument::NewLC");
-    CDevDiagAppDocument* self = new (ELeave) CDevDiagAppDocument(aApp);
-    CleanupStack::PushL(self);
-    self->ConstructL();
-    return self;
-    }
-
-void CDevDiagAppDocument::ConstructL()
-    {
-	iEngine = CDevDiagEngine::NewL();
-    }    
-
-CDevDiagAppDocument::CDevDiagAppDocument(CEikApplication& aApp) : CAknDocument(aApp) 
-    {
-    }
-
-CDevDiagAppDocument::~CDevDiagAppDocument()
-    {
-	if ( iEngine )    
-        {
-        delete iEngine;
-        iEngine = NULL;
-        } 
-    }
-
-CEikAppUi* CDevDiagAppDocument::CreateAppUiL()
-    {
-    // Create the application user interface, and return a pointer to it,
-    // the framework takes ownership of this object
-    //LOGSTRING("CDevDiagAppDocument::CreateAppUiL");
-    CEikAppUi* appUi = new (ELeave) CDevDiagAppAppUi;
-    return appUi;
-    }
-
-
-CDevDiagEngine& CDevDiagAppDocument::Engine()
-    {
-    //LOGSTRING("CDevDiagEngine& CDevDiagAppDocument::Engine");
-    return *iEngine;
-    }
-///@@@KSR: changes for BAD Warnings - Added a new Line.