radioapp/radioapplication/src/main.cpp
changeset 13 46974bebc798
child 14 63aabac4416d
equal deleted inserted replaced
0:f3d95d9c00ab 13:46974bebc798
       
     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 "radioapplication.h"
       
    19 #include "radiologger.h"
       
    20 
       
    21 /*!
       
    22  * Runs the application
       
    23  */
       
    24 int main( int argc, char* argv[] )
       
    25 {
       
    26     INSTALL_MESSAGE_HANDLER // Installs the file tracer if enabled
       
    27 
       
    28     LOG_TIMESTAMP( "Tesla started" );
       
    29 
       
    30     RadioApplication app( argc, argv );
       
    31     int returnValue = app.exec();
       
    32 
       
    33     UNINSTALL_MESSAGE_HANDLER // Uninstalls the file tracer
       
    34 
       
    35     return returnValue;
       
    36 }