controlpanelui/examples/pluginlauncherclient/src/main.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 02 Sep 2010 20:27:31 +0300
changeset 37 cb294e641644
parent 25 19394c261aa5
permissions -rw-r--r--
Revision: 201033 Kit: 201035

/*
* 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:  
*
*/

#include <hbapplication.h>
#include <QDir>
#include <hbmainwindow.h>
#include <hbstyleloader.h>
#include "mainview.h"

int main(int argc, char **argv)
{
    HbApplication app(argc, argv);
    
    HbStyleLoader::registerFilePath(":/widgetml/cpdataformlistentryviewitem.css");
    HbStyleLoader::registerFilePath(":/widgetml/cpdataformlistentryviewitem_color.css");
    HbStyleLoader::registerFilePath(":/widgetml/cpdataformlistentryviewitem.widgetml");
    
    HbMainWindow mainWindow;
    MainView *mainView = new MainView();
    mainWindow.addView(mainView);
    mainWindow.show();
    
    return app.exec();
}

//End of File