messagingapp/shareui/tsrc/testshareui/src/main.cpp
changeset 27 e4592d119491
equal deleted inserted replaced
25:84d9eb65b26f 27:e4592d119491
       
     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:  Offers message creation and sending services.
       
    15  *
       
    16 */
       
    17 
       
    18 #include <hbapplication.h>
       
    19 #include <hbmainwindow.h>
       
    20 #include "testshareuimainwindow.h"
       
    21 
       
    22 int main(int argc, char *argv[])
       
    23 {
       
    24     // Application
       
    25     HbApplication app(argc, argv);
       
    26 
       
    27     TestShareUiMainWindow* mainWin = new TestShareUiMainWindow();
       
    28     mainWin->init();
       
    29     mainWin->show();
       
    30     // Event loop
       
    31     int error = app.exec();
       
    32 
       
    33     // delete main window and return error
       
    34     delete mainWin;
       
    35     return error;
       
    36 }
       
    37 
       
    38 // End of file