calendarui/calenviewerservice/src/main.cpp
changeset 45 b6db4fd4947b
equal deleted inserted replaced
23:fd30d51f876b 45:b6db4fd4947b
       
     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:  main implementation.
       
    15 *
       
    16 */
       
    17 
       
    18 // System includes
       
    19 #include <hbapplication.h>
       
    20 #include <hbmainwindow.h>
       
    21 
       
    22 // User includes
       
    23 #include "calenviewerservice.h"
       
    24 #include "OstTraceDefinitions.h"
       
    25 #ifdef OST_TRACE_COMPILER_IN_USE
       
    26 #include "mainTraces.h"
       
    27 #endif
       
    28 
       
    29 
       
    30 int main (int argc, char *argv[])
       
    31 {
       
    32     OstTraceFunctionEntry0( _MAIN_ENTRY );
       
    33     
       
    34     HbApplication app(argc, argv);
       
    35 	HbMainWindow mainWindow;
       
    36 	
       
    37 	// Create the service provider
       
    38 	CalenViewerService service;
       
    39 	
       
    40 	mainWindow.show();
       
    41 	
       
    42 	int retVal = app.exec();
       
    43 	
       
    44 	OstTraceFunctionExit0( _MAIN_EXIT );
       
    45 	
       
    46 	return retVal;
       
    47 }