activityfw/activityserviceplugin/symbianinstaller/activityserviceinstaller/activityserviceinstaller.cpp
changeset 66 32469d7d46ff
parent 61 8e5041d13c84
equal deleted inserted replaced
61:8e5041d13c84 66:32469d7d46ff
     9 * Initial Contributors:
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description: 
    14 * Description:
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 #include <qservicemanager.h>
    18 #include <qservicemanager.h>
    19 #include <QCoreApplication>
    19 #include <QCoreApplication>
    24 {
    24 {
    25     QCoreApplication app(argc, argv);
    25     QCoreApplication app(argc, argv);
    26 
    26 
    27     QServiceManager manager;
    27     QServiceManager manager;
    28     bool ok = manager.addService(":/activityserviceplugin.xml");
    28     bool ok = manager.addService(":/activityserviceplugin.xml");
    29     if ( !ok )
    29     if (!ok) {
    30     {
    30         int err = manager.error();
    31     int err = manager.error();    
    31         qFatal("%d ini", err);
    32     qFatal("%d ini", err);
       
    33     }
    32     }
    34 }
    33 }