logsui/tsrc/logsengineapitester/src/main.cpp
changeset 0 4a5361db8937
equal deleted inserted replaced
-1:000000000000 0:4a5361db8937
       
     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 <QDebug>
       
    21 #include "logsengineapitester.h"
       
    22 
       
    23 int main(int argc, char **argv)
       
    24 {
       
    25         
       
    26     qDebug() << "LogsEngineApiTester::main ->";
       
    27     
       
    28     
       
    29     HbApplication app(argc, argv);
       
    30 
       
    31     HbMainWindow mainWindow;
       
    32 
       
    33     TestView testView;
       
    34     mainWindow.addView(&testView);
       
    35     
       
    36     // Show widget
       
    37     mainWindow.show();
       
    38     
       
    39     // Enter event loop
       
    40     int err = app.exec();
       
    41     qDebug() << "LogsEngineApiTester::main <-";
       
    42     return err;
       
    43 }
       
    44