screengrabber/src/main.cpp
branchRCL_3
changeset 22 fad26422216a
parent 21 b3cee849fa46
child 23 f8280f3bfeb7
--- a/screengrabber/src/main.cpp	Tue Aug 31 15:15:20 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,68 +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 <QtGui/QMessageBox>
-
-#include <hbmainwindow.h>
-#include <hbview.h>
-#include <hbmessagebox.h>
-#include <coecntrl.h>
-
-#include "mainview.h"
-#include "application.h"
-#include "enginewrapper.h"
-#include "settingsview.h"
-
-
-
-int main(int argc, char *argv[])
-{
-    
-    SGApplication app(argc, argv);
-	
-    EngineWrapper engineWrapper;
-	app.SetEngineWrapper(&engineWrapper);
-    if (!engineWrapper.init()) {
-      return EXIT_FAILURE;
-    }
-
-	
-	
-    HbMainWindow mainWindow;
-    
-    //Create main view
-    MainView* view = new MainView(mainWindow, engineWrapper);
-    //initialize main view
-    view->init(app);
-
-	
-    SettingsView* settingsView = new SettingsView(*view, mainWindow, engineWrapper);
-	
-	view->setSettingsView(settingsView);
-    
-	// Add Views to main window and reveal it.
-    mainWindow.addView(view);
-    mainWindow.addView(settingsView);
-
-    
-    mainWindow.show();
-     
-    int result = app.exec();
-   
-    return result;
-}
-