logsui/logsapp/src/main.cpp
changeset 21 2f0af9ba7665
parent 18 acd4e87b24b4
equal deleted inserted replaced
18:acd4e87b24b4 21:2f0af9ba7665
    18 #include "logsappsettings.h"
    18 #include "logsappsettings.h"
    19 #include "logsapplication.h"
    19 #include "logsapplication.h"
    20 #include "logsmainwindow.h"
    20 #include "logsmainwindow.h"
    21 #include "logsviewmanager.h"
    21 #include "logsviewmanager.h"
    22 #include "logsservicehandler.h"
    22 #include "logsservicehandler.h"
    23 #include "logsservicehandlerold.h"
       
    24 #include "logslogger.h"
    23 #include "logslogger.h"
    25 #include "logsdefs.h"
    24 #include "logsdefs.h"
    26 
    25 
    27 //SYSTEM
    26 //SYSTEM
    28 #include <QObject>
    27 #include <QObject>
    74     // Create service handler asap so that services are published fast.
    73     // Create service handler asap so that services are published fast.
    75     // Servicehandler cannot be created before HbApplication creation.
    74     // Servicehandler cannot be created before HbApplication creation.
    76     // This can cause problem of service request not coming through if
    75     // This can cause problem of service request not coming through if
    77     // HbApplication creation takes long time.
    76     // HbApplication creation takes long time.
    78     LogsServiceHandler service;
    77     LogsServiceHandler service;
    79     LogsServiceHandlerOld serviceOld;
    78     LogsViewManager viewManager(window, service, appSettings);
    80     LogsViewManager viewManager(window, service, serviceOld, appSettings);
       
    81     
    79     
    82     // Don't show window yet as app might be started at background
    80     // Don't show window yet as app might be started at background
    83     int err = app.exec();
    81     int err = app.exec();
    84     
    82     
    85     HbStyleLoader::unregisterFilePath(":/logslayouts");
    83     HbStyleLoader::unregisterFilePath(":/logslayouts");