perfmon/ui/hb/app/src/main.cpp
branchRCL_3
changeset 22 fad26422216a
parent 21 b3cee849fa46
child 23 f8280f3bfeb7
--- a/perfmon/ui/hb/app/src/main.cpp	Tue Aug 31 15:15:20 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,48 +0,0 @@
-/*
-* Copyright (c) 2010 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: 
-*
-*/
-
-#include <QMessageBox>
-
-#include "application.h"
-#include "enginewrapper.h"
-#include "mainwindow.h"
-#include "datapopup.h"
-
-int main(int argc, char *argv[])
-{
-    Application app(argc, argv);
-	
-    EngineWrapper engine;
-    if (!engine.initialize())
-    {
-        QMessageBox::critical(0, QObject::tr("Error"), QObject::tr("Unable to initialize engine. Application will now quit."));
-        return 1;
-    }
-
-    MainWindow window(engine);
-	window.show();
-
-//    DataPopup dataPopup(engine);
-
-//    QObject::connect(&app, SIGNAL(foregroundEvent(bool)),
-//                     &dataPopup, SLOT(updateVisibility(bool)));
-
-    // TODO: pass false if run in background
-//    dataPopup.updateVisibility(true);
-
-    return app.exec();
-}