taskswitcher/testapplications/parentembedded/parent/main.cpp
changeset 117 c63ee96dbe5f
equal deleted inserted replaced
115:3ab5c078b490 117:c63ee96dbe5f
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 #include <hbapplication.h>
       
    18 #include <hbmainwindow.h>
       
    19 #include <hbview.h>
       
    20 #include "lunchwidget.h"
       
    21 
       
    22 
       
    23 int main(int argc, char **argv)
       
    24 {
       
    25     HbApplication app(argc, argv);
       
    26     lunchwidget* lw = new lunchwidget;
       
    27     HbMainWindow mainWindow;
       
    28     mainWindow.addView( lw );
       
    29     mainWindow.currentView()->setTitle("Parent");
       
    30     mainWindow.show();
       
    31     RProcess::Rendezvous(KErrNone);
       
    32     return app.exec();    
       
    33 }