controlpanelui/examples/pluginlauncherclient/src/main.cpp
branchRCL_3
changeset 13 90fe62538f66
equal deleted inserted replaced
12:3fec62e6e7fc 13:90fe62538f66
       
     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 <hbapplication.h>
       
    19 #include <QDir>
       
    20 #include <hbmainwindow.h>
       
    21 #include <hbstyleloader.h>
       
    22 #include "mainview.h"
       
    23 
       
    24 int main(int argc, char **argv)
       
    25 {
       
    26     HbApplication app(argc, argv);
       
    27     
       
    28     HbStyleLoader::registerFilePath(":/widgetml/cpdataformlistentryviewitem.css");
       
    29     HbStyleLoader::registerFilePath(":/widgetml/cpdataformlistentryviewitem_color.css");
       
    30     HbStyleLoader::registerFilePath(":/widgetml/cpdataformlistentryviewitem.widgetml");
       
    31     
       
    32     HbMainWindow mainWindow;
       
    33     MainView *mainView = new MainView();
       
    34     mainWindow.addView(mainView);
       
    35     mainWindow.show();
       
    36     
       
    37     return app.exec();
       
    38 }
       
    39 
       
    40 //End of File
       
    41