devicediagnostics/devdiagapp/src/devdiagappappui.cpp
changeset 18 7d11f9a6646f
parent 4 75a71fdb4c92
child 21 c707676bf59f
--- a/devicediagnostics/devdiagapp/src/devdiagappappui.cpp	Tue Feb 02 00:03:17 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,88 +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:  Application UI class implementation.
-*
-*/
-
-
-#include <avkon.hrh>
-#include "devdiag.pan"
-#include "devdiagappappui.h"
-#include "devdiagsuiteview.h"
-#include "devdiagapp.hrh"
-#include "devdiagappdocument.h"
-
-// ---------------------------------------------------------------------------
-// ConstructL is called by the application framework
-// ---------------------------------------------------------------------------
-void CDevDiagAppAppUi::ConstructL()
-    {
-    //LOGSTRING("CDevDiagAppAppUi::ConstructL");
-    BaseConstructL( EAknEnableSkin | EAknEnableMSK );
-    
-    // Get the document so we can access the application engine.
-    CDevDiagAppDocument* document = static_cast< CDevDiagAppDocument* > 
-                                                    ( Document() );
-    //Plugin view is created by the suite view.
-    iSuiteView = CDevDiagSuiteView::NewL( document->Engine() );  
-          
-    AddViewL( iSuiteView );
-    
-    SetDefaultViewL( *iSuiteView );
-    }
-
-// ---------------------------------------------------------------------------
-// Constructor.
-// ---------------------------------------------------------------------------
-CDevDiagAppAppUi::CDevDiagAppAppUi()                              
-    {
-
-    }
-
-// ---------------------------------------------------------------------------
-// Destructor.
-// ---------------------------------------------------------------------------
-CDevDiagAppAppUi::~CDevDiagAppAppUi()
-    {
-
-    }
-
-// ---------------------------------------------------------------------------
-// handle any menu commands.
-// ---------------------------------------------------------------------------
-
-void CDevDiagAppAppUi::HandleCommandL(TInt aCommand)
-    {
-    switch(aCommand)
-        {
-        case EAknSoftkeyBack:
-           {
-           Exit();     
-
-           break;
-           }
-        
-        case EEikCmdExit:
-        case EAknSoftkeyExit:
-            Exit();
-            break;
-
-        default:
-            Panic(EDevDiagApplicationUnhandledCommand);
-            break;
-        }
-    }
-
-
-