phoneengine/networkhandlingstarter/src/main.cpp
changeset 37 ba76fc04e6c2
child 45 6b911d05207e
equal deleted inserted replaced
36:2eacb6118286 37:ba76fc04e6c2
       
     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 <QLocale>
       
    18 #include <hbtranslator.h>
       
    19 #include <hbapplication.h>
       
    20 #include <hbmainwindow.h>
       
    21 #include <networkhandlingstarter.h>
       
    22 
       
    23 /*!
       
    24     main.
       
    25  */
       
    26 int main(int argc, char **argv)
       
    27 {
       
    28     HbApplication app(argc, argv);
       
    29     
       
    30     // Load translators
       
    31     HbTranslator *commonTranslator = new HbTranslator("common");
       
    32     HbTranslator *control_panelTranslator = new HbTranslator("control_panel");
       
    33     HbTranslator *telephone_cpTranslator = new HbTranslator("telephone_cp"); 
       
    34     
       
    35     HbMainWindow mainWindow;
       
    36     NetworkHandlingStarter service;
       
    37     int err = app.exec();
       
    38     
       
    39     delete commonTranslator;
       
    40     delete control_panelTranslator;
       
    41     delete telephone_cpTranslator;
       
    42     
       
    43     return err;
       
    44 }
       
    45