videocollection/tsrc/videoservicestestapp/src/main.cpp
changeset 39 f6d44a0cd476
equal deleted inserted replaced
38:ff53afa8ad05 39:f6d44a0cd476
       
     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 
       
    18 #include <hbapplication.h>
       
    19 #include <hbmainwindow.h>
       
    20 #include "videoservicestestappview.h"
       
    21 
       
    22 int main(int argc, char *argv[])
       
    23 {
       
    24     QCoreApplication::setOrganizationName("Nokia");
       
    25     QCoreApplication::setApplicationName("VideoServicesTestApp");
       
    26 
       
    27     HbApplication app(argc, argv);
       
    28     HbMainWindow mainWindow( 0, Hb::WindowFlagTransparent );
       
    29     mainWindow.setAttribute( Qt::WA_OpaquePaintEvent );
       
    30     VideoServicesTestAppView *mainView = new VideoServicesTestAppView;
       
    31     mainWindow.addView(mainView);
       
    32     mainWindow.show();
       
    33     return app.exec();
       
    34 }