radioapp/radioapplication/src/main.cpp
branchRCL_3
changeset 19 cce62ebc198e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/radioapp/radioapplication/src/main.cpp	Tue Aug 31 15:15:02 2010 +0300
@@ -0,0 +1,44 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+// System includes
+#include <HbTranslator>
+
+// User includes
+#include "radioapplication.h"
+#include "radiologger.h"
+
+
+/*!
+ * Runs the application
+ */
+int main( int argc, char* argv[] )
+{
+    INSTALL_MESSAGE_HANDLER // Installs the file tracer if enabled
+
+    LOG_TIMESTAMP( "Tesla started" );
+
+    RadioApplication app( argc, argv );
+
+    HbTranslator translator;
+
+    const int returnValue = app.exec();
+
+    UNINSTALL_MESSAGE_HANDLER // Uninstalls the file tracer
+
+    return returnValue;
+}